Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.00203/0.00203, 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.003271/0.003271, 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.685/1.685, 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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad")
translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") [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.001794/0.001794, allocations: 59.91 kB / 347.7 MB, free: 9.555 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2796, allocations: 49.15 MB / 396.8 MB, free: 9.539 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008634/0.2883, allocations: 9.051 MB / 405.9 MB, free: 3.121 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005403/0.2937, allocations: 3.233 MB / 409.1 MB, free: 0.7656 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.295, allocations: 47.19 kB / 409.1 MB, free: 0.7461 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002072/0.297, allocations: 0.7249 MB / 409.9 MB, free: 372 kB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00277/0.2998, allocations: 0.7483 MB / 410.6 MB, free: 15.88 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.3009, allocations: 345.7 kB / 410.9 MB, free: 15.66 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003975/0.3049, allocations: 2.103 MB / 413.1 MB, free: 14.61 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.3062, allocations: 0.8174 MB / 413.9 MB, free: 14.07 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.3079, allocations: 0.9317 MB / 414.8 MB, free: 13.53 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.3098, allocations: 1.164 MB / 416 MB, free: 12.75 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000376/0.3102, allocations: 231.7 kB / 416.2 MB, free: 12.75 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009009/0.3111, allocations: 322.5 kB / 416.5 MB, free: 12.71 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007746/0.3119, allocations: 0.6844 MB / 417.2 MB, free: 12.2 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001421/0.3133, allocations: 1.082 MB / 418.3 MB, free: 11.43 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004197/0.3175, allocations: 3.122 MB / 421.4 MB, free: 9.109 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3175, allocations: 1.375 kB / 421.4 MB, free: 9.109 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.225e-06/0.3175, allocations: 3.938 kB / 421.4 MB, free: 9.105 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.243e-05/0.3176, allocations: 0 / 421.4 MB, free: 9.105 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: 401
 * Number of variables: 401
Notification: Performance of Generate backend data structure: time 0.005274/0.3229, allocations: 2.246 MB / 423.6 MB, free: 7.527 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.3229, allocations: 16.48 kB / 423.7 MB, free: 7.52 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007835/0.3237, allocations: 236.3 kB / 423.9 MB, free: 7.402 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.3262, allocations: 1.101 MB / 425 MB, free: 6.602 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.3263, allocations: 113.4 kB / 425.1 MB, free: 6.551 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.3266, allocations: 151.4 kB / 425.2 MB, free: 6.5 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/0.3306, allocations: 2.007 MB / 427.3 MB, free: 4.742 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.3306, allocations: 11.95 kB / 427.3 MB, free: 4.73 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.3308, allocations: 63.98 kB / 427.3 MB, free: 4.668 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.897e-05/0.3309, allocations: 74.92 kB / 427.4 MB, free: 4.594 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/0.3339, allocations: 1.647 MB / 429.1 MB, free: 2.941 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.346, allocations: 6.785 MB / 435.8 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/0.3468, allocations: 425.1 kB / 436.3 MB, free: 11.41 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.3472, allocations: 250 kB / 436.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.3474, allocations: 36.41 kB / 436.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.3474, allocations: 42.98 kB / 436.6 MB, free: 11.07 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=47): time 3.036e-06/0.3474, allocations: 0 / 436.6 MB, free: 11.07 MB / 350.1 MB
Notification: Performance of matching and sorting (n=63): time 0.007771/0.3552, allocations: 3.153 MB / 439.7 MB, free: 7.879 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.002785/0.358, allocations: 2.226 MB / 442 MB, free: 5.512 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.3607, allocations: 1.62 MB / 443.6 MB, free: 3.883 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.3608, allocations: 41.7 kB / 443.6 MB, free: 3.836 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0008994/0.3617, allocations: 1.049 MB / 444.7 MB, free: 2.777 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.362, allocations: 254 kB / 444.9 MB, free: 2.527 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000465/0.3624, allocations: 319.3 kB / 445.2 MB, free: 2.211 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001296/0.3626, allocations: 301.1 kB / 445.5 MB, free: 1.914 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008679/0.3634, allocations: 0.5231 MB / 446 MB, free: 1.391 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.3651, allocations: 1.465 MB / 447.5 MB, free: 15.46 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.368, allocations: 2.137 MB / 449.6 MB, free: 12.85 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/0.368, allocations: 8 kB / 449.6 MB, free: 12.84 MB / 366.1 MB
Notification: Performance of matching and sorting (n=208) (initialization): time 0.004018/0.372, allocations: 2.17 MB / 451.8 MB, free: 10.66 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.3721, allocations: 16 kB / 451.8 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.053e-05/0.3721, allocations: 36 kB / 451.9 MB, free: 10.61 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/0.3727, allocations: 226.4 kB / 452.1 MB, free: 10.38 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.3739, allocations: 399.6 kB / 452.5 MB, free: 9.984 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.3759, allocations: 1.744 MB / 454.2 MB, free: 8.121 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.3774, allocations: 139.6 kB / 454.4 MB, free: 7.984 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.3775, allocations: 99.94 kB / 454.5 MB, free: 7.887 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 152
 * 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.001038/0.3786, allocations: 0.5828 MB / 455 MB, free: 7.293 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.3789, allocations: 163 kB / 455.2 MB, free: 7.133 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.381, allocations: 1.112 MB / 456.3 MB, free: 5.996 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.381, allocations: 7.938 kB / 456.3 MB, free: 5.988 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.381, allocations: 4 kB / 456.3 MB, free: 5.984 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.381, allocations: 7.984 kB / 456.3 MB, free: 5.977 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005881/0.3869, allocations: 3.298 MB / 459.6 MB, free: 2.527 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.3869, allocations: 11.94 kB / 459.6 MB, free: 2.516 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.3873, allocations: 99.88 kB / 459.7 MB, free: 2.418 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006809/0.388, allocations: 234.9 kB / 460 MB, free: 2.18 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.388, allocations: 20 kB / 460 MB, free: 2.16 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004381/0.3924, allocations: 3.847 MB / 463.8 MB, free: 14.08 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002322/0.3947, allocations: 2.058 MB / 465.9 MB, free: 11.89 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.3977, allocations: 1.754 MB / 467.6 MB, free: 10.05 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/0.3984, allocations: 242.9 kB / 467.9 MB, free: 9.809 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.3986, allocations: 19.94 kB / 467.9 MB, free: 9.789 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006815/0.3993, allocations: 48.02 kB / 468 MB, free: 9.742 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.3994, allocations: 71.75 kB / 468 MB, free: 9.672 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.3995, allocations: 24.3 kB / 468 MB, free: 9.648 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.001801/0.4013, allocations: 1.07 MB / 469.1 MB, free: 8.582 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4013, allocations: 4 kB / 469.1 MB, free: 8.578 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.001859/0.4032, allocations: 383.9 kB / 469.5 MB, free: 8.203 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 22
 * Number of states: 1 ($STATESET1.x)
 * 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 (57):
 * Single equations (assignments): 54
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 2
 * 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): 1 system
   {(2,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(3,4)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003811/0.4036, allocations: 171.1 kB / 469.7 MB, free: 8.027 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.002643/0.4062, allocations: 1.417 MB / 471.1 MB, free: 6.594 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4062, allocations: 4.062 kB / 471.1 MB, free: 6.59 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001345/0.4075, allocations: 0.7446 MB / 471.8 MB, free: 5.816 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.4096, allocations: 421.2 kB / 472.2 MB, free: 5.402 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.4155, allocations: 3.23 MB / 475.5 MB, free: 2.059 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.4168, allocations: 1.469 MB / 476.9 MB, free: 0.5586 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.001056/0.4178, allocations: 350 kB / 477.3 MB, free: 216 kB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.4181, allocations: 115.4 kB / 477.4 MB, free: 104 kB / 382.1 MB
Notification: Performance of SimCode: time 9.82e-07/0.4181, allocations: 0 / 477.4 MB, free: 104 kB / 382.1 MB
Notification: Performance of Templates: time 0.04266/0.4608, allocations: 22.11 MB / 499.5 MB, free: 9.953 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_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_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.603560713119805]