Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 51.92 kB / 370.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2628, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02799/0.2908, allocations: 21.43 MB / 444.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01776/0.3085, allocations: 7.534 MB / 452.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005267/0.3138, allocations: 218.9 kB / 452.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02081/0.3346, allocations: 7.818 MB / 460.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.3455, allocations: 3.042 MB / 463.2 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006041/0.3515, allocations: 1.804 MB / 465 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01759/0.3691, allocations: 11.22 MB / 476.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03266/0.4018, allocations: 14.45 MB / 490.6 MB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01038/0.4121, allocations: 6.063 MB / 496.7 MB, free: 4.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.4233, allocations: 6.233 MB / 0.4912 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004431/0.4277, allocations: 1.715 MB / 0.4928 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006462/0.4342, allocations: 2.117 MB / 0.4949 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00577/0.44, allocations: 3.398 MB / 0.4982 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01016/0.4501, allocations: 4.903 MB / 0.503 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03154/0.4817, allocations: 23.26 MB / 0.5257 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4817, allocations: 4 kB / 0.5257 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4817, allocations: 4 kB / 0.5257 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006023/0.4823, allocations: 0 / 0.5257 GB, free: 10.79 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.4429/0.9251, allocations: 13.53 MB / 0.5389 GB, free: 93.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.9252, allocations: 8.25 kB / 0.5389 GB, free: 93.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03452/0.9597, allocations: 6.326 MB / 0.5451 GB, free: 92.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/0.9749, allocations: 7.338 MB / 0.5523 GB, free: 86.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005412/0.9754, allocations: 0.7144 MB / 0.553 GB, free: 85.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003687/0.9791, allocations: 0.9448 MB / 0.5539 GB, free: 84.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03589/1.015, allocations: 16.28 MB / 0.5698 GB, free: 68.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003203/1.015, allocations: 23.89 kB / 0.5698 GB, free: 68.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003269/1.019, allocations: 403.6 kB / 0.5702 GB, free: 68.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004401/1.019, allocations: 0.5602 MB / 0.5708 GB, free: 67.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02866/1.048, allocations: 15.04 MB / 0.5854 GB, free: 52.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07368/1.121, allocations: 45.33 MB / 0.6297 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/1.135, allocations: 8.514 MB / 0.638 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006194/1.141, allocations: 3.313 MB / 0.6413 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/1.142, allocations: 91.44 kB / 0.6413 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.087e-05/1.142, allocations: 78.06 kB / 0.6414 GB, free: 11.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 7.163e-06/1.142, allocations: 0 / 0.6414 GB, free: 11.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.05335/1.195, allocations: 20.28 MB / 0.6612 GB, free: 7.387 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/1.195, allocations: 102.9 kB / 0.6613 GB, free: 7.273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00685/1.202, allocations: 4.403 MB / 0.6656 GB, free: 2.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000735/1.203, allocations: 97.7 kB / 0.6657 GB, free: 2.785 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003748/1.207, allocations: 4.333 MB / 0.67 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00223/1.209, allocations: 1.615 MB / 0.6715 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00211/1.211, allocations: 1.196 MB / 0.6727 GB, free: 11.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/1.211, allocations: 312.9 kB / 0.673 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005436/1.216, allocations: 3.057 MB / 0.676 GB, free: 8.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007611/1.224, allocations: 5.227 MB / 0.6811 GB, free: 2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/1.239, allocations: 8.852 MB / 0.6897 GB, free: 8.176 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.653e-05/1.239, allocations: 20 kB / 0.6898 GB, free: 8.156 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01929/1.258, allocations: 9.798 MB / 0.6993 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.918e-05/1.258, allocations: 36 kB / 0.6994 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/1.258, allocations: 68 kB / 0.6994 GB, free: 14.23 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003923/1.262, allocations: 1.375 MB / 0.7008 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005785/1.268, allocations: 1.381 MB / 0.7021 GB, free: 11.47 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/1.288, allocations: 12.05 MB / 0.7139 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/1.292, allocations: 355.6 kB / 0.7142 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.293, allocations: 296 kB / 0.7145 GB, free: 14.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009975/1.303, allocations: 3.88 MB / 0.7183 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002371/1.306, allocations: 468.9 kB / 0.7187 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/1.322, allocations: 8.419 MB / 0.727 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01168/1.334, allocations: 6.178 MB / 0.733 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/1.334, allocations: 15.98 kB / 0.733 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-05/1.334, allocations: 19.92 kB / 0.733 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2787/1.613, allocations: 14.92 MB / 0.7476 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/1.613, allocations: 10.66 kB / 0.7476 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003453/1.616, allocations: 0.8063 MB / 0.7484 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/1.619, allocations: 1.259 MB / 0.7496 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007105/1.62, allocations: 98.36 kB / 0.7497 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/1.633, allocations: 10.97 MB / 0.7604 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.633, allocations: 7.781 kB / 0.7604 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01711/1.65, allocations: 11.12 MB / 0.7713 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003702/1.654, allocations: 1.027 MB / 0.7723 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.655, allocations: 91.19 kB / 0.7724 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/1.658, allocations: 231.9 kB / 0.7726 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006886/1.658, allocations: 347.6 kB / 0.7729 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/1.659, allocations: 137.9 kB / 0.7731 GB, free: 172.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003906/1.662, allocations: 2.944 MB / 0.7759 GB, free: 171.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.662, allocations: 0 / 0.7759 GB, free: 171.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005862/1.668, allocations: 1.715 MB / 0.7776 GB, free: 170.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (417): * Single equations (assignments): 414 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002144/1.67, allocations: 0.5697 MB / 0.7782 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.682, allocations: 7.638 MB / 0.7856 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.682, allocations: 4 kB / 0.7856 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005928/1.688, allocations: 3.669 MB / 0.7892 GB, free: 160.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0048/1.693, allocations: 0.955 MB / 0.7901 GB, free: 159.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02732/1.72, allocations: 18.39 MB / 0.8081 GB, free: 141.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0069/1.727, allocations: 6.062 MB / 0.814 GB, free: 135.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005741/1.733, allocations: 2.09 MB / 0.8161 GB, free: 133.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.734, allocations: 371.4 kB / 0.8164 GB, free: 133.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.322e-06/1.734, allocations: 0 / 0.8164 GB, free: 133.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1081/1.842, allocations: 75.58 MB / 0.8902 GB, free: 58.46 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.067468969151378]