Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.00163/0.00163, 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.002187/0.002187, 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.512/1.512, allocations: 230.3 MB / 258 MB, free: 8.219 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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz")
translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002941/0.002941, allocations: 63.89 kB / 378.8 MB, free: 2.742 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3454, allocations: 53.36 MB / 432.2 MB, free: 7.027 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01351/0.3589, allocations: 9.838 MB / 442 MB, free: 13.15 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007187/0.3661, allocations: 3.104 MB / 445.1 MB, free: 10.04 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.3679, allocations: 71.56 kB / 445.2 MB, free: 9.973 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002165/0.3701, allocations: 0.6599 MB / 445.8 MB, free: 9.309 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003332/0.3734, allocations: 0.7921 MB / 446.6 MB, free: 8.512 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.3747, allocations: 399.4 kB / 447 MB, free: 8.121 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004133/0.3788, allocations: 2.447 MB / 449.5 MB, free: 5.66 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.3807, allocations: 1.045 MB / 450.5 MB, free: 4.57 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.3829, allocations: 1.114 MB / 451.6 MB, free: 3.453 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.3848, allocations: 1.35 MB / 453 MB, free: 2.098 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004267/0.3853, allocations: 276 kB / 453.2 MB, free: 1.828 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000807/0.3861, allocations: 387.8 kB / 453.6 MB, free: 1.449 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0008824/0.387, allocations: 0.7752 MB / 454.4 MB, free: 0.6719 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001559/0.3885, allocations: 1.279 MB / 455.7 MB, free: 15.38 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00436/0.3929, allocations: 3.666 MB / 459.3 MB, free: 11.71 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3929, allocations: 7.984 kB / 459.4 MB, free: 11.7 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.573e-06/0.3929, allocations: 0 / 459.4 MB, free: 11.7 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 6.361e-05/0.3929, allocations: 0 / 459.4 MB, free: 11.7 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 491
 * Number of variables: 491
Notification: Performance of Generate backend data structure: time 0.005605/0.3985, allocations: 2.58 MB / 461.9 MB, free: 9.078 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3986, allocations: 8.031 kB / 461.9 MB, free: 9.07 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008822/0.3995, allocations: 287.3 kB / 462.2 MB, free: 8.789 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.402, allocations: 1.294 MB / 463.5 MB, free: 7.453 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.4021, allocations: 144.1 kB / 463.7 MB, free: 7.312 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.4024, allocations: 199.9 kB / 463.8 MB, free: 7.117 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004244/0.4067, allocations: 2.422 MB / 466.3 MB, free: 4.656 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.117e-05/0.4067, allocations: 4 kB / 466.3 MB, free: 4.652 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.4069, allocations: 76 kB / 466.3 MB, free: 4.578 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.407, allocations: 91.67 kB / 466.4 MB, free: 4.488 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.4105, allocations: 1.962 MB / 468.4 MB, free: 2.523 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.4232, allocations: 7.629 MB / 476 MB, free: 10.65 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.425, allocations: 1.019 MB / 477.1 MB, free: 9.625 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.427, allocations: 0.9123 MB / 478 MB, free: 8.715 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.4272, allocations: 44.97 kB / 478 MB, free: 8.672 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.4272, allocations: 39.56 kB / 478 MB, free: 8.625 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=95): time 3.637e-06/0.4272, allocations: 0 / 478 MB, free: 8.625 MB / 382.1 MB
Notification: Performance of matching and sorting (n=111): time 0.01319/0.4404, allocations: 5.516 MB / 483.6 MB, free: 3.062 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.4405, allocations: 68.34 kB / 483.6 MB, free: 2.984 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.4425, allocations: 1.31 MB / 484.9 MB, free: 1.656 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 9.66e-05/0.4426, allocations: 45.7 kB / 485 MB, free: 1.605 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007621/0.4433, allocations: 0.9498 MB / 485.9 MB, free: 0.6445 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.4437, allocations: 404.5 kB / 486.3 MB, free: 252 kB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.4441, allocations: 255.6 kB / 486.6 MB, free: 15.99 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001779/0.4443, allocations: 353.9 kB / 486.9 MB, free: 15.64 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.4454, allocations: 0.6403 MB / 487.6 MB, free: 15 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.4467, allocations: 1.016 MB / 488.6 MB, free: 13.83 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.4492, allocations: 1.731 MB / 490.3 MB, free: 11.95 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.4492, allocations: 4 kB / 490.3 MB, free: 11.95 MB / 398.1 MB
Notification: Performance of matching and sorting (n=172) (initialization): time 0.003971/0.4532, allocations: 2.234 MB / 492.5 MB, free: 9.688 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.4532, allocations: 15.98 kB / 492.6 MB, free: 9.672 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.4532, allocations: 12 kB / 492.6 MB, free: 9.66 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.4545, allocations: 492.2 kB / 493.1 MB, free: 9.164 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4556, allocations: 303.6 kB / 493.4 MB, free: 8.867 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007941/0.4635, allocations: 6.817 MB / 0.4884 GB, free: 1.715 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.4648, allocations: 83.92 kB / 0.4885 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.4649, allocations: 55.98 kB / 0.4886 GB, free: 1.578 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 49
 * Number of states: 0 ()
 * Number of discrete variables: 2 (idealOpener.control,idealCloser.control)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (147):
 * Single equations (assignments): 142
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 2 systems
   {(2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001142/0.466, allocations: 0.6069 MB / 0.4892 GB, free: 0.9609 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.4664, allocations: 155 kB / 0.4893 GB, free: 0.8086 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.4702, allocations: 1.957 MB / 0.4912 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.4702, allocations: 12 kB / 0.4912 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.4702, allocations: 4 kB / 0.4912 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.4702, allocations: 7.969 kB / 0.4913 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007293/0.4775, allocations: 4.077 MB / 0.4952 GB, free: 10.63 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4775, allocations: 0 / 0.4952 GB, free: 10.63 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/0.4783, allocations: 188 kB / 0.4954 GB, free: 10.45 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.4799, allocations: 0.5429 MB / 0.4959 GB, free: 9.887 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/0.48, allocations: 39.86 kB / 0.496 GB, free: 9.848 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00955/0.4896, allocations: 8.337 MB / 0.5041 GB, free: 1.051 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.4896, allocations: 7.938 kB / 0.5041 GB, free: 1.043 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004981/0.4946, allocations: 2.856 MB / 0.5069 GB, free: 14.12 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008995/0.4955, allocations: 286.8 kB / 0.5072 GB, free: 13.84 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.4957, allocations: 32.06 kB / 0.5072 GB, free: 13.81 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/0.4965, allocations: 71.92 kB / 0.5073 GB, free: 13.74 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/0.4968, allocations: 92.8 kB / 0.5074 GB, free: 13.65 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.023e-05/0.4969, allocations: 35.98 kB / 0.5074 GB, free: 13.62 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.001406/0.4983, allocations: 0.8918 MB / 0.5083 GB, free: 12.72 MB / 430.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4983, allocations: 0 / 0.5083 GB, free: 12.72 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001561/0.4998, allocations: 440 kB / 0.5087 GB, free: 12.29 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v)
 * Number of discrete variables: 2 (idealCloser.control,idealOpener.control)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (86):
 * Single equations (assignments): 81
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 1 system
   {(2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003796/0.5002, allocations: 189.2 kB / 0.5089 GB, free: 12.1 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.003595/0.5038, allocations: 2.007 MB / 0.5108 GB, free: 10.05 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5038, allocations: 0 / 0.5108 GB, free: 10.05 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002316/0.5061, allocations: 1.377 MB / 0.5122 GB, free: 8.621 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.5081, allocations: 422.7 kB / 0.5126 GB, free: 8.219 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007051/0.5152, allocations: 4.193 MB / 0.5167 GB, free: 3.961 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.5168, allocations: 1.658 MB / 0.5183 GB, free: 2.27 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.001118/0.518, allocations: 320.8 kB / 0.5186 GB, free: 1.949 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.5182, allocations: 95.42 kB / 0.5187 GB, free: 1.855 MB / 430.1 MB
Notification: Performance of SimCode: time 1.553e-06/0.5182, allocations: 0 / 0.5187 GB, free: 1.855 MB / 430.1 MB
Notification: Performance of Templates: time 0.2573/0.7755, allocations: 25.28 MB / 0.5434 GB, free: 93.84 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 6.003331829793751]