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.001779/0.001779, allocations: 104.5 kB / 21.23 MB, free: 388 kB / 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.002667/0.002667, allocations: 212.1 kB / 24.52 MB, free: 3.707 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.639/1.639, allocations: 207.7 MB / 235.4 MB, free: 9.766 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.001906/0.001906, allocations: 51.94 kB / 347.8 MB, free: 9.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 49.15 MB / 397 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02633/0.3998, allocations: 21.53 MB / 418.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02031/0.4201, allocations: 7.438 MB / 426 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006946/0.427, allocations: 182.8 kB / 426.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02154/0.4486, allocations: 7.846 MB / 434 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.463, allocations: 3.062 MB / 437.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007168/0.4701, allocations: 1.794 MB / 438.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01924/0.4894, allocations: 11.33 MB / 450.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03422/0.5236, allocations: 14.52 MB / 464.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01424/0.5378, allocations: 6.149 MB / 470.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.5514, allocations: 6.33 MB / 477.2 MB, free: 2.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006531/0.5579, allocations: 1.723 MB / 478.9 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008965/0.5669, allocations: 2.117 MB / 481 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007547/0.5745, allocations: 3.464 MB / 484.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01388/0.5883, allocations: 4.973 MB / 489.5 MB, free: 6.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03872/0.6271, allocations: 23.29 MB / 0.5007 GB, free: 14.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.6271, allocations: 3.938 kB / 0.5007 GB, free: 14.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6271, allocations: 3.938 kB / 0.5007 GB, free: 14.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007246/0.6278, allocations: 0 / 0.5007 GB, free: 14.93 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.04992/0.6777, allocations: 13.71 MB / 0.5141 GB, free: 1.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.6778, allocations: 11.98 kB / 0.5141 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04501/0.7228, allocations: 7.309 MB / 0.5213 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01913/0.7419, allocations: 6.587 MB / 0.5277 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/0.743, allocations: 0.7305 MB / 0.5284 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005291/0.7483, allocations: 0.9569 MB / 0.5294 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05209/0.8004, allocations: 16.74 MB / 0.5457 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007681/0.8011, allocations: 19.89 kB / 0.5457 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00608/0.8072, allocations: 415.9 kB / 0.5461 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009534/0.8082, allocations: 0.5907 MB / 0.5467 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4673/1.275, allocations: 15.71 MB / 0.562 GB, free: 127.9 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08902/1.365, allocations: 46.31 MB / 0.6073 GB, free: 100.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/1.38, allocations: 9.307 MB / 0.6163 GB, free: 96.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004879/1.385, allocations: 3.462 MB / 0.6197 GB, free: 94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01525/1.4, allocations: 10.14 MB / 0.6296 GB, free: 84.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.4, allocations: 69.36 kB / 0.6297 GB, free: 83.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 6.342e-06/1.4, allocations: 0 / 0.6297 GB, free: 83.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.03556/1.436, allocations: 17.17 MB / 0.6465 GB, free: 67.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/1.436, allocations: 94.17 kB / 0.6465 GB, free: 67.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005663/1.441, allocations: 4.681 MB / 0.6511 GB, free: 62.46 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006439/1.442, allocations: 85.7 kB / 0.6512 GB, free: 62.37 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.444, allocations: 4.637 MB / 0.6557 GB, free: 57.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.445, allocations: 1.31 MB / 0.657 GB, free: 56.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/1.447, allocations: 1.195 MB / 0.6582 GB, free: 55.26 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.296e-05/1.447, allocations: 305.1 kB / 0.6585 GB, free: 54.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/1.451, allocations: 2.897 MB / 0.6613 GB, free: 52.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/1.456, allocations: 5.279 MB / 0.6665 GB, free: 45.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009646/1.465, allocations: 8.62 MB / 0.6749 GB, free: 35.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/1.465, allocations: 24 kB / 0.6749 GB, free: 35.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01783/1.483, allocations: 9.547 MB / 0.6842 GB, free: 26.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/1.483, allocations: 40 kB / 0.6843 GB, free: 26.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/1.483, allocations: 80 kB / 0.6843 GB, free: 26.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003366/1.487, allocations: 1.406 MB / 0.6857 GB, free: 24.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004999/1.492, allocations: 1.33 MB / 0.687 GB, free: 23.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.506, allocations: 12.06 MB / 0.6988 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005505/1.512, allocations: 367.6 kB / 0.6991 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.513, allocations: 307.9 kB / 0.6994 GB, free: 10.57 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.006962/1.52, allocations: 3.919 MB / 0.7033 GB, free: 6.633 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.521, allocations: 453 kB / 0.7037 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.532, allocations: 6.685 MB / 0.7102 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01131/1.543, allocations: 5.51 MB / 0.7156 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/1.543, allocations: 16 kB / 0.7156 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-05/1.543, allocations: 19.92 kB / 0.7156 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03279/1.576, allocations: 13.02 MB / 0.7283 GB, free: 12.72 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.576, allocations: 4 kB / 0.7284 GB, free: 12.71 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003501/1.58, allocations: 0.6714 MB / 0.729 GB, free: 12.04 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003838/1.584, allocations: 1.261 MB / 0.7302 GB, free: 10.77 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007785/1.584, allocations: 87.97 kB / 0.7303 GB, free: 10.69 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/1.602, allocations: 10.97 MB / 0.741 GB, free: 15.51 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/1.602, allocations: 12 kB / 0.741 GB, free: 15.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/1.622, allocations: 9.933 MB / 0.7507 GB, free: 5.43 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003694/1.626, allocations: 0.9615 MB / 0.7517 GB, free: 4.465 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/1.627, allocations: 76.06 kB / 0.7518 GB, free: 4.391 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003201/1.631, allocations: 219.7 kB / 0.752 GB, free: 4.176 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009499/1.632, allocations: 282.9 kB / 0.7522 GB, free: 3.898 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003131/1.632, allocations: 116 kB / 0.7523 GB, free: 3.785 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005908/1.638, allocations: 3.072 MB / 0.7553 GB, free: 0.7031 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/1.638, allocations: 4 kB / 0.7554 GB, free: 0.6992 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009515/1.647, allocations: 1.68 MB / 0.757 GB, free: 15.02 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.002715/1.65, allocations: 0.5099 MB / 0.7575 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01803/1.668, allocations: 7.193 MB / 0.7645 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/1.668, allocations: 0 / 0.7645 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00867/1.677, allocations: 3.357 MB / 0.7678 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006259/1.683, allocations: 0.9337 MB / 0.7687 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3029/1.986, allocations: 18.14 MB / 0.7864 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009803/1.996, allocations: 6.119 MB / 0.7924 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005901/2.002, allocations: 2.1 MB / 0.7944 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/2.003, allocations: 347.5 kB / 0.7948 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/2.003, allocations: 0 / 0.7948 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.105/2.108, allocations: 62.1 MB / 0.8554 GB, free: 123.6 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.498209218494594]