Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.001849/0.001849, allocations: 104.8 kB / 21.18 MB, free: 0.6992 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.002136/0.002136, allocations: 181.2 kB / 24.46 MB, free: 4.059 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.512/1.512, 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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource")
translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") [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.001807/0.001807, allocations: 55.91 kB / 347.7 MB, free: 9.547 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3947, allocations: 49.15 MB / 396.8 MB, free: 9.734 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01497/0.4097, allocations: 10.98 MB / 407.8 MB, free: 1.945 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01244/0.4221, allocations: 3.693 MB / 411.5 MB, free: 15.24 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00423/0.4264, allocations: 80.41 kB / 411.6 MB, free: 15.2 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003607/0.43, allocations: 0.8727 MB / 412.5 MB, free: 14.73 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006697/0.4367, allocations: 0.9161 MB / 413.4 MB, free: 14.14 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.4391, allocations: 493.7 kB / 413.9 MB, free: 13.74 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.009034/0.4481, allocations: 2.959 MB / 416.8 MB, free: 11.94 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003799/0.4519, allocations: 1.522 MB / 418.3 MB, free: 10.93 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003505/0.4554, allocations: 1.401 MB / 419.7 MB, free: 10.12 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004459/0.4599, allocations: 1.799 MB / 421.5 MB, free: 8.914 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001415/0.4613, allocations: 373.6 kB / 421.9 MB, free: 8.914 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.4634, allocations: 481.4 kB / 422.4 MB, free: 8.855 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001621/0.465, allocations: 1.094 MB / 423.5 MB, free: 8.039 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002969/0.468, allocations: 1.668 MB / 425.1 MB, free: 6.828 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009565/0.4775, allocations: 4.904 MB / 430 MB, free: 2.207 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.4776, allocations: 0 / 430 MB, free: 2.207 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.925e-06/0.4776, allocations: 0 / 430 MB, free: 2.207 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 0.0002227/0.4778, allocations: 0 / 430 MB, free: 2.207 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: 660
 * Number of variables: 660
Notification: Performance of Generate backend data structure: time 0.01161/0.4894, allocations: 3.394 MB / 433.4 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.4894, allocations: 11.97 kB / 433.4 MB, free: 14.75 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.4905, allocations: 362.8 kB / 433.8 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.4939, allocations: 1.627 MB / 435.4 MB, free: 12.73 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.4941, allocations: 193.4 kB / 435.6 MB, free: 12.54 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/0.4945, allocations: 251.9 kB / 435.9 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006752/0.5013, allocations: 3.275 MB / 439.1 MB, free: 8.934 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.59e-05/0.5014, allocations: 7.953 kB / 439.1 MB, free: 8.926 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002814/0.5016, allocations: 104 kB / 439.2 MB, free: 8.824 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.5018, allocations: 128.9 kB / 439.4 MB, free: 8.695 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005842/0.5077, allocations: 2.744 MB / 442.1 MB, free: 5.938 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02303/0.5307, allocations: 10.24 MB / 452.3 MB, free: 11.33 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.5334, allocations: 1.066 MB / 453.4 MB, free: 10.25 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.535, allocations: 0.7031 MB / 454.1 MB, free: 9.547 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/0.5353, allocations: 57.98 kB / 454.2 MB, free: 9.492 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/0.5354, allocations: 47.56 kB / 454.2 MB, free: 9.438 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=97): time 3.226e-06/0.5354, allocations: 0 / 454.2 MB, free: 9.438 MB / 366.1 MB
Notification: Performance of matching and sorting (n=122): time 0.02281/0.5582, allocations: 6.773 MB / 461 MB, free: 2.625 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.5583, allocations: 68.39 kB / 461.1 MB, free: 2.547 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004726/0.563, allocations: 1.789 MB / 462.9 MB, free: 0.7578 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.5632, allocations: 45.7 kB / 462.9 MB, free: 0.707 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.565, allocations: 1.31 MB / 464.2 MB, free: 15.38 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0007703/0.5658, allocations: 448.3 kB / 464.6 MB, free: 14.94 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006635/0.5664, allocations: 295.4 kB / 464.9 MB, free: 14.64 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.00021/0.5666, allocations: 308.9 kB / 465.2 MB, free: 14.34 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.5683, allocations: 0.7769 MB / 466 MB, free: 13.56 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.5709, allocations: 1.289 MB / 467.3 MB, free: 12.05 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/0.5753, allocations: 2.222 MB / 469.5 MB, free: 9.59 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.5753, allocations: 7.938 kB / 469.5 MB, free: 9.582 MB / 382.1 MB
Notification: Performance of matching and sorting (n=203) (initialization): time 0.005428/0.5807, allocations: 2.479 MB / 472 MB, free: 7.082 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.5808, allocations: 12.69 kB / 472 MB, free: 7.07 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.5808, allocations: 16 kB / 472 MB, free: 7.055 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/0.5816, allocations: 239.3 kB / 472.3 MB, free: 6.809 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.5834, allocations: 419.3 kB / 472.7 MB, free: 6.398 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/0.5871, allocations: 3.031 MB / 475.7 MB, free: 3.133 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.5891, allocations: 135.7 kB / 475.8 MB, free: 3 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.5893, allocations: 72 kB / 475.9 MB, free: 2.93 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 75
 * 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 (198):
 * Single equations (assignments): 194
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * 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): 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): 2 systems
   {(2,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001854/0.5911, allocations: 0.8212 MB / 476.7 MB, free: 2.098 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005865/0.5917, allocations: 194.7 kB / 476.9 MB, free: 1.906 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/0.5957, allocations: 2.031 MB / 479 MB, free: 15.86 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.5957, allocations: 15.94 kB / 479 MB, free: 15.84 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5957, allocations: 4 kB / 479 MB, free: 15.84 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.5957, allocations: 15.84 kB / 479 MB, free: 15.82 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.6059, allocations: 4.693 MB / 483.7 MB, free: 11.03 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.6059, allocations: 0 / 483.7 MB, free: 11.03 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.6071, allocations: 267.6 kB / 483.9 MB, free: 10.77 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006955/0.6078, allocations: 203.5 kB / 484.1 MB, free: 10.56 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/0.6078, allocations: 27.94 kB / 484.2 MB, free: 10.53 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003238/0.6111, allocations: 3.011 MB / 487.2 MB, free: 7.289 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.333e-05/0.6111, allocations: 4 kB / 487.2 MB, free: 7.285 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005871/0.617, allocations: 3.128 MB / 490.3 MB, free: 4.098 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001753/0.6187, allocations: 366.6 kB / 490.7 MB, free: 3.738 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004607/0.6192, allocations: 19.94 kB / 490.7 MB, free: 3.719 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.6203, allocations: 99.92 kB / 490.8 MB, free: 3.621 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.6205, allocations: 88.78 kB / 490.9 MB, free: 3.535 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/0.6206, allocations: 32 kB / 490.9 MB, free: 3.504 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.002534/0.6231, allocations: 1.22 MB / 492.1 MB, free: 2.293 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.6231, allocations: 0 / 492.1 MB, free: 2.293 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.002244/0.6254, allocations: 488 kB / 492.6 MB, free: 1.816 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (120):
 * Single equations (assignments): 116
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * 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): 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): 2 systems
   {(2,1,100.0%), (1,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.0005218/0.6259, allocations: 191 kB / 492.8 MB, free: 1.621 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.004447/0.6303, allocations: 2.121 MB / 494.9 MB, free: 15.47 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6304, allocations: 0.5 kB / 494.9 MB, free: 15.47 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002068/0.6324, allocations: 1.118 MB / 496 MB, free: 14.32 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/0.6356, allocations: 0.4911 MB / 496.5 MB, free: 13.83 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.6476, allocations: 4.959 MB / 0.4897 GB, free: 8.797 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002875/0.6505, allocations: 2.01 MB / 0.4917 GB, free: 6.754 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.002136/0.6526, allocations: 0.5038 MB / 0.4922 GB, free: 6.246 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005131/0.6531, allocations: 135.4 kB / 0.4923 GB, free: 6.113 MB / 414.1 MB
Notification: Performance of SimCode: time 2.745e-06/0.6531, allocations: 0 / 0.4923 GB, free: 6.113 MB / 414.1 MB
Notification: Performance of Templates: time 0.07406/0.7272, allocations: 27.5 MB / 0.5192 GB, free: 10.56 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_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_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.304816799238324]