Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.002444/0.002444, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002605/0.002605, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 173.3 MB / 200.8 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.361e-05, allocations: 2.312 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01304/0.01306, allocations: 8.898 MB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006379/0.01944, allocations: 3.081 MB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009585/0.0204, allocations: 55.62 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.02222, allocations: 0.6522 MB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.02437, allocations: 0.7762 MB / 280.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.02515, allocations: 331.4 kB / 281.1 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.02826, allocations: 2.178 MB / 283.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.02964, allocations: 0.8086 MB / 284.1 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.03186, allocations: 1.364 MB / 285.5 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.03373, allocations: 1.033 MB / 286.5 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004243/0.03415, allocations: 228 kB / 286.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007705/0.03492, allocations: 319.8 kB / 287 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008818/0.0358, allocations: 0.7167 MB / 287.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.03693, allocations: 0.7483 MB / 288.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1111/0.148, allocations: 3.152 MB / 291.6 MB, free: 20 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.148, allocations: 0 / 291.6 MB, free: 20 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.148, allocations: 0 / 291.6 MB, free: 20 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.717e-05/0.1481, allocations: 4.719 kB / 291.6 MB, free: 20 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004634/0.1527, allocations: 2.548 MB / 294.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1528, allocations: 9.766 kB / 294.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.1536, allocations: 366.8 kB / 294.6 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.1558, allocations: 1.148 MB / 295.7 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.1559, allocations: 118.4 kB / 295.8 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.1561, allocations: 154 kB / 296 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003025/0.1591, allocations: 1.896 MB / 297.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/0.1592, allocations: 9.828 kB / 297.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.1594, allocations: 69.47 kB / 298 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.983e-05/0.1594, allocations: 80.23 kB / 298 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.1616, allocations: 1.187 MB / 299.2 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009887/0.1715, allocations: 8.387 MB / 307.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.172, allocations: 282 kB / 307.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.1723, allocations: 135 kB / 308 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.1724, allocations: 46.64 kB / 308.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.1725, allocations: 37.89 kB / 308.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.1725, allocations: 0 / 308.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.005314/0.1778, allocations: 2.226 MB / 310.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00166/0.1794, allocations: 2.584 MB / 312.9 MB, free: 9.184 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.1815, allocations: 1.91 MB / 314.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.414e-05/0.1816, allocations: 36.02 kB / 314.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/0.1822, allocations: 1.222 MB / 316.1 MB, free: 6.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.1823, allocations: 263.1 kB / 316.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/0.1827, allocations: 397 kB / 316.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.1828, allocations: 480.7 kB / 317.2 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.1833, allocations: 295.8 kB / 317.5 MB, free: 5.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/0.1841, allocations: 1.74 MB / 319.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.1855, allocations: 2.18 MB / 321.4 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.1856, allocations: 12 kB / 321.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003045/0.1886, allocations: 1.753 MB / 323.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.1886, allocations: 23.56 kB / 323.2 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.1887, allocations: 32 kB / 323.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.1892, allocations: 135 kB / 323.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.1904, allocations: 394.2 kB / 323.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.1924, allocations: 1.937 MB / 325.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.1937, allocations: 139.7 kB / 325.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.1939, allocations: 95.98 kB / 325.9 MB, free: 12.17 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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.0008575/0.1947, allocations: 0.5091 MB / 326.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.195, allocations: 178.9 kB / 326.6 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.1967, allocations: 0.6846 MB / 327.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1967, allocations: 8 kB / 327.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1967, allocations: 4 kB / 327.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.1967, allocations: 11.55 kB / 327.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006493/0.2032, allocations: 3.109 MB / 330.4 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.2033, allocations: 4 kB / 330.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.2037, allocations: 114.5 kB / 330.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006883/0.2044, allocations: 173 kB / 330.7 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.2045, allocations: 16 kB / 330.7 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004683/0.2091, allocations: 4.327 MB / 335 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002867/0.212, allocations: 2.512 MB / 337.5 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.2144, allocations: 1.209 MB / 338.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/0.2151, allocations: 211 kB / 339 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.2153, allocations: 27.94 kB / 339 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.216, allocations: 47.94 kB / 339 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.2161, allocations: 63.69 kB / 339.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.2162, allocations: 23.98 kB / 339.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001792/0.218, allocations: 1.024 MB / 340.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.218, allocations: 4.031 kB / 340.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001704/0.2197, allocations: 376 kB / 340.5 MB, free: 13.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003452/0.22, allocations: 174 kB / 340.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.2224, allocations: 1.233 MB / 341.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.2224, allocations: 4.062 kB / 341.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.2238, allocations: 0.7429 MB / 342.7 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.2255, allocations: 371.5 kB / 343 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.2308, allocations: 3.032 MB / 346 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.2319, allocations: 0.8419 MB / 346.9 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008467/0.2327, allocations: 288.9 kB / 347.2 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.233, allocations: 104.5 kB / 347.3 MB, free: 6.051 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.233, allocations: 0 / 347.3 MB, free: 6.051 MB / 298.7 MB Notification: Performance of Templates: time 0.03896/0.2719, allocations: 19.56 MB / 366.8 MB, free: 2.832 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.242951050051488]