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.0009093/0.0009093, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009423/0.0009423, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.03/1.03, allocations: 177 MB / 205.1 MB, free: 5.477 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 1.644e-06/1.644e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.535e-05, allocations: 5.266 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01034/0.01037, allocations: 8.858 MB / 282.2 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005656/0.01602, allocations: 3.096 MB / 285.3 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/0.01699, allocations: 55.62 kB / 285.3 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.01856, allocations: 0.6599 MB / 286 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.02042, allocations: 0.7839 MB / 286.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.02104, allocations: 327.4 kB / 287.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002213/0.02325, allocations: 2.228 MB / 289.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.02436, allocations: 0.8051 MB / 290.1 MB, free: 296 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1221/0.1464, allocations: 1.534 MB / 291.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.1482, allocations: 0.9995 MB / 292.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006591/0.1488, allocations: 225.2 kB / 292.9 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007768/0.1496, allocations: 325 kB / 293.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005781/0.1502, allocations: 0.6848 MB / 293.9 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.1515, allocations: 0.7379 MB / 294.6 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.154, allocations: 1.702 MB / 296.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.154, allocations: 1.234 kB / 296.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.154, allocations: 1.406 kB / 296.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.467e-05/0.1541, allocations: 2.531 kB / 296.3 MB, free: 16.43 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.003459/0.1575, allocations: 2.321 MB / 298.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1576, allocations: 14.3 kB / 298.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007242/0.1583, allocations: 373.1 kB / 299 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.1598, allocations: 1.113 MB / 300.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.1598, allocations: 115 kB / 300.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.16, allocations: 154.5 kB / 300.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.1616, allocations: 1.196 MB / 301.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/0.1617, allocations: 13.19 kB / 301.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.1618, allocations: 65.59 kB / 301.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.169e-05/0.1618, allocations: 75.44 kB / 301.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.1626, allocations: 480.2 kB / 302.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005945/0.1685, allocations: 6.188 MB / 308.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.1689, allocations: 232.2 kB / 308.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1691, allocations: 96.62 kB / 308.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.1692, allocations: 38.73 kB / 308.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1692, allocations: 48.27 kB / 308.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.1692, allocations: 0 / 308.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002576/0.1718, allocations: 1.378 MB / 310.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.1718, allocations: 58.78 kB / 310.3 MB, free: 9.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.173, allocations: 1.399 MB / 311.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.173, allocations: 36.98 kB / 311.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.1735, allocations: 1.164 MB / 312.9 MB, free: 7.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.1736, allocations: 257.9 kB / 313.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.1739, allocations: 336 kB / 313.4 MB, free: 7.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.676e-05/0.1739, allocations: 484.7 kB / 313.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.1741, allocations: 140.8 kB / 314 MB, free: 7.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.1747, allocations: 1.514 MB / 315.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1758, allocations: 1.845 MB / 317.4 MB, free: 3.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.1758, allocations: 8 kB / 317.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00164/0.1774, allocations: 1.4 MB / 318.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.1775, allocations: 20 kB / 318.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.1775, allocations: 32 kB / 318.9 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.1777, allocations: 124.5 kB / 319 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.1785, allocations: 380 kB / 319.4 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000822/0.1793, allocations: 1.813 MB / 321.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/0.1802, allocations: 115.6 kB / 321.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/0.1803, allocations: 83.98 kB / 321.4 MB, free: 15.24 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.0003889/0.1807, allocations: 286.4 kB / 321.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.1809, allocations: 167.1 kB / 321.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/0.1817, allocations: 0.5373 MB / 322.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1817, allocations: 11 kB / 322.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1817, allocations: 0 / 322.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1817, allocations: 3.984 kB / 322.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.184, allocations: 1.676 MB / 324 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.184, allocations: 4 kB / 324 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.1843, allocations: 99.08 kB / 324.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.1845, allocations: 88.25 kB / 324.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.1845, allocations: 15.98 kB / 324.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000824/0.1854, allocations: 1.749 MB / 326 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1854, allocations: 4 kB / 326 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009688/0.1863, allocations: 0.8513 MB / 326.8 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.1866, allocations: 189.6 kB / 327 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1867, allocations: 16 kB / 327 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.1871, allocations: 27.98 kB / 327.1 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.1872, allocations: 48.41 kB / 327.1 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.1872, allocations: 16 kB / 327.1 MB, free: 9.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006984/0.1879, allocations: 0.6955 MB / 327.8 MB, free: 8.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1879, allocations: 3.562 kB / 327.8 MB, free: 8.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001192/0.1891, allocations: 352 kB / 328.2 MB, free: 8.434 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.0002644/0.1894, allocations: 165.9 kB / 328.3 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.1905, allocations: 0.9042 MB / 329.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1905, allocations: 0 / 329.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.1909, allocations: 407.6 kB / 329.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.192, allocations: 363.5 kB / 330 MB, free: 6.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.1957, allocations: 2.569 MB / 332.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.196, allocations: 402.4 kB / 333 MB, free: 3.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000579/0.1966, allocations: 205.2 kB / 333.2 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/0.1973, allocations: 422 kB / 333.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1973, allocations: 0 / 333.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of Templates: time 0.02936/0.2266, allocations: 19.29 MB / 352.9 MB, free: 160 kB / 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: 3.1719440571032465]