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.001339/0.001339, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001094/0.001094, allocations: 162.9 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9064/0.9064, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 3.984 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.156e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01013/0.01015, allocations: 8.872 MB / 282.3 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006267/0.01641, allocations: 3.208 MB / 285.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.01759, allocations: 59.62 kB / 285.5 MB, free: 5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.01933, allocations: 0.6638 MB / 286.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.02143, allocations: 0.7956 MB / 287 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.0221, allocations: 315.4 kB / 287.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.02441, allocations: 2.233 MB / 289.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.02556, allocations: 0.8325 MB / 290.4 MB, free: 84 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1202/0.1457, allocations: 1.516 MB / 291.9 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.1472, allocations: 0.9921 MB / 292.9 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.1477, allocations: 224.8 kB / 293.1 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.1483, allocations: 321.2 kB / 293.4 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005116/0.1488, allocations: 0.6837 MB / 294.1 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.1498, allocations: 0.7396 MB / 294.8 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.1517, allocations: 1.703 MB / 296.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1517, allocations: 0 / 296.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1517, allocations: 0 / 296.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.407e-05/0.1518, allocations: 0 / 296.5 MB, free: 16.36 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.002762/0.1545, allocations: 2.101 MB / 298.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1545, allocations: 14.52 kB / 298.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006081/0.1552, allocations: 302.1 kB / 298.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.1563, allocations: 0.8775 MB / 299.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.1564, allocations: 111.1 kB / 299.9 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.1565, allocations: 161 kB / 300.1 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.1578, allocations: 1.207 MB / 301.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.1579, allocations: 5.969 kB / 301.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.239e-05/0.158, allocations: 65.8 kB / 301.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/0.158, allocations: 78.52 kB / 301.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.1587, allocations: 476.8 kB / 301.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00403/0.1628, allocations: 4.984 MB / 306.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.1631, allocations: 264.3 kB / 307.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.1632, allocations: 79.36 kB / 307.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-05/0.1633, allocations: 45.75 kB / 307.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.1633, allocations: 42.03 kB / 307.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/0.1633, allocations: 0 / 307.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.00187/0.1652, allocations: 1.304 MB / 308.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.496e-05/0.1652, allocations: 61.66 kB / 308.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006469/0.1658, allocations: 1.17 MB / 309.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.1658, allocations: 40.14 kB / 309.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.1661, allocations: 0.9259 MB / 310.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.1662, allocations: 244.6 kB / 311 MB, free: 9.582 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.1664, allocations: 310.7 kB / 311.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.448e-05/0.1664, allocations: 308.9 kB / 311.6 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1666, allocations: 162.7 kB / 311.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.1669, allocations: 1.066 MB / 312.9 MB, free: 7.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.1676, allocations: 1.44 MB / 314.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.1676, allocations: 8 kB / 314.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001008/0.1686, allocations: 1.167 MB / 315.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.1687, allocations: 20 kB / 315.5 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.1687, allocations: 32 kB / 315.5 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.1689, allocations: 130.2 kB / 315.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.1694, allocations: 374.5 kB / 316 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004864/0.1699, allocations: 1.275 MB / 317.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.1704, allocations: 119.7 kB / 317.4 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.1705, allocations: 83.62 kB / 317.5 MB, free: 3.398 MB / 266.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.0002368/0.1707, allocations: 248.3 kB / 317.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.1708, allocations: 99.89 kB / 317.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.1713, allocations: 496.6 kB / 318.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1713, allocations: 4 kB / 318.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1713, allocations: 4 kB / 318.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1713, allocations: 3.984 kB / 318.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.1726, allocations: 1.429 MB / 319.8 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1726, allocations: 3.938 kB / 319.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.1728, allocations: 103.3 kB / 319.9 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.173, allocations: 129.7 kB / 320 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.1731, allocations: 12 kB / 320 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004321/0.1735, allocations: 1.227 MB / 321.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1735, allocations: 0 / 321.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.1742, allocations: 0.6937 MB / 321.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.1744, allocations: 155 kB / 322.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.1745, allocations: 23.56 kB / 322.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.1747, allocations: 27.98 kB / 322.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.1748, allocations: 47.88 kB / 322.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.1748, allocations: 12 kB / 322.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004265/0.1753, allocations: 0.5301 MB / 322.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1753, allocations: 0 / 322.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008243/0.1761, allocations: 359.9 kB / 323.1 MB, free: 13.87 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.0002125/0.1763, allocations: 147.4 kB / 323.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007932/0.1771, allocations: 0.8042 MB / 324 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-05/0.1771, allocations: 31.84 kB / 324 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.1774, allocations: 319.7 kB / 324.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.1782, allocations: 361.3 kB / 324.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.1811, allocations: 2.559 MB / 327.3 MB, free: 9.758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1813, allocations: 362.5 kB / 327.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004434/0.1818, allocations: 205.1 kB / 327.8 MB, free: 9.168 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.1823, allocations: 369.1 kB / 328.2 MB, free: 8.805 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1823, allocations: 0 / 328.2 MB, free: 8.805 MB / 282.7 MB Notification: Performance of Templates: time 0.02299/0.2053, allocations: 19.22 MB / 347.4 MB, free: 6 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.94717172998935]