Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.001256/0.001256, allocations: 109 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.001407/0.001407, allocations: 213.7 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.492/1.492, allocations: 230.3 MB / 258 MB, free: 8.23 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.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad")
translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.89 kB / 378.8 MB, free: 2.859 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.292, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01182/0.3038, allocations: 9.199 MB / 441.3 MB, free: 13.86 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006327/0.3102, allocations: 3.209 MB / 444.5 MB, free: 10.62 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.3112, allocations: 55.62 kB / 444.6 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001858/0.3131, allocations: 0.7221 MB / 445.3 MB, free: 9.844 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002056/0.3151, allocations: 0.7652 MB / 446.1 MB, free: 9.074 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.3158, allocations: 327.4 kB / 446.4 MB, free: 8.754 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002488/0.3183, allocations: 2.14 MB / 448.5 MB, free: 6.605 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.3196, allocations: 0.8364 MB / 449.4 MB, free: 5.715 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.321, allocations: 0.9499 MB / 450.3 MB, free: 4.762 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.3226, allocations: 1.179 MB / 451.5 MB, free: 3.578 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000328/0.323, allocations: 232 kB / 451.7 MB, free: 3.352 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006535/0.3236, allocations: 335.8 kB / 452 MB, free: 3.023 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007226/0.3243, allocations: 0.6817 MB / 452.7 MB, free: 2.34 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001164/0.3255, allocations: 1.1 MB / 453.8 MB, free: 1.234 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00344/0.329, allocations: 3.149 MB / 457 MB, free: 14.07 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.329, allocations: 8 kB / 457 MB, free: 14.07 MB / 366.1 MB
Notification: Performance of FrontEnd: time 6.342e-06/0.329, allocations: 3.984 kB / 457 MB, free: 14.06 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 3.168e-05/0.329, allocations: 0 / 457 MB, free: 14.06 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: 404
 * Number of variables: 404
Notification: Performance of Generate backend data structure: time 0.005206/0.3342, allocations: 2.27 MB / 459.3 MB, free: 11.75 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.3343, allocations: 8.031 kB / 459.3 MB, free: 11.74 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007378/0.335, allocations: 247.5 kB / 459.5 MB, free: 11.5 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.3373, allocations: 1.164 MB / 460.7 MB, free: 10.3 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.3374, allocations: 119.5 kB / 460.8 MB, free: 10.18 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.3377, allocations: 155.9 kB / 460.9 MB, free: 10.03 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/0.3413, allocations: 2.037 MB / 463 MB, free: 7.938 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.3414, allocations: 11.89 kB / 463 MB, free: 7.926 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.3415, allocations: 64 kB / 463.1 MB, free: 7.863 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.3416, allocations: 78.92 kB / 463.1 MB, free: 7.785 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.3446, allocations: 1.678 MB / 464.8 MB, free: 6.102 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.3552, allocations: 6.926 MB / 471.7 MB, free: 14.84 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/0.3561, allocations: 452.7 kB / 472.2 MB, free: 14.39 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.3566, allocations: 262 kB / 472.4 MB, free: 14.13 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.3568, allocations: 40.34 kB / 472.5 MB, free: 14.09 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.3568, allocations: 35 kB / 472.5 MB, free: 14.05 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=48): time 2.414e-06/0.3568, allocations: 384 / 472.5 MB, free: 14.05 MB / 382.1 MB
Notification: Performance of matching and sorting (n=63): time 0.007154/0.364, allocations: 2.918 MB / 475.4 MB, free: 11.1 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.364, allocations: 60.06 kB / 475.5 MB, free: 11.03 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.3666, allocations: 1.632 MB / 477.1 MB, free: 9.387 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.3666, allocations: 37.7 kB / 477.2 MB, free: 9.344 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0009207/0.3676, allocations: 1.064 MB / 478.2 MB, free: 8.27 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.3678, allocations: 250 kB / 478.5 MB, free: 8.023 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/0.3683, allocations: 323.3 kB / 478.8 MB, free: 7.703 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001287/0.3684, allocations: 309.1 kB / 479.1 MB, free: 7.398 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009723/0.3694, allocations: 0.5192 MB / 479.6 MB, free: 6.879 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.3711, allocations: 1.458 MB / 481.1 MB, free: 4.961 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.374, allocations: 2.136 MB / 483.2 MB, free: 2.363 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.374, allocations: 8 kB / 483.2 MB, free: 2.355 MB / 382.1 MB
Notification: Performance of matching and sorting (n=208) (initialization): time 0.004094/0.3781, allocations: 2.163 MB / 485.4 MB, free: 180 kB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3782, allocations: 23.98 kB / 485.4 MB, free: 156 kB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.3782, allocations: 35.94 kB / 485.4 MB, free: 120 kB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/0.3788, allocations: 218.8 kB / 485.6 MB, free: 15.89 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.38, allocations: 403.3 kB / 486 MB, free: 15.5 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.3821, allocations: 1.744 MB / 487.8 MB, free: 13.64 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.3835, allocations: 143.7 kB / 487.9 MB, free: 13.5 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.3837, allocations: 96 kB / 488 MB, free: 13.41 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 149
 * 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 (204):
 * Single equations (assignments): 201
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 1
 * 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): 1 system
   {(2,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0009877/0.3846, allocations: 0.5912 MB / 488.6 MB, free: 12.8 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.3849, allocations: 163 kB / 488.8 MB, free: 12.64 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.387, allocations: 1.089 MB / 489.8 MB, free: 11.52 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.387, allocations: 11.98 kB / 489.9 MB, free: 11.51 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.387, allocations: 0 / 489.9 MB, free: 11.51 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.387, allocations: 3.938 kB / 489.9 MB, free: 11.51 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.3921, allocations: 2.723 MB / 492.6 MB, free: 8.703 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3921, allocations: 0 / 492.6 MB, free: 8.703 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.3927, allocations: 127.9 kB / 492.7 MB, free: 8.578 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004844/0.3932, allocations: 162.4 kB / 492.9 MB, free: 8.41 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.3932, allocations: 15.98 kB / 492.9 MB, free: 8.395 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.3953, allocations: 1.693 MB / 494.6 MB, free: 6.59 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3953, allocations: 3.938 kB / 494.6 MB, free: 6.586 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.3985, allocations: 1.643 MB / 496.2 MB, free: 4.895 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.00077/0.3993, allocations: 226.9 kB / 496.4 MB, free: 4.672 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.3994, allocations: 15.98 kB / 496.5 MB, free: 4.656 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.4001, allocations: 52 kB / 496.5 MB, free: 4.605 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.4003, allocations: 60.28 kB / 496.6 MB, free: 4.547 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.4003, allocations: 16 kB / 496.6 MB, free: 4.531 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.001845/0.4022, allocations: 1.079 MB / 497.7 MB, free: 3.457 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4022, allocations: 0 / 497.7 MB, free: 3.457 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.00165/0.4038, allocations: 363.9 kB / 498 MB, free: 3.102 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 1 (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 (60):
 * Single equations (assignments): 57
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 1
 * 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): 1 system
   {(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.0003775/0.4042, allocations: 166.2 kB / 498.2 MB, free: 2.934 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.003104/0.4073, allocations: 1.42 MB / 499.6 MB, free: 1.504 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4073, allocations: 0.8125 kB / 499.6 MB, free: 1.504 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00115/0.4084, allocations: 0.577 MB / 0.4885 GB, free: 0.9102 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.4102, allocations: 418.5 kB / 0.4889 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.4157, allocations: 3.014 MB / 0.4918 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.4171, allocations: 1.465 MB / 0.4932 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0009979/0.4181, allocations: 350 kB / 0.4936 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.4184, allocations: 111.4 kB / 0.4937 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of SimCode: time 1.222e-06/0.4184, allocations: 4 kB / 0.4937 GB, free: 11.49 MB / 414.1 MB
Notification: Performance of Templates: time 0.04469/0.4631, allocations: 21.28 MB / 0.5145 GB, free: 6.391 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.218399575911462]