Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001931/0.001931, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001507/0.001507, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 8.02 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 60.77 kB / 379.1 MB, free: 2.582 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2668, allocations: 53.38 MB / 432.5 MB, free: 6.938 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02994/0.2967, allocations: 25.05 MB / 457.5 MB, free: 13.78 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01653/0.3133, allocations: 8.115 MB / 465.6 MB, free: 5.633 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004716/0.318, allocations: 218.9 kB / 465.8 MB, free: 5.418 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.02028/0.3383, allocations: 8.487 MB / 474.3 MB, free: 12.91 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01019/0.3485, allocations: 3.157 MB / 477.5 MB, free: 9.742 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00608/0.3545, allocations: 1.886 MB / 479.4 MB, free: 7.863 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01646/0.371, allocations: 11.35 MB / 490.7 MB, free: 12.49 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02645/0.3974, allocations: 13.9 MB / 0.4928 GB, free: 14.44 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.408, allocations: 6.075 MB / 0.4987 GB, free: 8.352 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01139/0.4193, allocations: 6.569 MB / 0.5051 GB, free: 1.762 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.004427/0.4238, allocations: 1.715 MB / 0.5068 GB, free: 48 kB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.007508/0.4313, allocations: 2.16 MB / 0.5089 GB, free: 13.89 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.005795/0.4371, allocations: 3.41 MB / 0.5123 GB, free: 10.47 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01125/0.4483, allocations: 6.354 MB / 0.5185 GB, free: 4.09 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.453/0.9014, allocations: 23.2 MB / 0.5411 GB, free: 40.14 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.9014, allocations: 0 / 0.5411 GB, free: 40.14 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.974e-06/0.9014, allocations: 0 / 0.5411 GB, free: 40.14 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0006562/0.902, allocations: 0 / 0.5411 GB, free: 40.14 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.04071/0.9427, allocations: 13.57 MB / 0.5544 GB, free: 36.5 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.9428, allocations: 9.656 kB / 0.5544 GB, free: 36.5 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0341/0.9769, allocations: 6.25 MB / 0.5605 GB, free: 35.88 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/0.9923, allocations: 7.37 MB / 0.5677 GB, free: 34.46 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000576/0.9929, allocations: 0.7156 MB / 0.5684 GB, free: 34.29 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.005061/0.9979, allocations: 0.9459 MB / 0.5693 GB, free: 33.98 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.03789/1.036, allocations: 16.17 MB / 0.5851 GB, free: 21.34 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003093/1.036, allocations: 11.23 kB / 0.5851 GB, free: 21.34 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003682/1.04, allocations: 402.5 kB / 0.5855 GB, free: 20.95 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004545/1.04, allocations: 0.563 MB / 0.586 GB, free: 20.39 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02889/1.069, allocations: 15.14 MB / 0.6008 GB, free: 5.227 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09483/1.164, allocations: 51.42 MB / 0.651 GB, free: 1.738 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01664/1.181, allocations: 8.624 MB / 0.6595 GB, free: 9.914 MB / 0.4982 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.006026/1.187, allocations: 3.335 MB / 0.6627 GB, free: 6.582 MB / 0.4982 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004445/1.187, allocations: 136.6 kB / 0.6628 GB, free: 6.473 MB / 0.4982 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/1.187, allocations: 82.06 kB / 0.6629 GB, free: 6.383 MB / 0.4982 GB
Notification: Performance of pre-optimization done (n=447): time 6.062e-06/1.187, allocations: 4 kB / 0.6629 GB, free: 6.379 MB / 0.4982 GB
Notification: Performance of matching and sorting (n=452): time 0.05531/1.242, allocations: 20.54 MB / 0.683 GB, free: 1.883 MB / 0.5138 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/1.243, allocations: 102.9 kB / 0.6831 GB, free: 1.77 MB / 0.5138 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007744/1.25, allocations: 4.514 MB / 0.6875 GB, free: 13.23 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 0.0008066/1.251, allocations: 101.6 kB / 0.6876 GB, free: 13.13 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003778/1.255, allocations: 4.337 MB / 0.6918 GB, free: 8.781 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002158/1.257, allocations: 1.612 MB / 0.6934 GB, free: 7.191 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002159/1.259, allocations: 1.208 MB / 0.6946 GB, free: 5.973 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0002024/1.259, allocations: 311.1 kB / 0.6949 GB, free: 5.672 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005458/1.265, allocations: 3.076 MB / 0.6979 GB, free: 2.594 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007637/1.272, allocations: 5.218 MB / 0.703 GB, free: 12.44 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/1.287, allocations: 8.885 MB / 0.7116 GB, free: 2.867 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.153e-05/1.287, allocations: 20 kB / 0.7117 GB, free: 2.848 MB / 0.545 GB
Notification: Performance of matching and sorting (n=794) (initialization): time 0.02033/1.307, allocations: 9.869 MB / 0.7213 GB, free: 9.41 MB / 0.5607 GB
Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/1.307, allocations: 32 kB / 0.7213 GB, free: 9.379 MB / 0.5607 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/1.307, allocations: 68 kB / 0.7214 GB, free: 9.312 MB / 0.5607 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004133/1.312, allocations: 1.413 MB / 0.7228 GB, free: 7.902 MB / 0.5607 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005631/1.317, allocations: 1.39 MB / 0.7241 GB, free: 6.605 MB / 0.5607 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/1.337, allocations: 12.47 MB / 0.7363 GB, free: 9.98 MB / 0.5763 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/1.341, allocations: 359.5 kB / 0.7367 GB, free: 9.629 MB / 0.5763 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.342, allocations: 296 kB / 0.7369 GB, free: 9.34 MB / 0.5763 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.006913/1.349, allocations: 3.889 MB / 0.7407 GB, free: 5.531 MB / 0.5763 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.351, allocations: 476.9 kB / 0.7412 GB, free: 5.062 MB / 0.5763 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.367, allocations: 8.477 MB / 0.7495 GB, free: 12.57 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.013/1.38, allocations: 6.236 MB / 0.7556 GB, free: 6.363 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/1.38, allocations: 12 kB / 0.7556 GB, free: 6.352 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.373e-05/1.38, allocations: 23.91 kB / 0.7556 GB, free: 6.328 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.267/1.647, allocations: 17.44 MB / 0.7726 GB, free: 222.9 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.647, allocations: 11.38 kB / 0.7726 GB, free: 222.9 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/1.65, allocations: 0.8095 MB / 0.7734 GB, free: 222.8 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0032/1.653, allocations: 1.291 MB / 0.7747 GB, free: 222.6 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003677/1.653, allocations: 111 kB / 0.7748 GB, free: 222.5 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.667, allocations: 11.37 MB / 0.7859 GB, free: 215.9 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.667, allocations: 11.72 kB / 0.7859 GB, free: 215.9 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/1.684, allocations: 11.21 MB / 0.7968 GB, free: 211.1 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002864/1.686, allocations: 1.064 MB / 0.7979 GB, free: 210.8 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/1.688, allocations: 97.97 kB / 0.798 GB, free: 210.7 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/1.69, allocations: 229.2 kB / 0.7982 GB, free: 210.7 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007393/1.691, allocations: 346.2 kB / 0.7985 GB, free: 210.6 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002703/1.691, allocations: 144.6 kB / 0.7987 GB, free: 210.6 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.004178/1.696, allocations: 3.121 MB / 0.8017 GB, free: 208.6 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 1.2e-07/1.696, allocations: 0 / 0.8017 GB, free: 208.6 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.006899/1.702, allocations: 1.724 MB / 0.8034 GB, free: 206.9 MB / 0.5919 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.002048/1.704, allocations: 0.5389 MB / 0.8039 GB, free: 206.5 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.01172/1.716, allocations: 7.677 MB / 0.8114 GB, free: 199.9 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.716, allocations: 0 / 0.8114 GB, free: 199.9 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.005924/1.722, allocations: 3.695 MB / 0.815 GB, free: 196.7 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/1.727, allocations: 1.055 MB / 0.8161 GB, free: 195.8 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/1.755, allocations: 18.36 MB / 0.834 GB, free: 177.5 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00712/1.762, allocations: 6.509 MB / 0.8403 GB, free: 171 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.005188/1.767, allocations: 2.115 MB / 0.8424 GB, free: 168.9 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.768, allocations: 403.3 kB / 0.8428 GB, free: 168.5 MB / 0.5919 GB
Notification: Performance of SimCode: time 1.142e-06/1.768, allocations: 4 kB / 0.8428 GB, free: 168.5 MB / 0.5919 GB
Notification: Performance of Templates: time 0.1105/1.879, allocations: 78.39 MB / 0.9193 GB, free: 90.69 MB / 0.5919 GB
"
[Timeout remaining time 658]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.5503353998065]