Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001784/0.001784, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.002431/0.002431, allocations: 207.6 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 55.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2797, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02727/0.3069, allocations: 21.48 MB / 453.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02405/0.331, allocations: 7.751 MB / 461.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007452/0.3384, allocations: 214.9 kB / 461.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02718/0.3656, allocations: 7.817 MB / 469.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.377, allocations: 3.081 MB / 472.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005874/0.3829, allocations: 1.813 MB / 474.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01654/0.3994, allocations: 11.34 MB / 485.9 MB, free: 1.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02542/0.4248, allocations: 14.47 MB / 0.4886 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.4356, allocations: 6.075 MB / 0.4946 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.4476, allocations: 6.268 MB / 0.5007 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005228/0.4528, allocations: 1.715 MB / 0.5024 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007708/0.4605, allocations: 2.144 MB / 0.5045 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006285/0.4668, allocations: 3.398 MB / 0.5078 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01462/0.4814, allocations: 4.915 MB / 0.5126 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03332/0.5147, allocations: 23.28 MB / 0.5353 GB, free: 2.488 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.5148, allocations: 0 / 0.5353 GB, free: 2.488 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5148, allocations: 0 / 0.5353 GB, free: 2.488 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000595/0.5153, allocations: 0 / 0.5353 GB, free: 2.488 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.5146/1.03, allocations: 13.56 MB / 0.5486 GB, free: 88.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.03, allocations: 12.03 kB / 0.5486 GB, free: 88.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03359/1.064, allocations: 6.253 MB / 0.5547 GB, free: 82.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/1.079, allocations: 7.369 MB / 0.5619 GB, free: 75.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/1.079, allocations: 0.718 MB / 0.5626 GB, free: 74.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004392/1.084, allocations: 0.9407 MB / 0.5635 GB, free: 73.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03907/1.123, allocations: 16.31 MB / 0.5794 GB, free: 57.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003513/1.123, allocations: 19.89 kB / 0.5794 GB, free: 57.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003289/1.126, allocations: 403.2 kB / 0.5798 GB, free: 56.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004743/1.127, allocations: 0.5591 MB / 0.5804 GB, free: 56.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02836/1.155, allocations: 15.07 MB / 0.5951 GB, free: 41.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07875/1.234, allocations: 45.41 MB / 0.6394 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.251, allocations: 8.537 MB / 0.6478 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006344/1.257, allocations: 3.324 MB / 0.651 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/1.258, allocations: 115.3 kB / 0.6511 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.584e-05/1.258, allocations: 78.06 kB / 0.6512 GB, free: 15.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 7.905e-06/1.258, allocations: 0 / 0.6512 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.05448/1.312, allocations: 20.34 MB / 0.6711 GB, free: 11.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.312, allocations: 98.95 kB / 0.6712 GB, free: 11.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007335/1.32, allocations: 4.412 MB / 0.6755 GB, free: 6.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000777/1.32, allocations: 97.7 kB / 0.6756 GB, free: 6.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003511/1.324, allocations: 4.348 MB / 0.6798 GB, free: 2.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002111/1.326, allocations: 1.607 MB / 0.6814 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001988/1.328, allocations: 1.212 MB / 0.6826 GB, free: 15.55 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.328, allocations: 305.1 kB / 0.6828 GB, free: 15.25 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005/1.333, allocations: 3.061 MB / 0.6858 GB, free: 12.18 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007131/1.34, allocations: 5.239 MB / 0.691 GB, free: 5.961 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01359/1.354, allocations: 8.872 MB / 0.6996 GB, free: 12.11 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-05/1.354, allocations: 20 kB / 0.6996 GB, free: 12.09 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02069/1.375, allocations: 9.826 MB / 0.7092 GB, free: 2.25 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.606e-05/1.375, allocations: 32 kB / 0.7093 GB, free: 2.219 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000171/1.375, allocations: 72 kB / 0.7093 GB, free: 2.148 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004312/1.379, allocations: 1.371 MB / 0.7107 GB, free: 0.7734 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006042/1.385, allocations: 1.392 MB / 0.712 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/1.409, allocations: 12.05 MB / 0.7238 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.415, allocations: 355.6 kB / 0.7241 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/1.416, allocations: 303.9 kB / 0.7244 GB, free: 2.465 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.01041/1.426, allocations: 3.884 MB / 0.7282 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/1.428, allocations: 469 kB / 0.7287 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/1.445, allocations: 8.431 MB / 0.7369 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01154/1.456, allocations: 6.197 MB / 0.7429 GB, free: 15.4 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/1.456, allocations: 12 kB / 0.743 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/1.456, allocations: 27.91 kB / 0.743 GB, free: 15.36 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03135/1.488, allocations: 14.95 MB / 0.7576 GB, free: 256 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/1.488, allocations: 8 kB / 0.7576 GB, free: 248 kB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2659/1.753, allocations: 0.8055 MB / 0.7584 GB, free: 193.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003833/1.757, allocations: 1.251 MB / 0.7596 GB, free: 193.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008524/1.758, allocations: 115.8 kB / 0.7597 GB, free: 193.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/1.772, allocations: 10.97 MB / 0.7704 GB, free: 189.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.772, allocations: 11.59 kB / 0.7704 GB, free: 189.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/1.788, allocations: 11.14 MB / 0.7813 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003108/1.791, allocations: 1.04 MB / 0.7823 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008347/1.792, allocations: 90.06 kB / 0.7824 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/1.794, allocations: 234.2 kB / 0.7826 GB, free: 184 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006427/1.795, allocations: 350.3 kB / 0.783 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.795, allocations: 141.1 kB / 0.7831 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003826/1.799, allocations: 2.949 MB / 0.786 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/1.799, allocations: 0 / 0.786 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005597/1.804, allocations: 1.716 MB / 0.7877 GB, free: 182.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.001945/1.806, allocations: 0.5609 MB / 0.7882 GB, free: 182.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.818, allocations: 7.666 MB / 0.7957 GB, free: 175.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/1.818, allocations: 5.344 kB / 0.7957 GB, free: 175.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006424/1.824, allocations: 3.68 MB / 0.7993 GB, free: 172.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006357/1.831, allocations: 0.9572 MB / 0.8002 GB, free: 171.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/1.86, allocations: 18.06 MB / 0.8179 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00567/1.866, allocations: 5.883 MB / 0.8236 GB, free: 149.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/1.868, allocations: 440.1 kB / 0.824 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.793e-06/1.868, allocations: 4 kB / 0.824 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.4859/2.354, allocations: 231.9 MB / 1.051 GB, free: 123.5 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.51023544697091]