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.001935/0.001935, allocations: 102.4 kB / 21.93 MB, free: 5.203 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.002086/0.002086, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.517/1.517, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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.002164/0.002164, allocations: 51.92 kB / 348.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3982, allocations: 49.16 MB / 397.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02828/0.4265, allocations: 21.52 MB / 419.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02282/0.4493, allocations: 7.44 MB / 426.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009337/0.4586, allocations: 183 kB / 426.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02253/0.4812, allocations: 7.831 MB / 434.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.4952, allocations: 3.078 MB / 437.7 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007091/0.5023, allocations: 1.778 MB / 439.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01963/0.5219, allocations: 11.34 MB / 450.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02984/0.5518, allocations: 14.52 MB / 465.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.5646, allocations: 6.149 MB / 471.5 MB, free: 9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01471/0.5794, allocations: 6.33 MB / 477.8 MB, free: 2.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006746/0.5861, allocations: 1.723 MB / 479.6 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009308/0.5954, allocations: 2.117 MB / 481.7 MB, free: 14.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008257/0.6037, allocations: 3.46 MB / 485.1 MB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01616/0.6198, allocations: 4.973 MB / 490.1 MB, free: 6.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04483/0.6646, allocations: 23.29 MB / 0.5014 GB, free: 14.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.6647, allocations: 7.984 kB / 0.5014 GB, free: 14.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.6647, allocations: 0 / 0.5014 GB, free: 14.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008123/0.6655, allocations: 0 / 0.5014 GB, free: 14.98 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.05749/0.723, allocations: 13.7 MB / 0.5147 GB, free: 1.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.723, allocations: 15.98 kB / 0.5148 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04384/0.7669, allocations: 7.309 MB / 0.5219 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/0.7859, allocations: 6.579 MB / 0.5283 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001125/0.787, allocations: 0.7305 MB / 0.529 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006981/0.794, allocations: 0.9608 MB / 0.53 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05716/0.8512, allocations: 16.73 MB / 0.5463 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006324/0.8518, allocations: 19.89 kB / 0.5463 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005121/0.8569, allocations: 408 kB / 0.5467 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009126/0.8578, allocations: 0.5986 MB / 0.5473 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5707/1.429, allocations: 15.71 MB / 0.5627 GB, free: 127.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09974/1.528, allocations: 46.28 MB / 0.6078 GB, free: 100.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/1.543, allocations: 9.31 MB / 0.6169 GB, free: 96.63 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004771/1.547, allocations: 3.454 MB / 0.6203 GB, free: 94.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01672/1.564, allocations: 10.15 MB / 0.6302 GB, free: 84.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/1.564, allocations: 73.36 kB / 0.6303 GB, free: 84.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 6.863e-06/1.564, allocations: 0 / 0.6303 GB, free: 84.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.03477/1.599, allocations: 17.17 MB / 0.6471 GB, free: 67.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/1.599, allocations: 94.19 kB / 0.6471 GB, free: 67.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006325/1.605, allocations: 4.686 MB / 0.6517 GB, free: 62.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008732/1.606, allocations: 81.7 kB / 0.6518 GB, free: 62.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002217/1.608, allocations: 4.636 MB / 0.6563 GB, free: 57.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001638/1.61, allocations: 1.315 MB / 0.6576 GB, free: 56.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/1.612, allocations: 1.195 MB / 0.6588 GB, free: 55.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/1.612, allocations: 305.1 kB / 0.6591 GB, free: 55.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003827/1.616, allocations: 2.9 MB / 0.6619 GB, free: 52.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004951/1.621, allocations: 5.279 MB / 0.6671 GB, free: 45.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.631, allocations: 8.624 MB / 0.6755 GB, free: 36.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.631, allocations: 24 kB / 0.6755 GB, free: 36.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02131/1.652, allocations: 9.547 MB / 0.6848 GB, free: 26.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/1.652, allocations: 40 kB / 0.6849 GB, free: 26.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/1.652, allocations: 76 kB / 0.6849 GB, free: 26.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003729/1.656, allocations: 1.398 MB / 0.6863 GB, free: 24.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005013/1.661, allocations: 1.334 MB / 0.6876 GB, free: 23.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/1.678, allocations: 12.05 MB / 0.6994 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006274/1.684, allocations: 371.6 kB / 0.6997 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/1.685, allocations: 300 kB / 0.7 GB, free: 10.68 MB / 478.1 MB 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.01022/1.696, allocations: 3.915 MB / 0.7038 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/1.698, allocations: 457 kB / 0.7043 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/1.713, allocations: 6.685 MB / 0.7108 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01313/1.726, allocations: 5.51 MB / 0.7162 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-05/1.726, allocations: 15.94 kB / 0.7162 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.212e-05/1.726, allocations: 23.92 kB / 0.7162 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04141/1.768, allocations: 13.03 MB / 0.7289 GB, free: 12.83 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/1.768, allocations: 4 kB / 0.729 GB, free: 12.82 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003737/1.772, allocations: 0.6675 MB / 0.7296 GB, free: 12.16 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00411/1.776, allocations: 1.269 MB / 0.7308 GB, free: 10.88 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008845/1.777, allocations: 87.97 kB / 0.7309 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/1.797, allocations: 10.96 MB / 0.7416 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/1.797, allocations: 7.938 kB / 0.7416 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02328/1.82, allocations: 9.925 MB / 0.7513 GB, free: 5.559 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004756/1.825, allocations: 0.9693 MB / 0.7523 GB, free: 4.586 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002125/1.827, allocations: 71.98 kB / 0.7523 GB, free: 4.516 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003676/1.83, allocations: 219.8 kB / 0.7526 GB, free: 4.301 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/1.832, allocations: 286.8 kB / 0.7528 GB, free: 4.02 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006233/1.832, allocations: 124 kB / 0.7529 GB, free: 3.898 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00805/1.84, allocations: 3.064 MB / 0.7559 GB, free: 0.8242 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/1.84, allocations: 4 kB / 0.7559 GB, free: 0.8203 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0106/1.851, allocations: 1.68 MB / 0.7576 GB, free: 15.14 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.002844/1.854, allocations: 0.5137 MB / 0.7581 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.871, allocations: 7.187 MB / 0.7651 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.871, allocations: 1.938 kB / 0.7651 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008831/1.88, allocations: 3.373 MB / 0.7684 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008318/1.889, allocations: 0.9221 MB / 0.7693 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3112/2.2, allocations: 17.88 MB / 0.7868 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01024/2.21, allocations: 5.935 MB / 0.7926 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/2.212, allocations: 397.7 kB / 0.7929 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of SimCode: time 2.314e-06/2.212, allocations: 0 / 0.7929 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.5836/2.796, allocations: 230.5 MB / 1.018 GB, free: 149.9 MB / 0.5294 GB " [Timeout remaining time 657] 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 -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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 21.00272846315056]