Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 104.5 kB / 21.18 MB, free: 0.707 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.507/1.507, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter")
translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 55.91 kB / 347.7 MB, free: 9.539 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3924, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01291/0.4053, allocations: 10.36 MB / 407.2 MB, free: 2.176 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009516/0.4148, allocations: 3.508 MB / 410.7 MB, free: 15.6 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.418, allocations: 64.09 kB / 410.8 MB, free: 15.57 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003145/0.4211, allocations: 0.8197 MB / 411.6 MB, free: 15.14 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005018/0.4261, allocations: 0.8937 MB / 412.5 MB, free: 14.56 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.4277, allocations: 438 kB / 412.9 MB, free: 14.29 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005698/0.4334, allocations: 2.768 MB / 415.7 MB, free: 12.64 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.4357, allocations: 1.327 MB / 417 MB, free: 11.76 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.4384, allocations: 1.28 MB / 418.3 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002913/0.4413, allocations: 1.625 MB / 419.9 MB, free: 9.926 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000682/0.442, allocations: 335.3 kB / 420.2 MB, free: 9.926 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.4433, allocations: 443.3 kB / 420.7 MB, free: 9.867 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001298/0.4446, allocations: 0.951 MB / 421.6 MB, free: 9.152 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00278/0.4474, allocations: 1.505 MB / 423.1 MB, free: 8.07 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007304/0.4547, allocations: 4.397 MB / 427.5 MB, free: 4.602 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4547, allocations: 0 / 427.5 MB, free: 4.602 MB / 334.1 MB
Notification: Performance of FrontEnd: time 4.819e-06/0.4547, allocations: 4 kB / 427.5 MB, free: 4.598 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 0.0001055/0.4548, allocations: 0 / 427.5 MB, free: 4.598 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 581
 * Number of variables: 581
Notification: Performance of Generate backend data structure: time 0.008491/0.4633, allocations: 3.045 MB / 430.6 MB, free: 1.504 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.4634, allocations: 15.98 kB / 430.6 MB, free: 1.488 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009552/0.4643, allocations: 327 kB / 430.9 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.4674, allocations: 1.457 MB / 432.3 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.4676, allocations: 176.3 kB / 432.5 MB, free: 15.49 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/0.468, allocations: 223.9 kB / 432.7 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00551/0.4735, allocations: 2.913 MB / 435.7 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.879e-05/0.4735, allocations: 8 kB / 435.7 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/0.4738, allocations: 91.98 kB / 435.7 MB, free: 12.18 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.4739, allocations: 116.3 kB / 435.9 MB, free: 12.06 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004642/0.4785, allocations: 2.43 MB / 438.3 MB, free: 9.613 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01665/0.4952, allocations: 8.876 MB / 447.2 MB, free: 468 kB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.4976, allocations: 1.183 MB / 448.4 MB, free: 15.27 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.4994, allocations: 0.917 MB / 449.3 MB, free: 14.35 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.4996, allocations: 52.94 kB / 449.3 MB, free: 14.3 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.4997, allocations: 47.5 kB / 449.4 MB, free: 14.24 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=105): time 4.308e-06/0.4997, allocations: 3.938 kB / 449.4 MB, free: 14.24 MB / 366.1 MB
Notification: Performance of matching and sorting (n=122): time 0.0149/0.5146, allocations: 6.032 MB / 455.4 MB, free: 8.176 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.5147, allocations: 64.41 kB / 455.5 MB, free: 8.102 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.5173, allocations: 1.565 MB / 457 MB, free: 6.527 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.5174, allocations: 49.7 kB / 457.1 MB, free: 6.473 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.5184, allocations: 1.13 MB / 458.2 MB, free: 5.328 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004767/0.5189, allocations: 452.2 kB / 458.7 MB, free: 4.883 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004597/0.5193, allocations: 271.5 kB / 458.9 MB, free: 4.609 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001501/0.5195, allocations: 305.1 kB / 459.2 MB, free: 4.309 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.5208, allocations: 0.7066 MB / 459.9 MB, free: 3.602 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.5225, allocations: 1.139 MB / 461.1 MB, free: 2.277 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.5255, allocations: 1.968 MB / 463 MB, free: 128 kB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.5255, allocations: 4 kB / 463 MB, free: 124 kB / 366.1 MB
Notification: Performance of matching and sorting (n=191) (initialization): time 0.004794/0.5303, allocations: 2.44 MB / 465.5 MB, free: 13.66 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.5303, allocations: 12.62 kB / 465.5 MB, free: 13.65 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.5304, allocations: 16 kB / 465.5 MB, free: 13.63 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.5314, allocations: 423.3 kB / 465.9 MB, free: 13.21 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.5327, allocations: 359.4 kB / 466.3 MB, free: 12.86 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008573/0.5413, allocations: 6.813 MB / 473.1 MB, free: 5.703 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.5431, allocations: 103.9 kB / 473.2 MB, free: 5.602 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.5433, allocations: 64 kB / 473.2 MB, free: 5.539 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 60
 * 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 (169):
 * Single equations (assignments): 165
 * 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,12,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.001865/0.5452, allocations: 0.716 MB / 474 MB, free: 4.812 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/0.5456, allocations: 178.8 kB / 474.1 MB, free: 4.637 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/0.5497, allocations: 2.103 MB / 476.2 MB, free: 2.504 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.5497, allocations: 15.98 kB / 476.2 MB, free: 2.488 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.5497, allocations: 4 kB / 476.3 MB, free: 2.484 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.5498, allocations: 11.92 kB / 476.3 MB, free: 2.473 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00926/0.559, allocations: 4.658 MB / 480.9 MB, free: 13.69 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.559, allocations: 4 kB / 480.9 MB, free: 13.69 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000991/0.56, allocations: 223.7 kB / 481.1 MB, free: 13.47 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.5613, allocations: 455 kB / 481.6 MB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.5614, allocations: 31.98 kB / 481.6 MB, free: 12.98 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009794/0.5712, allocations: 8.277 MB / 489.9 MB, free: 4.234 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5712, allocations: 7.938 kB / 489.9 MB, free: 4.227 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006674/0.5779, allocations: 3.144 MB / 493 MB, free: 1.004 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001655/0.5795, allocations: 334.8 kB / 493.4 MB, free: 0.6758 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005907/0.5801, allocations: 31.98 kB / 493.4 MB, free: 0.6445 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.5815, allocations: 79.91 kB / 493.5 MB, free: 0.5664 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.5818, allocations: 108.7 kB / 493.6 MB, free: 472 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.5819, allocations: 39.98 kB / 493.6 MB, free: 432 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.002754/0.5847, allocations: 1.071 MB / 494.7 MB, free: 15.35 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.5847, allocations: 3.938 kB / 494.7 MB, free: 15.35 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.002659/0.5873, allocations: 484 kB / 495.2 MB, free: 14.88 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 18
 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (108):
 * Single equations (assignments): 104
 * 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,12,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.0005616/0.5879, allocations: 196.8 kB / 495.4 MB, free: 14.67 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.004524/0.5924, allocations: 2.143 MB / 497.5 MB, free: 12.49 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.5924, allocations: 3.938 kB / 497.5 MB, free: 12.49 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002878/0.5953, allocations: 1.427 MB / 498.9 MB, free: 11.01 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/0.5989, allocations: 485.3 kB / 499.4 MB, free: 10.54 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.6107, allocations: 4.776 MB / 0.4924 GB, free: 5.668 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003625/0.6143, allocations: 1.879 MB / 0.4942 GB, free: 3.754 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.002012/0.6163, allocations: 382.9 kB / 0.4946 GB, free: 3.375 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/0.6169, allocations: 123.4 kB / 0.4947 GB, free: 3.254 MB / 414.1 MB
Notification: Performance of SimCode: time 2.164e-06/0.6169, allocations: 0 / 0.4947 GB, free: 3.254 MB / 414.1 MB
Notification: Performance of Templates: time 0.06596/0.6829, allocations: 28.13 MB / 0.5222 GB, free: 7.066 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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: 6.018312833271921]