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.001341/0.001341, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001104/0.001104, allocations: 169.7 kB / 24.82 MB, free: 9.254 MB / 18.57 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.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.488e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007408/0.007423, allocations: 8.841 MB / 282.2 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.01159, allocations: 3.104 MB / 285.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.01205, allocations: 55.62 kB / 285.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.01332, allocations: 0.656 MB / 286.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.01449, allocations: 0.7917 MB / 286.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.01487, allocations: 315.4 kB / 287.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.01623, allocations: 2.229 MB / 289.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007858/0.01702, allocations: 0.8051 MB / 290.2 MB, free: 384 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1172/0.1343, allocations: 1.528 MB / 291.7 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.1357, allocations: 1.002 MB / 292.7 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005346/0.1362, allocations: 223.5 kB / 292.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.1369, allocations: 319 kB / 293.2 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005427/0.1374, allocations: 0.6871 MB / 293.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000801/0.1382, allocations: 0.7364 MB / 294.7 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.14, allocations: 1.697 MB / 296.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.14, allocations: 0 / 296.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.14, allocations: 4.844 kB / 296.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.14, allocations: 0 / 296.4 MB, free: 16.5 MB / 266.7 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.002862/0.1429, allocations: 2.326 MB / 298.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.143, allocations: 10.47 kB / 298.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.1436, allocations: 368.7 kB / 299.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.1449, allocations: 1.1 MB / 300.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.145, allocations: 114.7 kB / 300.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.1451, allocations: 156.7 kB / 300.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.1466, allocations: 1.195 MB / 301.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.1466, allocations: 12.23 kB / 301.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-05/0.1467, allocations: 66.94 kB / 301.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.268e-05/0.1468, allocations: 77.25 kB / 301.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.1475, allocations: 476.5 kB / 302.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004949/0.1525, allocations: 6.191 MB / 308.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.1528, allocations: 226.5 kB / 308.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.824e-05/0.1529, allocations: 107.9 kB / 308.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.1531, allocations: 35.22 kB / 308.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.1531, allocations: 45.77 kB / 308.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.785e-06/0.1531, allocations: 3.562 kB / 308.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002323/0.1554, allocations: 1.376 MB / 310.2 MB, free: 9.734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.1554, allocations: 59.19 kB / 310.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009893/0.1564, allocations: 1.397 MB / 311.7 MB, free: 9.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.1564, allocations: 41.2 kB / 311.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.1568, allocations: 1.162 MB / 312.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.1569, allocations: 250 kB / 313.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.1572, allocations: 351 kB / 313.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.629e-05/0.1572, allocations: 480.7 kB / 313.9 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.1574, allocations: 141.6 kB / 314.1 MB, free: 7.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.1579, allocations: 1.504 MB / 315.6 MB, free: 5.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009192/0.1588, allocations: 1.852 MB / 317.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.1588, allocations: 9.312 kB / 317.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001339/0.1601, allocations: 1.394 MB / 318.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1602, allocations: 20 kB / 318.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.1602, allocations: 38.72 kB / 318.9 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.1604, allocations: 123.4 kB / 319 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.161, allocations: 371.5 kB / 319.4 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006878/0.1617, allocations: 1.817 MB / 321.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.1625, allocations: 123.6 kB / 321.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/0.1626, allocations: 80 kB / 321.4 MB, free: 15.42 MB / 282.7 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004852/0.163, allocations: 288.3 kB / 321.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.1632, allocations: 171 kB / 321.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006994/0.1639, allocations: 0.5367 MB / 322.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1639, allocations: 8 kB / 322.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1639, allocations: 0 / 322.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1639, allocations: 3.984 kB / 322.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.166, allocations: 1.676 MB / 324.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.166, allocations: 4 kB / 324.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.1663, allocations: 106.7 kB / 324.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.1664, allocations: 78.19 kB / 324.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1664, allocations: 12 kB / 324.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007469/0.1672, allocations: 1.752 MB / 326 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1672, allocations: 7.312 kB / 326 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/0.1681, allocations: 0.8349 MB / 326.9 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.1684, allocations: 194.7 kB / 327 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.1685, allocations: 16 kB / 327.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.1687, allocations: 31.97 kB / 327.1 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.1688, allocations: 48.08 kB / 327.1 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.1689, allocations: 22.8 kB / 327.2 MB, free: 9.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005934/0.1695, allocations: 0.6909 MB / 327.9 MB, free: 8.949 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1695, allocations: 0 / 327.9 MB, free: 8.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001072/0.1705, allocations: 355.9 kB / 328.2 MB, free: 8.602 MB / 282.7 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002554/0.1708, allocations: 166 kB / 328.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.1719, allocations: 0.9005 MB / 329.3 MB, free: 7.633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1719, allocations: 4 kB / 329.3 MB, free: 7.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.1723, allocations: 401.5 kB / 329.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009776/0.1733, allocations: 370.3 kB / 330 MB, free: 6.891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.1767, allocations: 2.56 MB / 332.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.177, allocations: 398.4 kB / 333 MB, free: 3.855 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005563/0.1776, allocations: 205.1 kB / 333.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/0.1782, allocations: 418 kB / 333.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.1782, allocations: 0 / 333.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of Templates: time 0.02608/0.2042, allocations: 19.29 MB / 352.9 MB, free: 372 kB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2253680489957333]