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.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.001868/0.001868, allocations: 103.9 kB / 19.75 MB, free: 2.656 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.002812/0.002812, allocations: 192.1 kB / 22.93 MB, free: 5.488 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.614/1.614, allocations: 207.6 MB / 233.5 MB, free: 10.99 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 55.91 kB / 345.5 MB, free: 10.4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.357, allocations: 49.13 MB / 394.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02942/0.3865, allocations: 25.12 MB / 419.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02532/0.4118, allocations: 7.773 MB / 427.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009166/0.421, allocations: 150.4 kB / 427.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02362/0.4446, allocations: 8.461 MB / 436.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01469/0.4593, allocations: 3.086 MB / 439.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007248/0.4665, allocations: 1.814 MB / 441 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01939/0.4859, allocations: 11.23 MB / 452.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03106/0.517, allocations: 13.9 MB / 466.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/0.5296, allocations: 6.016 MB / 472.1 MB, free: 5.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.5435, allocations: 6.615 MB / 478.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006045/0.5495, allocations: 1.727 MB / 480.5 MB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009134/0.5586, allocations: 2.121 MB / 482.6 MB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007179/0.5658, allocations: 3.48 MB / 486.1 MB, free: 7.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01708/0.5829, allocations: 6.432 MB / 492.5 MB, free: 1.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03756/0.6204, allocations: 23.2 MB / 0.5036 GB, free: 10.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6205, allocations: 0 / 0.5036 GB, free: 10.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6205, allocations: 0 / 0.5036 GB, free: 10.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007032/0.6212, allocations: 0 / 0.5036 GB, free: 10.23 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.04502/0.6662, allocations: 13.8 MB / 0.5171 GB, free: 12.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.6662, allocations: 19.97 kB / 0.5171 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04172/0.708, allocations: 7.301 MB / 0.5242 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.7239, allocations: 6.518 MB / 0.5306 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009906/0.7249, allocations: 0.7305 MB / 0.5313 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005042/0.73, allocations: 0.9569 MB / 0.5323 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05405/0.784, allocations: 16.59 MB / 0.5485 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000593/0.7846, allocations: 23.83 kB / 0.5485 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004794/0.7894, allocations: 404 kB / 0.5489 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009174/0.7903, allocations: 0.5908 MB / 0.5494 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4936/1.284, allocations: 15.8 MB / 0.5649 GB, free: 128.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09388/1.378, allocations: 53.38 MB / 0.617 GB, free: 93.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01903/1.397, allocations: 22.27 MB / 0.6387 GB, free: 70.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006631/1.403, allocations: 3.489 MB / 0.6422 GB, free: 66.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02309/1.427, allocations: 11.69 MB / 0.6536 GB, free: 55.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/1.427, allocations: 76.89 kB / 0.6536 GB, free: 55.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 6.121e-06/1.427, allocations: 0 / 0.6536 GB, free: 55.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.03709/1.464, allocations: 17.59 MB / 0.6708 GB, free: 37.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.464, allocations: 98.19 kB / 0.6709 GB, free: 37.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005924/1.47, allocations: 4.765 MB / 0.6756 GB, free: 33.01 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007606/1.47, allocations: 81.7 kB / 0.6756 GB, free: 32.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.472, allocations: 4.637 MB / 0.6802 GB, free: 28.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001399/1.474, allocations: 1.319 MB / 0.6815 GB, free: 27.06 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/1.476, allocations: 1.191 MB / 0.6826 GB, free: 25.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.853e-05/1.476, allocations: 301.1 kB / 0.6829 GB, free: 25.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/1.479, allocations: 2.904 MB / 0.6857 GB, free: 22.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/1.484, allocations: 5.26 MB / 0.6909 GB, free: 16.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00912/1.493, allocations: 8.636 MB / 0.6993 GB, free: 6.535 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.76e-05/1.493, allocations: 28 kB / 0.6993 GB, free: 6.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01647/1.51, allocations: 9.6 MB / 0.7087 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/1.51, allocations: 40 kB / 0.7088 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.51, allocations: 76.84 kB / 0.7088 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/1.514, allocations: 1.442 MB / 0.7102 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005609/1.519, allocations: 1.338 MB / 0.7115 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/1.539, allocations: 12.69 MB / 0.7239 GB, free: 13 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/1.544, allocations: 367.6 kB / 0.7243 GB, free: 12.64 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.546, allocations: 304 kB / 0.7246 GB, free: 12.35 MB / 0.4982 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.009251/1.555, allocations: 3.924 MB / 0.7284 GB, free: 8.41 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.556, allocations: 472.9 kB / 0.7289 GB, free: 7.945 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/1.571, allocations: 6.737 MB / 0.7354 GB, free: 1.16 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01082/1.581, allocations: 5.537 MB / 0.7408 GB, free: 11.59 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/1.581, allocations: 12 kB / 0.7409 GB, free: 11.58 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-05/1.581, allocations: 23.92 kB / 0.7409 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03024/1.612, allocations: 15.39 MB / 0.7559 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.612, allocations: 4 kB / 0.7559 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/1.615, allocations: 0.6714 MB / 0.7566 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003615/1.618, allocations: 1.298 MB / 0.7578 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003611/1.619, allocations: 87.97 kB / 0.7579 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3171/1.936, allocations: 11.55 MB / 0.7692 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.936, allocations: 8.719 kB / 0.7692 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03432/1.97, allocations: 9.987 MB / 0.779 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005013/1.975, allocations: 1.044 MB / 0.78 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002586/1.978, allocations: 71.78 kB / 0.7801 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00683/1.984, allocations: 220.5 kB / 0.7803 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002017/1.986, allocations: 269.9 kB / 0.7805 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001077/1.988, allocations: 118.3 kB / 0.7806 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01249/2, allocations: 3.235 MB / 0.7838 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.81e-07/2, allocations: 1.875 kB / 0.7838 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01495/2.015, allocations: 1.685 MB / 0.7854 GB, free: 174.8 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.003717/2.019, allocations: 0.5141 MB / 0.7859 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02418/2.043, allocations: 7.229 MB / 0.793 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/2.043, allocations: 0 / 0.793 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01185/2.055, allocations: 3.369 MB / 0.7963 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01173/2.066, allocations: 1.031 MB / 0.7973 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04159/2.108, allocations: 18.18 MB / 0.8151 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008923/2.117, allocations: 6.551 MB / 0.8215 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005644/2.123, allocations: 2.096 MB / 0.8235 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/2.124, allocations: 366 kB / 0.8239 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.974e-06/2.124, allocations: 3.938 kB / 0.8239 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.1114/2.235, allocations: 71.14 MB / 0.8933 GB, free: 81.04 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 -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/jenkins/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/jenkins/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: 10.339451786130667]