Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001781/0.001781, 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.002281/0.002281, 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 trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.3 MB / 257.9 MB, free: 8.242 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics")
translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.88 kB / 378.8 MB, free: 2.812 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.243, allocations: 53.37 MB / 432.2 MB, free: 7.066 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03198/0.2749, allocations: 27.16 MB / 459.3 MB, free: 11.79 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01876/0.2937, allocations: 8.209 MB / 467.5 MB, free: 3.559 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.006624/0.3003, allocations: 238.8 kB / 467.8 MB, free: 3.324 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.02418/0.3245, allocations: 9.512 MB / 477.3 MB, free: 9.789 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01189/0.3364, allocations: 3.443 MB / 480.7 MB, free: 6.336 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.006064/0.3425, allocations: 1.888 MB / 482.6 MB, free: 4.457 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01792/0.3604, allocations: 12.36 MB / 495 MB, free: 8.047 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.03166/0.392, allocations: 15 MB / 0.498 GB, free: 8.867 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0129/0.4049, allocations: 6.64 MB / 0.5045 GB, free: 2.211 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.4174, allocations: 7.305 MB / 0.5116 GB, free: 10.88 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.004949/0.4223, allocations: 1.844 MB / 0.5134 GB, free: 9.035 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.006865/0.4292, allocations: 2.234 MB / 0.5156 GB, free: 6.805 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.006006/0.4352, allocations: 3.624 MB / 0.5192 GB, free: 3.172 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01437/0.4496, allocations: 6.919 MB / 0.5259 GB, free: 12.23 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.2585/0.708, allocations: 24.82 MB / 0.5502 GB, free: 43.12 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.708, allocations: 1.344 kB / 0.5502 GB, free: 43.12 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.803e-06/0.708, allocations: 0 / 0.5502 GB, free: 43.12 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0007651/0.7088, allocations: 0 / 0.5502 GB, free: 43.12 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: 3035
 * Number of variables: 3035
Notification: Performance of Generate backend data structure: time 0.04635/0.7552, allocations: 14.7 MB / 0.5645 GB, free: 36.89 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.7552, allocations: 6.594 kB / 0.5645 GB, free: 36.89 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04851/0.8037, allocations: 8.433 MB / 0.5727 GB, free: 33.65 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/0.8237, allocations: 7.77 MB / 0.5803 GB, free: 29.47 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007045/0.8244, allocations: 0.8031 MB / 0.5811 GB, free: 29.11 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.004909/0.8293, allocations: 1.06 MB / 0.5822 GB, free: 28.76 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.04547/0.8748, allocations: 18.34 MB / 0.6001 GB, free: 11.02 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003966/0.8752, allocations: 23.28 kB / 0.6001 GB, free: 11 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004298/0.8795, allocations: 448.6 kB / 0.6005 GB, free: 10.57 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005722/0.88, allocations: 0.675 MB / 0.6012 GB, free: 9.898 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03991/0.9199, allocations: 17.59 MB / 0.6183 GB, free: 8.301 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1147/1.035, allocations: 56.89 MB / 0.6739 GB, free: 15.27 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.02643/1.061, allocations: 12.83 MB / 0.6864 GB, free: 4.516 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.007371/1.068, allocations: 3.741 MB / 0.6901 GB, free: 0.7539 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005943/1.069, allocations: 154.7 kB / 0.6902 GB, free: 0.625 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.64e-05/1.069, allocations: 86.62 kB / 0.6903 GB, free: 0.5273 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=518): time 7.324e-06/1.069, allocations: 0 / 0.6903 GB, free: 0.5273 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=524): time 0.05544/1.125, allocations: 21.46 MB / 0.7113 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/1.125, allocations: 107.5 kB / 0.7114 GB, free: 10.82 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007532/1.132, allocations: 4.195 MB / 0.7155 GB, free: 6.594 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 0.00103/1.133, allocations: 105.7 kB / 0.7156 GB, free: 6.484 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003738/1.137, allocations: 4.668 MB / 0.7201 GB, free: 1.805 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002488/1.14, allocations: 1.862 MB / 0.7219 GB, free: 15.97 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/1.142, allocations: 1.367 MB / 0.7233 GB, free: 14.59 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 0.0001303/1.142, allocations: 305.1 kB / 0.7236 GB, free: 14.29 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.006234/1.148, allocations: 3.445 MB / 0.7269 GB, free: 10.84 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.008293/1.157, allocations: 5.895 MB / 0.7327 GB, free: 3.895 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.172, allocations: 10.04 MB / 0.7425 GB, free: 9.012 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-05/1.172, allocations: 24 kB / 0.7425 GB, free: 8.988 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=910) (initialization): time 0.2724/1.445, allocations: 10.96 MB / 0.7532 GB, free: 201.5 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 6.377e-05/1.445, allocations: 39.56 kB / 0.7533 GB, free: 201.5 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/1.445, allocations: 75.53 kB / 0.7533 GB, free: 201.5 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003889/1.449, allocations: 1.447 MB / 0.7547 GB, free: 201.5 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006073/1.455, allocations: 1.621 MB / 0.7563 GB, free: 201.5 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/1.471, allocations: 11.41 MB / 0.7675 GB, free: 198.3 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005381/1.477, allocations: 409 kB / 0.7679 GB, free: 198.1 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.478, allocations: 339.1 kB / 0.7682 GB, free: 198.1 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 354
 * 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 (840):
 * Single equations (assignments): 838
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(14,56,41.3%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.006716/1.485, allocations: 4.172 MB / 0.7723 GB, free: 196.2 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.486, allocations: 497.1 kB / 0.7727 GB, free: 196.2 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.499, allocations: 8.447 MB / 0.781 GB, free: 192.9 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01114/1.51, allocations: 7.071 MB / 0.7879 GB, free: 190.1 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/1.51, allocations: 13.97 kB / 0.7879 GB, free: 190.1 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.213e-05/1.51, allocations: 30.3 kB / 0.7879 GB, free: 190.1 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03075/1.541, allocations: 18.81 MB / 0.8063 GB, free: 177.3 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.541, allocations: 0 / 0.8063 GB, free: 177.3 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003616/1.544, allocations: 0.9558 MB / 0.8072 GB, free: 176.3 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/1.548, allocations: 1.299 MB / 0.8085 GB, free: 175 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005449/1.548, allocations: 120 kB / 0.8086 GB, free: 174.9 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/1.561, allocations: 10.1 MB / 0.8185 GB, free: 164.8 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.561, allocations: 0 / 0.8185 GB, free: 164.8 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/1.578, allocations: 12.29 MB / 0.8305 GB, free: 152.6 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.003301/1.581, allocations: 1.137 MB / 0.8316 GB, free: 151.5 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000985/1.582, allocations: 95.98 kB / 0.8317 GB, free: 151.4 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/1.585, allocations: 273.4 kB / 0.8319 GB, free: 151.1 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006707/1.585, allocations: 368.2 kB / 0.8323 GB, free: 150.7 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/1.586, allocations: 158.4 kB / 0.8324 GB, free: 150.6 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.003685/1.589, allocations: 2.819 MB / 0.8352 GB, free: 147.8 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/1.589, allocations: 4 kB / 0.8352 GB, free: 147.8 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.00644/1.596, allocations: 1.93 MB / 0.8371 GB, free: 145.8 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi)
 * 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 (499):
 * Single equations (assignments): 497
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(14,56,41.3%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006981/1.597, allocations: 301.9 kB / 0.8374 GB, free: 145.5 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.01209/1.609, allocations: 8.406 MB / 0.8456 GB, free: 137.1 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.609, allocations: 1.875 kB / 0.8456 GB, free: 137.1 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.006122/1.615, allocations: 3.904 MB / 0.8494 GB, free: 133.1 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/1.62, allocations: 1.123 MB / 0.8505 GB, free: 132 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/1.653, allocations: 19.53 MB / 0.8696 GB, free: 112.4 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007472/1.661, allocations: 7.009 MB / 0.8764 GB, free: 105.4 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.005537/1.666, allocations: 2.321 MB / 0.8787 GB, free: 103 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.668, allocations: 443.3 kB / 0.8791 GB, free: 102.6 MB / 0.5762 GB
Notification: Performance of SimCode: time 1.352e-06/1.668, allocations: 0 / 0.8791 GB, free: 102.6 MB / 0.5762 GB
Notification: Performance of Templates: time 0.1245/1.792, allocations: 86.24 MB / 0.9633 GB, free: 16.92 MB / 0.5762 GB
"
[Timeout remaining time 658]
make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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: 8.629545552656054]