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.IMC_withLosses.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.001217/0.001217, allocations: 82.92 kB / 22 MB, free: 5.18 MB / 14.72 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.001376/0.001376, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 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 1.265/1.265, allocations: 158.6 MB / 187 MB, free: 6.234 MB / 174.1 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.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 55.92 kB / 299.4 MB, free: 6.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.209, allocations: 49.14 MB / 348.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02581/0.2349, allocations: 21.52 MB / 370.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.2494, allocations: 7.437 MB / 377.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003501/0.2529, allocations: 187 kB / 377.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01982/0.2727, allocations: 8.238 MB / 385.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.2833, allocations: 3.082 MB / 389 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.2887, allocations: 1.793 MB / 390.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01586/0.3045, allocations: 11.32 MB / 402.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02624/0.3308, allocations: 14.53 MB / 416.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008784/0.3396, allocations: 6.137 MB / 422.8 MB, free: 4.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.3501, allocations: 6.33 MB / 429.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003699/0.3538, allocations: 1.723 MB / 430.9 MB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005456/0.3593, allocations: 2.113 MB / 433 MB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004705/0.364, allocations: 3.468 MB / 436.4 MB, free: 7.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008517/0.3725, allocations: 4.973 MB / 441.4 MB, free: 2.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02702/0.3995, allocations: 23.29 MB / 464.7 MB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3995, allocations: 0 / 464.7 MB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3995, allocations: 0 / 464.7 MB, free: 10.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000484/0.4, allocations: 0 / 464.7 MB, free: 10.85 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.3493/0.7493, allocations: 13.71 MB / 478.4 MB, free: 94.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.7493, allocations: 13.58 kB / 478.4 MB, free: 94.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0389/0.7882, allocations: 7.307 MB / 485.7 MB, free: 93.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/0.8006, allocations: 6.59 MB / 492.3 MB, free: 86.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004763/0.8011, allocations: 0.7262 MB / 493.1 MB, free: 86.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003175/0.8043, allocations: 0.9561 MB / 494 MB, free: 85.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03133/0.8356, allocations: 16.75 MB / 0.4988 GB, free: 68.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00025/0.8358, allocations: 7.953 kB / 0.4988 GB, free: 68.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001652/0.8375, allocations: 407.2 kB / 0.4992 GB, free: 68.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004056/0.8379, allocations: 0.5908 MB / 0.4998 GB, free: 67.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02551/0.8634, allocations: 15.71 MB / 0.5151 GB, free: 51.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06718/0.9306, allocations: 46.32 MB / 0.5603 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/0.9465, allocations: 9.315 MB / 0.5694 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006471/0.9529, allocations: 3.46 MB / 0.5728 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03105/0.984, allocations: 10.13 MB / 0.5827 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.538e-05/0.9841, allocations: 73.3 kB / 0.5828 GB, free: 15.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=357): time 9.838e-06/0.9841, allocations: 0 / 0.5828 GB, free: 15.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=362): time 0.0559/1.04, allocations: 17.17 MB / 0.5996 GB, free: 13.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/1.04, allocations: 86.25 kB / 0.5996 GB, free: 13.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008625/1.049, allocations: 4.684 MB / 0.6042 GB, free: 9.141 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006443/1.049, allocations: 85.7 kB / 0.6043 GB, free: 9.051 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004003/1.053, allocations: 4.642 MB / 0.6088 GB, free: 4.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001861/1.055, allocations: 1.309 MB / 0.6101 GB, free: 3.047 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003232/1.058, allocations: 1.199 MB / 0.6113 GB, free: 1.836 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/1.059, allocations: 301.1 kB / 0.6116 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005449/1.064, allocations: 2.893 MB / 0.6144 GB, free: 14.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007734/1.072, allocations: 5.283 MB / 0.6195 GB, free: 8.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/1.086, allocations: 8.628 MB / 0.628 GB, free: 14.5 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.688e-05/1.086, allocations: 24 kB / 0.628 GB, free: 14.48 MB / 0.4982 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02058/1.106, allocations: 9.551 MB / 0.6373 GB, free: 4.895 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/1.106, allocations: 40 kB / 0.6374 GB, free: 4.855 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/1.107, allocations: 76 kB / 0.6374 GB, free: 4.781 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004123/1.111, allocations: 1.402 MB / 0.6388 GB, free: 3.371 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00547/1.116, allocations: 1.33 MB / 0.6401 GB, free: 2.039 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/1.136, allocations: 12.06 MB / 0.6519 GB, free: 5.77 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00491/1.141, allocations: 371.6 kB / 0.6522 GB, free: 5.406 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.142, allocations: 300 kB / 0.6525 GB, free: 5.113 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00766/1.15, allocations: 3.923 MB / 0.6564 GB, free: 1.176 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.151, allocations: 453.1 kB / 0.6568 GB, free: 0.7305 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/1.166, allocations: 6.674 MB / 0.6633 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01076/1.177, allocations: 5.518 MB / 0.6687 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.028e-05/1.177, allocations: 12 kB / 0.6687 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.774e-05/1.177, allocations: 19.92 kB / 0.6687 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2005/1.377, allocations: 13.03 MB / 0.6814 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/1.377, allocations: 7.812 kB / 0.6815 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/1.38, allocations: 0.6669 MB / 0.6821 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002879/1.383, allocations: 1.264 MB / 0.6833 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002886/1.383, allocations: 90.86 kB / 0.6834 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/1.395, allocations: 10.96 MB / 0.6941 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.395, allocations: 3.719 kB / 0.6941 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/1.408, allocations: 9.932 MB / 0.7038 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.411, allocations: 0.9537 MB / 0.7048 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006/1.411, allocations: 74.02 kB / 0.7048 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.413, allocations: 220.3 kB / 0.705 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005792/1.414, allocations: 286.3 kB / 0.7053 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.414, allocations: 118 kB / 0.7054 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003562/1.418, allocations: 3.066 MB / 0.7084 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.418, allocations: 0 / 0.7084 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005229/1.423, allocations: 1.681 MB / 0.7101 GB, free: 168.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/1.425, allocations: 0.5202 MB / 0.7106 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.435, allocations: 7.199 MB / 0.7176 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.435, allocations: 7.938 kB / 0.7176 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005191/1.44, allocations: 3.355 MB / 0.7209 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/1.444, allocations: 0.9302 MB / 0.7218 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/1.47, allocations: 18.14 MB / 0.7395 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005706/1.475, allocations: 6.117 MB / 0.7455 GB, free: 134 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004673/1.48, allocations: 2.108 MB / 0.7475 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009231/1.481, allocations: 344.4 kB / 0.7479 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/1.481, allocations: 0 / 0.7479 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.09643/1.577, allocations: 62.09 MB / 0.8085 GB, free: 69.46 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.353268760023639]