Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009794/0.0009794, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9465/0.9465, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.445e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1472/0.1472, allocations: 23.33 MB / 296.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.1621, allocations: 7.716 MB / 304.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005703/0.1678, allocations: 222.7 kB / 304.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01275/0.1806, allocations: 9.283 MB / 314 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.1908, allocations: 3.027 MB / 317 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004934/0.1957, allocations: 1.746 MB / 318.8 MB, free: 3.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01426/0.21, allocations: 11.3 MB / 330.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02329/0.2333, allocations: 14.63 MB / 344.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01731/0.2506, allocations: 8.721 MB / 353.4 MB, free: 1.711 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01433/0.2649, allocations: 6.289 MB / 359.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005188/0.2701, allocations: 1.672 MB / 361.4 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006621/0.2767, allocations: 2.073 MB / 363.5 MB, free: 7.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00548/0.2822, allocations: 3.269 MB / 366.7 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009648/0.2919, allocations: 4.129 MB / 370.9 MB, free: 252 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.3068, allocations: 10.4 MB / 381.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3068, allocations: 0 / 381.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3068, allocations: 0 / 381.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004748/0.3073, allocations: 0 / 381.3 MB, free: 5.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.02238/0.3297, allocations: 11.89 MB / 393.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.3297, allocations: 19.92 kB / 393.2 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02264/0.3524, allocations: 6.314 MB / 399.5 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008524/0.3609, allocations: 3.607 MB / 403.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00056/0.3615, allocations: 0.7024 MB / 403.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003285/0.3647, allocations: 0.914 MB / 404.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.3865, allocations: 7.763 MB / 412.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003289/0.3868, allocations: 15.92 kB / 412.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002517/0.3893, allocations: 391.9 kB / 412.9 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004497/0.3898, allocations: 0.5547 MB / 413.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.4039, allocations: 3.982 MB / 417.4 MB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3155/0.7195, allocations: 30.72 MB / 448.1 MB, free: 72.34 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007032/0.7265, allocations: 5.345 MB / 453.5 MB, free: 71.91 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.7282, allocations: 1.013 MB / 454.5 MB, free: 71.86 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.7285, allocations: 122.1 kB / 454.6 MB, free: 71.86 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.7285, allocations: 75.72 kB / 454.7 MB, free: 71.81 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 6.833e-06/0.7285, allocations: 0 / 454.7 MB, free: 71.81 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01443/0.743, allocations: 7.757 MB / 462.4 MB, free: 70.94 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.743, allocations: 95.58 kB / 462.5 MB, free: 70.88 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.7449, allocations: 2.355 MB / 464.9 MB, free: 70.53 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.7451, allocations: 91.3 kB / 465 MB, free: 70.5 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.7462, allocations: 3.798 MB / 468.8 MB, free: 68.78 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006392/0.7468, allocations: 1.428 MB / 470.2 MB, free: 67.91 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009961/0.7478, allocations: 1.058 MB / 471.3 MB, free: 67.81 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.96e-05/0.7479, allocations: 306.3 kB / 471.6 MB, free: 67.51 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/0.7488, allocations: 0.7823 MB / 472.4 MB, free: 67.48 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.75, allocations: 2.782 MB / 475.1 MB, free: 64.87 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.7526, allocations: 4.106 MB / 479.2 MB, free: 62 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.061e-05/0.7527, allocations: 20 kB / 479.3 MB, free: 61.98 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.004742/0.7574, allocations: 3.944 MB / 483.2 MB, free: 59.19 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.7575, allocations: 40 kB / 483.2 MB, free: 59.15 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.924e-05/0.7575, allocations: 68 kB / 483.3 MB, free: 59.09 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.7594, allocations: 1.033 MB / 484.3 MB, free: 58.1 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/0.7619, allocations: 1.288 MB / 485.6 MB, free: 56.95 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.7673, allocations: 4.542 MB / 490.2 MB, free: 53.34 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/0.7704, allocations: 226.9 kB / 490.4 MB, free: 53.21 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009012/0.7713, allocations: 232 kB / 490.6 MB, free: 53.03 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002344/0.7736, allocations: 0.4962 MB / 491.1 MB, free: 52.78 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007469/0.7744, allocations: 359.9 kB / 491.5 MB, free: 52.48 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.7782, allocations: 2.738 MB / 494.2 MB, free: 50.17 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002084/0.7803, allocations: 1.779 MB / 496 MB, free: 48.43 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.7803, allocations: 12 kB / 496 MB, free: 48.42 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.7803, allocations: 19.92 kB / 496 MB, free: 48.4 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.7922, allocations: 8.239 MB / 0.4924 GB, free: 42.34 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.7922, allocations: 7.938 kB / 0.4924 GB, free: 42.33 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.7936, allocations: 0.6766 MB / 0.4931 GB, free: 41.72 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.7952, allocations: 0.9348 MB / 0.494 GB, free: 40.81 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.7954, allocations: 81.84 kB / 0.4941 GB, free: 40.79 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/0.7994, allocations: 4.168 MB / 0.4982 GB, free: 37.51 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7994, allocations: 11.47 kB / 0.4982 GB, free: 37.5 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/0.8033, allocations: 3.398 MB / 0.5015 GB, free: 34.31 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.8043, allocations: 0.5079 MB / 0.502 GB, free: 33.87 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.8046, allocations: 77.56 kB / 0.5021 GB, free: 33.85 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/0.8053, allocations: 102.5 kB / 0.5022 GB, free: 33.8 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/0.8057, allocations: 304.9 kB / 0.5025 GB, free: 33.55 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/0.8058, allocations: 86.25 kB / 0.5025 GB, free: 33.49 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.000976/0.8068, allocations: 1.077 MB / 0.5036 GB, free: 32.6 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.8068, allocations: 0 / 0.5036 GB, free: 32.6 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003467/0.8103, allocations: 1.611 MB / 0.5052 GB, free: 31.15 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003923/0.8107, allocations: 259.5 kB / 0.5054 GB, free: 31 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.8144, allocations: 3.222 MB / 0.5086 GB, free: 28.28 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001013/0.8145, allocations: 64.94 kB / 0.5086 GB, free: 28.21 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.8164, allocations: 1.693 MB / 0.5103 GB, free: 26.8 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.8186, allocations: 0.8922 MB / 0.5111 GB, free: 26.19 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/0.8374, allocations: 13.5 MB / 0.5243 GB, free: 13.48 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/0.8396, allocations: 1.84 MB / 0.5261 GB, free: 11.6 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002473/0.842, allocations: 0.6739 MB / 0.5268 GB, free: 10.92 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/0.8439, allocations: 0.8935 MB / 0.5277 GB, free: 10.02 MB / 378.8 MB Notification: Performance of SimCode: time 2.384e-06/0.8439, allocations: 0 / 0.5277 GB, free: 10.02 MB / 378.8 MB Notification: Performance of Templates: time 0.2122/1.056, allocations: 66.32 MB / 0.5924 GB, free: 128 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6694918856956065]