Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.001807/0.001807, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002121/0.002121, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.476/1.476, allocations: 230.3 MB / 258 MB, free: 8.258 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.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter")
translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 63.89 kB / 378.8 MB, free: 2.797 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3156, allocations: 53.37 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01197/0.3276, allocations: 9.761 MB / 441.9 MB, free: 13.29 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006278/0.3339, allocations: 3.17 MB / 445.1 MB, free: 10.11 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.335, allocations: 71.5 kB / 445.1 MB, free: 10.04 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001611/0.3366, allocations: 0.7221 MB / 445.9 MB, free: 9.309 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002025/0.3386, allocations: 0.8116 MB / 446.7 MB, free: 8.492 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.3394, allocations: 407.3 kB / 447.1 MB, free: 8.094 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002707/0.3421, allocations: 2.568 MB / 449.6 MB, free: 5.516 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.3438, allocations: 1.296 MB / 450.9 MB, free: 4.156 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.3453, allocations: 1.23 MB / 452.2 MB, free: 2.922 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.3473, allocations: 1.537 MB / 453.7 MB, free: 1.379 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004598/0.3478, allocations: 316 kB / 454 MB, free: 1.07 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008055/0.3486, allocations: 427.8 kB / 454.4 MB, free: 0.6523 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0009555/0.3495, allocations: 0.9193 MB / 455.4 MB, free: 15.73 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001474/0.351, allocations: 1.416 MB / 456.8 MB, free: 14.31 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004426/0.3554, allocations: 4.178 MB / 460.9 MB, free: 10.12 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3555, allocations: 0 / 460.9 MB, free: 10.12 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.703e-06/0.3555, allocations: 0 / 460.9 MB, free: 10.12 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 5.643e-05/0.3555, allocations: 0 / 460.9 MB, free: 10.12 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: 553
 * Number of variables: 553
Notification: Performance of Generate backend data structure: time 0.005952/0.3615, allocations: 2.908 MB / 463.9 MB, free: 7.16 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3615, allocations: 12.03 kB / 463.9 MB, free: 7.148 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007948/0.3623, allocations: 307.2 kB / 464.2 MB, free: 6.848 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.365, allocations: 1.467 MB / 465.6 MB, free: 5.34 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3651, allocations: 168.3 kB / 465.8 MB, free: 5.172 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.3654, allocations: 208 kB / 466 MB, free: 4.969 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/0.3701, allocations: 2.799 MB / 468.8 MB, free: 2.082 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.3701, allocations: 4 kB / 468.8 MB, free: 2.078 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.3703, allocations: 95.92 kB / 468.9 MB, free: 1.984 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.3705, allocations: 104.2 kB / 469 MB, free: 1.879 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004126/0.3746, allocations: 2.347 MB / 471.3 MB, free: 15.51 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.3881, allocations: 8.367 MB / 479.7 MB, free: 6.902 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.3904, allocations: 1.195 MB / 480.9 MB, free: 5.699 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.3921, allocations: 0.8929 MB / 481.8 MB, free: 4.809 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.3923, allocations: 52.95 kB / 481.9 MB, free: 4.758 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.3924, allocations: 51.48 kB / 481.9 MB, free: 4.695 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=101): time 2.765e-06/0.3924, allocations: 0 / 481.9 MB, free: 4.695 MB / 382.1 MB
Notification: Performance of matching and sorting (n=116): time 0.01379/0.4062, allocations: 5.732 MB / 487.6 MB, free: 14.93 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.4062, allocations: 64.41 kB / 487.7 MB, free: 14.86 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.4085, allocations: 1.441 MB / 489.1 MB, free: 13.4 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 9.21e-05/0.4086, allocations: 45.7 kB / 489.2 MB, free: 13.35 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007871/0.4093, allocations: 1.067 MB / 490.2 MB, free: 12.27 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.4097, allocations: 436.3 kB / 490.7 MB, free: 11.84 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004224/0.4101, allocations: 255.5 kB / 490.9 MB, free: 11.59 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000183/0.4103, allocations: 357.9 kB / 491.3 MB, free: 11.23 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.4115, allocations: 0.6948 MB / 492 MB, free: 10.54 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.4131, allocations: 1.073 MB / 493 MB, free: 9.305 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.4158, allocations: 1.86 MB / 494.9 MB, free: 7.281 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4159, allocations: 8 kB / 494.9 MB, free: 7.273 MB / 398.1 MB
Notification: Performance of matching and sorting (n=178) (initialization): time 0.004377/0.4202, allocations: 2.335 MB / 497.2 MB, free: 4.918 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.4203, allocations: 8 kB / 497.3 MB, free: 4.91 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.4203, allocations: 12 kB / 497.3 MB, free: 4.898 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.4213, allocations: 423.2 kB / 497.7 MB, free: 4.473 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.4226, allocations: 327.5 kB / 498 MB, free: 4.152 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/0.43, allocations: 6.743 MB / 0.4929 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.4315, allocations: 99.84 kB / 0.493 GB, free: 12.97 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.4318, allocations: 60 kB / 0.4931 GB, free: 12.91 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 52
 * 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 (157):
 * Single equations (assignments): 153
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * 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): 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): 3 systems
   {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001529/0.4333, allocations: 0.7005 MB / 0.4937 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/0.4338, allocations: 166.9 kB / 0.4939 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.4379, allocations: 2.036 MB / 0.4959 GB, free: 9.973 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.4379, allocations: 12 kB / 0.4959 GB, free: 9.961 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.4379, allocations: 4 kB / 0.4959 GB, free: 9.957 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.4379, allocations: 7.969 kB / 0.4959 GB, free: 9.949 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009106/0.4471, allocations: 4.448 MB / 0.5003 GB, free: 5.398 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.4471, allocations: 7.984 kB / 0.5003 GB, free: 5.391 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/0.448, allocations: 212.1 kB / 0.5005 GB, free: 5.184 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.4493, allocations: 459 kB / 0.5009 GB, free: 4.723 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.4494, allocations: 31.98 kB / 0.5009 GB, free: 4.691 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008947/0.4583, allocations: 8.203 MB / 0.509 GB, free: 12.03 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/0.4583, allocations: 7.938 kB / 0.509 GB, free: 12.02 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.4638, allocations: 3.033 MB / 0.5119 GB, free: 8.922 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009673/0.4648, allocations: 306.8 kB / 0.5122 GB, free: 8.621 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.4652, allocations: 35.98 kB / 0.5122 GB, free: 8.586 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.4662, allocations: 83.91 kB / 0.5123 GB, free: 8.504 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.4665, allocations: 100.6 kB / 0.5124 GB, free: 8.406 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.4666, allocations: 36 kB / 0.5125 GB, free: 8.371 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.001813/0.4684, allocations: 0.9927 MB / 0.5134 GB, free: 7.379 MB / 430.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4684, allocations: 0 / 0.5134 GB, free: 7.379 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.00174/0.4701, allocations: 467.9 kB / 0.5139 GB, free: 6.922 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 14
 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.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 (102):
 * Single equations (assignments): 98
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(3,11,100.0%), (1,6,100.0%), (1,1,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.000423/0.4705, allocations: 191 kB / 0.5141 GB, free: 6.727 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.003865/0.4744, allocations: 2.083 MB / 0.5161 GB, free: 4.602 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.4744, allocations: 4 kB / 0.5161 GB, free: 4.598 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002461/0.4769, allocations: 1.399 MB / 0.5175 GB, free: 3.148 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.4792, allocations: 422.9 kB / 0.5179 GB, free: 2.746 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009146/0.4883, allocations: 4.523 MB / 0.5223 GB, free: 14.14 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002202/0.4905, allocations: 1.807 MB / 0.524 GB, free: 12.3 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001275/0.4918, allocations: 369.6 kB / 0.5244 GB, free: 11.93 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.4922, allocations: 115.4 kB / 0.5245 GB, free: 11.82 MB / 446.1 MB
Notification: Performance of SimCode: time 1.152e-06/0.4922, allocations: 0 / 0.5245 GB, free: 11.82 MB / 446.1 MB
Notification: Performance of Templates: time 0.2731/0.7653, allocations: 26.07 MB / 0.55 GB, free: 96.2 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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: 5.894811165519059]