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.001426/0.001426, allocations: 110.5 kB / 21.1 MB, free: 0.7695 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: 209.1 kB / 24.38 MB, free: 4.184 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.466/1.466, allocations: 230.2 MB / 257.7 MB, free: 8.281 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.001883/0.001883, allocations: 67.89 kB / 378.4 MB, free: 2.871 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2796, allocations: 53.37 MB / 431.8 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01206/0.2917, allocations: 9.123 MB / 440.9 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007103/0.2988, allocations: 3.203 MB / 444.1 MB, free: 10.71 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.2999, allocations: 51.69 kB / 444.2 MB, free: 10.66 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001976/0.3019, allocations: 0.726 MB / 444.9 MB, free: 9.934 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002004/0.3039, allocations: 0.7652 MB / 445.6 MB, free: 9.164 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.3046, allocations: 323.4 kB / 446 MB, free: 8.848 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002614/0.3072, allocations: 2.14 MB / 448.1 MB, free: 6.688 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.3085, allocations: 0.8403 MB / 448.9 MB, free: 5.793 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.3099, allocations: 0.946 MB / 449.9 MB, free: 4.844 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.3115, allocations: 1.183 MB / 451.1 MB, free: 3.656 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.3118, allocations: 232 kB / 451.3 MB, free: 3.43 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.3124, allocations: 331.8 kB / 451.6 MB, free: 3.105 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007304/0.3131, allocations: 0.6817 MB / 452.3 MB, free: 2.422 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001049/0.3142, allocations: 1.1 MB / 453.4 MB, free: 1.316 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003419/0.3176, allocations: 3.145 MB / 456.5 MB, free: 14.16 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3176, allocations: 4 kB / 456.6 MB, free: 14.16 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.794e-06/0.3176, allocations: 0 / 456.6 MB, free: 14.16 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 6.238e-05/0.3177, allocations: 0 / 456.6 MB, free: 14.16 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.00491/0.3226, allocations: 2.278 MB / 458.8 MB, free: 11.84 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3226, allocations: 8.031 kB / 458.8 MB, free: 11.83 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.3233, allocations: 243.5 kB / 459.1 MB, free: 11.59 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.3258, allocations: 1.172 MB / 460.2 MB, free: 10.38 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.3259, allocations: 119.4 kB / 460.4 MB, free: 10.26 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.3261, allocations: 159.9 kB / 460.5 MB, free: 10.11 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.3296, allocations: 2.025 MB / 462.5 MB, free: 8.027 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.3297, allocations: 15.89 kB / 462.6 MB, free: 8.012 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.3298, allocations: 63.98 kB / 462.6 MB, free: 7.949 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.829e-05/0.3299, allocations: 78.94 kB / 462.7 MB, free: 7.871 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.3329, allocations: 1.682 MB / 464.4 MB, free: 6.184 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.3438, allocations: 6.883 MB / 471.3 MB, free: 14.96 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/0.3447, allocations: 449.7 kB / 471.7 MB, free: 14.52 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.3452, allocations: 265.1 kB / 472 MB, free: 14.26 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.3454, allocations: 48.33 kB / 472 MB, free: 14.21 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3454, allocations: 35 kB / 472 MB, free: 14.17 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=48): time 2.755e-06/0.3455, allocations: 0 / 472 MB, free: 14.17 MB / 382.1 MB
Notification: Performance of matching and sorting (n=63): time 0.007492/0.3529, allocations: 2.915 MB / 475 MB, free: 11.22 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.353, allocations: 60.06 kB / 475 MB, free: 11.15 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.3556, allocations: 1.636 MB / 476.7 MB, free: 9.508 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.3557, allocations: 37.7 kB / 476.7 MB, free: 9.465 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0009597/0.3566, allocations: 1.064 MB / 477.8 MB, free: 8.391 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.3569, allocations: 246 kB / 478 MB, free: 8.148 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004659/0.3573, allocations: 323.3 kB / 478.3 MB, free: 7.828 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001349/0.3575, allocations: 305.1 kB / 478.6 MB, free: 7.527 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009476/0.3584, allocations: 0.5231 MB / 479.1 MB, free: 7.004 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.3601, allocations: 1.454 MB / 480.6 MB, free: 5.09 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.363, allocations: 2.14 MB / 482.7 MB, free: 2.488 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.363, allocations: 12 kB / 482.7 MB, free: 2.477 MB / 382.1 MB
Notification: Performance of matching and sorting (n=208) (initialization): time 0.004032/0.367, allocations: 2.159 MB / 484.9 MB, free: 308 kB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.3671, allocations: 20.97 kB / 484.9 MB, free: 288 kB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/0.3671, allocations: 32 kB / 484.9 MB, free: 256 kB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.3677, allocations: 230.3 kB / 485.2 MB, free: 16 kB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.3689, allocations: 399.4 kB / 485.6 MB, free: 15.62 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.3708, allocations: 1.74 MB / 487.3 MB, free: 13.77 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3723, allocations: 143.7 kB / 487.4 MB, free: 13.62 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.3724, allocations: 95.98 kB / 487.5 MB, free: 13.53 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.001009/0.3734, allocations: 0.5951 MB / 488.1 MB, free: 12.93 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.3737, allocations: 159 kB / 488.3 MB, free: 12.77 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.3758, allocations: 1.097 MB / 489.4 MB, free: 11.64 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3758, allocations: 8 kB / 489.4 MB, free: 11.63 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3758, allocations: 0 / 489.4 MB, free: 11.63 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3758, allocations: 7.922 kB / 489.4 MB, free: 11.62 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004908/0.3807, allocations: 2.73 MB / 492.1 MB, free: 8.816 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3807, allocations: 0 / 492.1 MB, free: 8.816 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.3813, allocations: 115.9 kB / 492.2 MB, free: 8.703 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.3818, allocations: 166.6 kB / 492.4 MB, free: 8.531 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.3818, allocations: 16 kB / 492.4 MB, free: 8.516 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.3835, allocations: 1.686 MB / 494.1 MB, free: 6.719 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.3835, allocations: 7.875 kB / 494.1 MB, free: 6.711 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.3864, allocations: 1.643 MB / 495.8 MB, free: 5.02 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007621/0.3871, allocations: 226.9 kB / 496 MB, free: 4.797 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.3873, allocations: 12 kB / 496 MB, free: 4.785 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.3879, allocations: 51.94 kB / 496 MB, free: 4.734 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.3881, allocations: 56.28 kB / 496.1 MB, free: 4.68 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.3882, allocations: 19.98 kB / 496.1 MB, free: 4.66 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.001768/0.3899, allocations: 1.079 MB / 497.2 MB, free: 3.586 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3899, allocations: 0 / 497.2 MB, free: 3.586 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001468/0.3914, allocations: 367.9 kB / 497.6 MB, free: 3.227 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.0004345/0.3918, allocations: 166.3 kB / 497.7 MB, free: 3.059 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.003171/0.395, allocations: 1.425 MB / 499.1 MB, free: 1.625 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.395, allocations: 0 / 499.1 MB, free: 1.625 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00111/0.3961, allocations: 0.5775 MB / 499.7 MB, free: 1.031 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.3983, allocations: 409.7 kB / 0.4884 GB, free: 0.6445 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/0.4039, allocations: 3.021 MB / 0.4913 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.4052, allocations: 1.461 MB / 0.4928 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.00113/0.4063, allocations: 358 kB / 0.4931 GB, free: 11.72 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.4066, allocations: 111.4 kB / 0.4932 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of SimCode: time 1.282e-06/0.4066, allocations: 0 / 0.4932 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of Templates: time 0.04463/0.4512, allocations: 21.28 MB / 0.514 GB, free: 6.516 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.2830955954268575]