Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 213.3 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 43.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2703, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01097/0.2813, allocations: 8.081 MB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006051/0.2874, allocations: 2.976 MB / 442.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009839/0.2884, allocations: 55.62 kB / 442.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.29, allocations: 0.6523 MB / 443.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.2921, allocations: 0.7729 MB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006811/0.2928, allocations: 319.5 kB / 444.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00246/0.2953, allocations: 2.144 MB / 446.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.2964, allocations: 0.8052 MB / 447.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.2977, allocations: 0.9499 MB / 448.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.2992, allocations: 1.082 MB / 449.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003385/0.2996, allocations: 232 kB / 449.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.3002, allocations: 331.8 kB / 450 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007264/0.301, allocations: 0.6933 MB / 450.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009758/0.3019, allocations: 0.879 MB / 451.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.3054, allocations: 3.175 MB / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3054, allocations: 3.938 kB / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3054, allocations: 0 / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.233e-05/0.3054, allocations: 0 / 454.7 MB, free: 15.43 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.004955/0.3104, allocations: 2.278 MB / 457 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.045e-05/0.3105, allocations: 8.031 kB / 457 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007698/0.3112, allocations: 239.6 kB / 457.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.3134, allocations: 1.176 MB / 458.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.3135, allocations: 115.5 kB / 458.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.3138, allocations: 159.9 kB / 458.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/0.3172, allocations: 2.112 MB / 460.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.3172, allocations: 7.953 kB / 460.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.3174, allocations: 60 kB / 460.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.413e-05/0.3174, allocations: 78.94 kB / 460.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/0.3204, allocations: 1.678 MB / 462.6 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009975/0.3304, allocations: 6.198 MB / 468.8 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009024/0.3313, allocations: 449.5 kB / 469.3 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.3317, allocations: 264.4 kB / 469.5 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.3319, allocations: 36.41 kB / 469.5 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.3319, allocations: 42.98 kB / 469.6 MB, free: 60 kB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.106e-06/0.3319, allocations: 0 / 469.6 MB, free: 60 kB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.006907/0.3389, allocations: 2.907 MB / 472.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3389, allocations: 60.06 kB / 472.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.341, allocations: 1.539 MB / 474.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.3411, allocations: 41.64 kB / 474.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.3422, allocations: 1.068 MB / 475.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.3424, allocations: 258 kB / 475.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004888/0.3429, allocations: 315.4 kB / 475.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.343, allocations: 301.1 kB / 476.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009416/0.344, allocations: 0.527 MB / 476.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.3457, allocations: 1.446 MB / 478 MB, free: 7.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.3485, allocations: 2.136 MB / 480.2 MB, free: 4.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.3485, allocations: 8 kB / 480.2 MB, free: 4.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003846/0.3524, allocations: 2.159 MB / 482.3 MB, free: 2.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.3524, allocations: 20.97 kB / 482.4 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.813e-05/0.3525, allocations: 32 kB / 482.4 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.353, allocations: 230.4 kB / 482.6 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.3542, allocations: 399.2 kB / 483 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.3561, allocations: 1.717 MB / 484.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3574, allocations: 143.7 kB / 484.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.3575, allocations: 99.98 kB / 485 MB, free: 15.57 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.00091/0.3584, allocations: 0.5828 MB / 485.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.3587, allocations: 151 kB / 485.7 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.3607, allocations: 1.091 MB / 486.8 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.3607, allocations: 8 kB / 486.8 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3607, allocations: 0 / 486.8 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.3608, allocations: 3.984 kB / 486.8 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/0.3652, allocations: 2.38 MB / 489.2 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.3652, allocations: 4 kB / 489.2 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.3657, allocations: 131.9 kB / 489.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/0.3662, allocations: 162.4 kB / 489.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.3662, allocations: 15.94 kB / 489.5 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.3679, allocations: 1.667 MB / 491.1 MB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3679, allocations: 0 / 491.1 MB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.3706, allocations: 1.626 MB / 492.8 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.3711, allocations: 219.1 kB / 493 MB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.3713, allocations: 16 kB / 493 MB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.3719, allocations: 55.92 kB / 493 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.372, allocations: 44.42 kB / 493.1 MB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.3721, allocations: 19.98 kB / 493.1 MB, free: 7.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001469/0.3736, allocations: 0.9778 MB / 494.1 MB, free: 6.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3736, allocations: 0 / 494.1 MB, free: 6.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001393/0.375, allocations: 359.9 kB / 494.4 MB, free: 5.797 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.000314/0.3753, allocations: 171.1 kB / 494.6 MB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.3779, allocations: 1.417 MB / 496 MB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3779, allocations: 0 / 496 MB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.379, allocations: 0.5811 MB / 496.6 MB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.3806, allocations: 353.3 kB / 497 MB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.3856, allocations: 2.998 MB / 500 MB, free: 216 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.3866, allocations: 0.8894 MB / 0.4891 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009458/0.3876, allocations: 337 kB / 0.4894 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.3879, allocations: 103.4 kB / 0.4895 GB, free: 14.85 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3879, allocations: 0 / 0.4895 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Templates: time 0.03777/0.4256, allocations: 20.99 MB / 0.51 GB, free: 10.22 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.161972269415855]