Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.00172/0.00172, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002131/0.002131, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 63.91 kB / 378.3 MB, free: 2.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2596, allocations: 53.41 MB / 431.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02801/0.2876, allocations: 21.48 MB / 453.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.3054, allocations: 7.747 MB / 460.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004918/0.3103, allocations: 218.9 kB / 461.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02114/0.3314, allocations: 7.811 MB / 469 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.3444, allocations: 3.081 MB / 472 MB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006274/0.3507, allocations: 1.818 MB / 473.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01633/0.367, allocations: 11.33 MB / 485.2 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03167/0.3987, allocations: 14.47 MB / 499.7 MB, free: 2.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.4092, allocations: 6.055 MB / 0.4939 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/0.421, allocations: 6.264 MB / 0.5 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004964/0.426, allocations: 1.715 MB / 0.5016 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006875/0.4329, allocations: 2.148 MB / 0.5037 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00586/0.4387, allocations: 3.394 MB / 0.5071 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01052/0.4492, allocations: 4.915 MB / 0.5119 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03179/0.481, allocations: 23.29 MB / 0.5346 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.481, allocations: 0 / 0.5346 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.481, allocations: 0 / 0.5346 GB, free: 2.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007079/0.4817, allocations: 0 / 0.5346 GB, free: 2.293 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.4365/0.9183, allocations: 13.56 MB / 0.5478 GB, free: 88.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.9183, allocations: 11.98 kB / 0.5479 GB, free: 88.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03321/0.9515, allocations: 6.254 MB / 0.554 GB, free: 82.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/0.968, allocations: 7.368 MB / 0.5612 GB, free: 75.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005665/0.9685, allocations: 0.7179 MB / 0.5619 GB, free: 74.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003952/0.9725, allocations: 0.9484 MB / 0.5628 GB, free: 73.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04194/1.014, allocations: 16.31 MB / 0.5787 GB, free: 57.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003978/1.015, allocations: 19.91 kB / 0.5787 GB, free: 56.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003769/1.019, allocations: 407.3 kB / 0.5791 GB, free: 56.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006598/1.019, allocations: 0.5591 MB / 0.5797 GB, free: 56.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04233/1.062, allocations: 15.07 MB / 0.5944 GB, free: 40.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08884/1.15, allocations: 45.41 MB / 0.6387 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/1.168, allocations: 8.543 MB / 0.6471 GB, free: 3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006894/1.175, allocations: 3.309 MB / 0.6503 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/1.176, allocations: 115.4 kB / 0.6504 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/1.176, allocations: 86 kB / 0.6505 GB, free: 15.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 8.526e-06/1.176, allocations: 0 / 0.6505 GB, free: 15.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.06137/1.237, allocations: 20.34 MB / 0.6704 GB, free: 11.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/1.237, allocations: 98.95 kB / 0.6705 GB, free: 10.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008602/1.246, allocations: 4.416 MB / 0.6748 GB, free: 6.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008412/1.247, allocations: 101.7 kB / 0.6749 GB, free: 6.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003647/1.25, allocations: 4.336 MB / 0.6791 GB, free: 2.105 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002452/1.253, allocations: 1.611 MB / 0.6807 GB, free: 492 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00355/1.256, allocations: 1.208 MB / 0.6819 GB, free: 15.26 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.257, allocations: 309.1 kB / 0.6821 GB, free: 14.96 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005525/1.262, allocations: 3.061 MB / 0.6851 GB, free: 11.89 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008135/1.27, allocations: 5.235 MB / 0.6902 GB, free: 5.676 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/1.286, allocations: 8.872 MB / 0.6989 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-05/1.286, allocations: 20 kB / 0.6989 GB, free: 11.81 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02311/1.309, allocations: 9.829 MB / 0.7085 GB, free: 1.961 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.309, allocations: 36 kB / 0.7086 GB, free: 1.926 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/1.309, allocations: 68 kB / 0.7086 GB, free: 1.859 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004324/1.313, allocations: 1.375 MB / 0.71 GB, free: 492 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006416/1.32, allocations: 1.384 MB / 0.7113 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/1.342, allocations: 12.06 MB / 0.7231 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/1.347, allocations: 351.6 kB / 0.7234 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.348, allocations: 296 kB / 0.7237 GB, free: 2.176 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.009329/1.358, allocations: 3.88 MB / 0.7275 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/1.36, allocations: 472.9 kB / 0.728 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02075/1.38, allocations: 8.431 MB / 0.7362 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01407/1.395, allocations: 6.203 MB / 0.7423 GB, free: 15.11 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.39e-05/1.395, allocations: 12 kB / 0.7423 GB, free: 15.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.085e-05/1.395, allocations: 23.91 kB / 0.7423 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2774/1.672, allocations: 14.94 MB / 0.7569 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.944e-05/1.672, allocations: 9.5 kB / 0.7569 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004201/1.676, allocations: 0.8154 MB / 0.7577 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003914/1.68, allocations: 1.252 MB / 0.7589 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009173/1.681, allocations: 109.7 kB / 0.759 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.694, allocations: 10.96 MB / 0.7697 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.694, allocations: 11.66 kB / 0.7697 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/1.71, allocations: 11.14 MB / 0.7806 GB, free: 182.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003026/1.713, allocations: 1.035 MB / 0.7816 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008441/1.713, allocations: 95.42 kB / 0.7817 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/1.716, allocations: 237.5 kB / 0.7819 GB, free: 182 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006776/1.716, allocations: 344.8 kB / 0.7823 GB, free: 182 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/1.717, allocations: 145.9 kB / 0.7824 GB, free: 181.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003849/1.721, allocations: 2.946 MB / 0.7853 GB, free: 180.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.721, allocations: 0 / 0.7853 GB, free: 180.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005971/1.727, allocations: 1.719 MB / 0.787 GB, free: 180.7 MB / 0.5607 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.001887/1.728, allocations: 0.552 MB / 0.7875 GB, free: 180.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.739, allocations: 7.667 MB / 0.795 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.739, allocations: 4 kB / 0.795 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005499/1.745, allocations: 3.679 MB / 0.7986 GB, free: 171.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/1.749, allocations: 0.9549 MB / 0.7995 GB, free: 170.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/1.777, allocations: 18.32 MB / 0.8174 GB, free: 154.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007037/1.784, allocations: 6.072 MB / 0.8233 GB, free: 148.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005018/1.789, allocations: 2.09 MB / 0.8254 GB, free: 146.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.791, allocations: 395.3 kB / 0.8257 GB, free: 146 MB / 0.5607 GB Notification: Performance of SimCode: time 1.483e-06/1.791, allocations: 0 / 0.8257 GB, free: 146 MB / 0.5607 GB Notification: Performance of Templates: time 0.1164/1.907, allocations: 76.37 MB / 0.9003 GB, free: 70.31 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.47129482217133]