Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.0009881/0.0009881, allocations: 82.17 kB / 21.42 MB, free: 3.078 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.001688/0.001688, allocations: 152.2 kB / 24.81 MB, free: 8.781 MB / 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.023/1.023, allocations: 173.3 MB / 201.4 MB, free: 9.254 MB / 186.7 MB " [Timeout remaining time 179] 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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.476e-05, allocations: 2.312 kB / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.008424/0.008448, allocations: 9.842 MB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004896/0.01334, allocations: 3.162 MB / 281.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008037/0.01415, allocations: 75.5 kB / 281.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.01533, allocations: 0.6907 MB / 282.2 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.01689, allocations: 0.9196 MB / 283.1 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.01751, allocations: 419.2 kB / 283.5 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.01982, allocations: 3.057 MB / 286.6 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.02118, allocations: 1.345 MB / 287.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.02361, allocations: 2.269 MB / 290.2 MB, free: 304 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1245/0.1482, allocations: 1.525 MB / 291.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.1492, allocations: 342.3 kB / 292 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.1503, allocations: 439.9 kB / 292.5 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007294/0.151, allocations: 1.023 MB / 293.5 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001985/0.153, allocations: 1.086 MB / 294.6 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003201/0.1562, allocations: 2.582 MB / 297.2 MB, free: 17.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1562, allocations: 0.5156 kB / 297.2 MB, free: 17.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1562, allocations: 3.875 kB / 297.2 MB, free: 17.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.777e-05/0.1563, allocations: 1.406 kB / 297.2 MB, free: 17.56 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.004171/0.1605, allocations: 3.277 MB / 300.5 MB, free: 16.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1605, allocations: 9.703 kB / 300.5 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008153/0.1613, allocations: 0.5289 MB / 301 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.163, allocations: 1.536 MB / 302.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1631, allocations: 173.2 kB / 302.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.1633, allocations: 236.7 kB / 302.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.1654, allocations: 1.767 MB / 304.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.391e-05/0.1654, allocations: 14.61 kB / 304.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.1656, allocations: 90.59 kB / 304.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.996e-05/0.1656, allocations: 110.3 kB / 304.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1667, allocations: 0.6851 MB / 305.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006128/0.1728, allocations: 7.755 MB / 313.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007843/0.1736, allocations: 0.7639 MB / 314.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/0.1741, allocations: 0.4917 MB / 314.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.1742, allocations: 55.56 kB / 314.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.1743, allocations: 52.06 kB / 314.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.715e-06/0.1743, allocations: 0 / 314.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.00351/0.1778, allocations: 2.653 MB / 317.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.1778, allocations: 67.47 kB / 317.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.1786, allocations: 1.368 MB / 318.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.1787, allocations: 45.7 kB / 318.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.1791, allocations: 1.284 MB / 320.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.1793, allocations: 491.9 kB / 320.6 MB, free: 4.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.1795, allocations: 298.2 kB / 320.9 MB, free: 4.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.1796, allocations: 476.8 kB / 321.4 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.1798, allocations: 187.8 kB / 321.5 MB, free: 3.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.1802, allocations: 0.7575 MB / 322.3 MB, free: 2.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.1809, allocations: 1.073 MB / 323.4 MB, free: 1.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1809, allocations: 4 kB / 323.4 MB, free: 1.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001246/0.1822, allocations: 1.297 MB / 324.7 MB, free: 64 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1822, allocations: 15.94 kB / 324.7 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1822, allocations: 12.34 kB / 324.7 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.1827, allocations: 250.6 kB / 324.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.1834, allocations: 320 kB / 325.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/0.1873, allocations: 6.448 MB / 331.7 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.1884, allocations: 55.94 kB / 331.8 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/0.1885, allocations: 51.98 kB / 331.8 MB, free: 8.691 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009284/0.1894, allocations: 254.5 kB / 332.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.1898, allocations: 218.9 kB / 332.3 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.1914, allocations: 1.054 MB / 333.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1914, allocations: 18.84 kB / 333.3 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.1914, allocations: 7.938 kB / 333.4 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.1914, allocations: 11.97 kB / 333.4 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.1958, allocations: 3.137 MB / 336.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.1958, allocations: 7.984 kB / 336.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.1963, allocations: 202.3 kB / 336.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/0.1968, allocations: 272.9 kB / 337 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.1969, allocations: 35.98 kB / 337 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/0.2011, allocations: 8.155 MB / 345.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2011, allocations: 4 kB / 345.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.2032, allocations: 1.56 MB / 346.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/0.2039, allocations: 290.6 kB / 347 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.204, allocations: 32 kB / 347 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.2045, allocations: 47.97 kB / 347.1 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.2047, allocations: 112.5 kB / 347.2 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.2047, allocations: 31.98 kB / 347.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008733/0.2056, allocations: 0.7348 MB / 348 MB, free: 8.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2056, allocations: 4 kB / 348 MB, free: 8.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001424/0.207, allocations: 0.4922 MB / 348.5 MB, free: 7.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (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.0002914/0.2073, allocations: 209.1 kB / 348.7 MB, free: 7.781 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.2093, allocations: 1.417 MB / 350.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2093, allocations: 0 / 350.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000966/0.2102, allocations: 1.219 MB / 351.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.2115, allocations: 437.1 kB / 351.7 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/0.2171, allocations: 4.2 MB / 355.9 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.2176, allocations: 0.6594 MB / 356.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00104/0.2187, allocations: 222.4 kB / 356.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006794/0.2194, allocations: 481.9 kB / 357.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.743e-06/0.2194, allocations: 0 / 357.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.03662/0.256, allocations: 27.5 MB / 384.8 MB, free: 4.051 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.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.3390501560643315]