Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009307/0.0009307, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 162.7 kB / 25.7 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8086/0.8086, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.334e-05, allocations: 2.312 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.04239/0.0424, allocations: 25.41 MB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.05555, allocations: 8.309 MB / 285.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.05854, allocations: 202.9 kB / 285.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.06865, allocations: 9.982 MB / 295.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.07476, allocations: 3.515 MB / 299 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.07738, allocations: 1.862 MB / 300.8 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009331/0.08671, allocations: 12.82 MB / 313.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01623/0.1029, allocations: 16.41 MB / 330.1 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009121/0.1121, allocations: 9.946 MB / 340 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006254/0.1183, allocations: 7.334 MB / 347.3 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002126/0.1204, allocations: 1.844 MB / 349.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.123, allocations: 2.202 MB / 351.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1074/0.2304, allocations: 3.796 MB / 355.2 MB, free: 46.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007588/0.238, allocations: 4.741 MB / 359.9 MB, free: 46.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008622/0.2466, allocations: 11.88 MB / 371.8 MB, free: 45.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2466, allocations: 0 / 371.8 MB, free: 45.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2466, allocations: 0 / 371.8 MB, free: 45.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002114/0.2468, allocations: 0 / 371.8 MB, free: 45.35 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.01543/0.2623, allocations: 13.79 MB / 385.6 MB, free: 40.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2623, allocations: 16.39 kB / 385.6 MB, free: 40.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02294/0.2853, allocations: 9.142 MB / 394.8 MB, free: 39.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008005/0.2933, allocations: 3.487 MB / 398.2 MB, free: 37.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.2936, allocations: 0.818 MB / 399.1 MB, free: 36.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00175/0.2953, allocations: 1.084 MB / 400.1 MB, free: 35.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.3058, allocations: 9.27 MB / 409.4 MB, free: 26.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/0.306, allocations: 15.03 kB / 409.4 MB, free: 26.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008387/0.3068, allocations: 457.9 kB / 409.9 MB, free: 26.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003621/0.3072, allocations: 0.6988 MB / 410.6 MB, free: 25.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006561/0.3137, allocations: 4.957 MB / 415.5 MB, free: 20.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03419/0.3479, allocations: 35.09 MB / 450.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009483/0.3574, allocations: 8.164 MB / 458.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.3591, allocations: 1.352 MB / 460.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008325/0.3674, allocations: 5.465 MB / 465.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.3675, allocations: 77.58 kB / 465.7 MB, free: 3.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=385): time 5.471e-06/0.3675, allocations: 0 / 465.7 MB, free: 3.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=391): time 0.01664/0.3841, allocations: 8.874 MB / 474.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3841, allocations: 90.47 kB / 474.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.3863, allocations: 2.792 MB / 477.4 MB, free: 8.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.3865, allocations: 89.7 kB / 477.5 MB, free: 8.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.3881, allocations: 4.605 MB / 482.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008945/0.389, allocations: 1.405 MB / 483.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.3902, allocations: 1.166 MB / 484.7 MB, free: 1.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.3902, allocations: 301.1 kB / 485 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.3913, allocations: 0.8726 MB / 485.9 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.3937, allocations: 3.324 MB / 489.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/0.3975, allocations: 4.82 MB / 494 MB, free: 6.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.89e-05/0.3975, allocations: 24 kB / 494 MB, free: 6.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.005624/0.4031, allocations: 4.484 MB / 498.5 MB, free: 2.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.4031, allocations: 46.66 kB / 498.6 MB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.185e-05/0.4032, allocations: 88 kB / 498.7 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.4053, allocations: 1.203 MB / 499.9 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.4078, allocations: 1.314 MB / 0.4894 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1271/0.5349, allocations: 5.052 MB / 0.4944 GB, free: 99.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.5378, allocations: 252.7 kB / 0.4946 GB, free: 99.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/0.5381, allocations: 268.8 kB / 0.4949 GB, free: 99.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002006/0.5401, allocations: 0.5447 MB / 0.4954 GB, free: 99.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005282/0.5407, allocations: 387 kB / 0.4958 GB, free: 99.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/0.5443, allocations: 3.017 MB / 0.4987 GB, free: 98.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002454/0.5467, allocations: 1.872 MB / 0.5005 GB, free: 98.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5467, allocations: 12.34 kB / 0.5005 GB, free: 98.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.5468, allocations: 20.81 kB / 0.5006 GB, free: 98.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009027/0.5558, allocations: 7.894 MB / 0.5083 GB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5558, allocations: 3.875 kB / 0.5083 GB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.5571, allocations: 0.5832 MB / 0.5088 GB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.5589, allocations: 1.061 MB / 0.5099 GB, free: 98.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.5591, allocations: 76.36 kB / 0.51 GB, free: 98.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/0.5635, allocations: 4.593 MB / 0.5144 GB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5635, allocations: 0 / 0.5144 GB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.5676, allocations: 3.374 MB / 0.5177 GB, free: 96.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.5686, allocations: 0.5328 MB / 0.5183 GB, free: 96.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003475/0.569, allocations: 69.81 kB / 0.5183 GB, free: 96.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/0.5699, allocations: 114.9 kB / 0.5184 GB, free: 96.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.5702, allocations: 277.9 kB / 0.5187 GB, free: 96.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.5703, allocations: 81.12 kB / 0.5188 GB, free: 96.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00112/0.5714, allocations: 1.274 MB / 0.52 GB, free: 96.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5714, allocations: 0 / 0.52 GB, free: 96.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003665/0.5751, allocations: 1.822 MB / 0.5218 GB, free: 96.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003878/0.5755, allocations: 233.3 kB / 0.522 GB, free: 96.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003625/0.5791, allocations: 3.551 MB / 0.5255 GB, free: 95.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-05/0.5792, allocations: 71.94 kB / 0.5256 GB, free: 95.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.581, allocations: 1.743 MB / 0.5273 GB, free: 94.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.583, allocations: 0.9862 MB / 0.5282 GB, free: 93.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.5993, allocations: 15.68 MB / 0.5435 GB, free: 80.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.6009, allocations: 2.129 MB / 0.5456 GB, free: 79.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001907/0.6028, allocations: 0.7512 MB / 0.5463 GB, free: 78.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/0.6044, allocations: 0.9492 MB / 0.5473 GB, free: 77.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6044, allocations: 4 kB / 0.5473 GB, free: 77.62 MB / 394.7 MB Notification: Performance of Templates: time 0.0762/0.6806, allocations: 69.82 MB / 0.6155 GB, free: 8.215 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_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.316469133831561]