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.001354/0.001354, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.00154/0.00154, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.434/1.434, allocations: 225.6 MB / 253.3 MB, free: 13 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.001606/0.001606, allocations: 47.92 kB / 371.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2906, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03103/0.3216, allocations: 25 MB / 448.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.3394, allocations: 7.881 MB / 456.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005499/0.3449, allocations: 218.9 kB / 457 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0212/0.3661, allocations: 8.482 MB / 465.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.3774, allocations: 3.124 MB / 468.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006389/0.3838, allocations: 1.861 MB / 470.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01808/0.4019, allocations: 11.24 MB / 481.7 MB, free: 4.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03144/0.4333, allocations: 14.65 MB / 496.4 MB, free: 5.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0109/0.4442, allocations: 6.067 MB / 0.4907 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.4561, allocations: 6.526 MB / 0.4971 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004903/0.461, allocations: 1.715 MB / 0.4987 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007526/0.4685, allocations: 2.132 MB / 0.5008 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006647/0.4752, allocations: 3.406 MB / 0.5041 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0153/0.4905, allocations: 6.362 MB / 0.5104 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03342/0.5239, allocations: 23.16 MB / 0.533 GB, free: 4.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5239, allocations: 4 kB / 0.533 GB, free: 4.352 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5239, allocations: 0 / 0.533 GB, free: 4.352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006632/0.5246, allocations: 0 / 0.533 GB, free: 4.352 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.3123/0.8369, allocations: 13.54 MB / 0.5462 GB, free: 91.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.8369, allocations: 8.688 kB / 0.5462 GB, free: 91.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03365/0.8706, allocations: 6.319 MB / 0.5524 GB, free: 89.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01874/0.8893, allocations: 7.35 MB / 0.5596 GB, free: 82.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007193/0.89, allocations: 0.7183 MB / 0.5603 GB, free: 81.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004711/0.8948, allocations: 0.9448 MB / 0.5612 GB, free: 80.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04072/0.9355, allocations: 16.13 MB / 0.5769 GB, free: 64.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005066/0.936, allocations: 15.95 kB / 0.5769 GB, free: 64.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004663/0.9407, allocations: 399.5 kB / 0.5773 GB, free: 63.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007363/0.9414, allocations: 0.563 MB / 0.5779 GB, free: 63.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03001/0.9714, allocations: 15.11 MB / 0.5926 GB, free: 48.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09149/1.063, allocations: 51.34 MB / 0.6428 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01815/1.081, allocations: 8.611 MB / 0.6512 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006641/1.088, allocations: 3.313 MB / 0.6544 GB, free: 1.293 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/1.088, allocations: 111.3 kB / 0.6545 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/1.089, allocations: 78.06 kB / 0.6546 GB, free: 1.098 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 9.909e-06/1.089, allocations: 0 / 0.6546 GB, free: 1.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.06151/1.15, allocations: 20.49 MB / 0.6746 GB, free: 12.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/1.15, allocations: 98.95 kB / 0.6747 GB, free: 12.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00976/1.16, allocations: 4.497 MB / 0.6791 GB, free: 8.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008041/1.161, allocations: 97.7 kB / 0.6792 GB, free: 7.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003944/1.165, allocations: 4.337 MB / 0.6834 GB, free: 3.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002224/1.167, allocations: 1.611 MB / 0.685 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003035/1.17, allocations: 1.192 MB / 0.6862 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/1.17, allocations: 305.1 kB / 0.6864 GB, free: 444 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005348/1.175, allocations: 3.061 MB / 0.6894 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007118/1.182, allocations: 5.222 MB / 0.6945 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.196, allocations: 8.868 MB / 0.7032 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-05/1.196, allocations: 20 kB / 0.7032 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02015/1.217, allocations: 9.841 MB / 0.7128 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/1.217, allocations: 36 kB / 0.7129 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/1.217, allocations: 68.34 kB / 0.7129 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004055/1.221, allocations: 1.41 MB / 0.7143 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005931/1.227, allocations: 1.384 MB / 0.7157 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/1.249, allocations: 12.47 MB / 0.7278 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005412/1.254, allocations: 359.6 kB / 0.7282 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.255, allocations: 291.9 kB / 0.7285 GB, free: 3.203 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.01064/1.266, allocations: 3.896 MB / 0.7323 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002294/1.268, allocations: 476.9 kB / 0.7327 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/1.285, allocations: 8.476 MB / 0.741 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01087/1.296, allocations: 6.205 MB / 0.747 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/1.296, allocations: 12 kB / 0.7471 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.223e-05/1.296, allocations: 27.84 kB / 0.7471 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5489/1.845, allocations: 17.4 MB / 0.7641 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/1.845, allocations: 7.812 kB / 0.7641 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/1.848, allocations: 0.8102 MB / 0.7649 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/1.851, allocations: 1.285 MB / 0.7661 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005899/1.852, allocations: 109.5 kB / 0.7662 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/1.865, allocations: 11.36 MB / 0.7773 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.865, allocations: 11.84 kB / 0.7773 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/1.882, allocations: 11.17 MB / 0.7883 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00336/1.885, allocations: 1.063 MB / 0.7893 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/1.886, allocations: 91.42 kB / 0.7894 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002607/1.889, allocations: 232.8 kB / 0.7896 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007089/1.89, allocations: 354.1 kB / 0.7899 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/1.89, allocations: 131.9 kB / 0.7901 GB, free: 164.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00429/1.894, allocations: 3.106 MB / 0.7931 GB, free: 161.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.894, allocations: 0 / 0.7931 GB, free: 161.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006646/1.901, allocations: 1.725 MB / 0.7948 GB, free: 159.7 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.002065/1.903, allocations: 0.5458 MB / 0.7953 GB, free: 159.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.915, allocations: 7.666 MB / 0.8028 GB, free: 151.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/1.915, allocations: 0 / 0.8028 GB, free: 151.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007881/1.923, allocations: 3.694 MB / 0.8064 GB, free: 148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007198/1.93, allocations: 1.05 MB / 0.8074 GB, free: 147 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03757/1.968, allocations: 18.18 MB / 0.8252 GB, free: 128.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01131/1.979, allocations: 6.318 MB / 0.8314 GB, free: 122.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002526/1.982, allocations: 427.3 kB / 0.8318 GB, free: 121.9 MB / 0.545 GB Notification: Performance of SimCode: time 2.084e-06/1.982, allocations: 4 kB / 0.8318 GB, free: 121.9 MB / 0.545 GB Notification: Performance of Templates: time 0.5484/2.53, allocations: 228.6 MB / 1.055 GB, free: 120.2 MB / 0.5607 GB " [Timeout remaining time 657] 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/jenkins1/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/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 20.74661486595869]