Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001163/0.001163, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.0011/0.0011, allocations: 141.1 kB / 24.54 MB, free: 32 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 0.929/0.929, allocations: 173.4 MB / 201.1 MB, free: 9.328 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.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.873e-05, allocations: 6.25 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006971/0.00699, allocations: 7.938 MB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00365/0.01064, allocations: 2.548 MB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.0112, allocations: 27.88 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.01232, allocations: 0.5207 MB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008219/0.01315, allocations: 0.5 MB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.01357, allocations: 243.7 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.01481, allocations: 1.49 MB / 281.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/0.01536, allocations: 379.2 kB / 281.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.01659, allocations: 0.8378 MB / 282.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.01712, allocations: 470.6 kB / 282.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.01726, allocations: 136 kB / 283.1 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.01755, allocations: 168 kB / 283.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.0177, allocations: 282.9 kB / 283.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.01806, allocations: 458.9 kB / 284 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.0191, allocations: 0.9145 MB / 284.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01911, allocations: 0 / 284.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01911, allocations: 0 / 284.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.01912, allocations: 0 / 284.9 MB, free: 5.449 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001812/0.02093, allocations: 1.496 MB / 286.4 MB, free: 3.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.02099, allocations: 8.922 kB / 286.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.02146, allocations: 248.1 kB / 286.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.02233, allocations: 0.6685 MB / 287.3 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.02238, allocations: 70 kB / 287.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.02249, allocations: 107.9 kB / 287.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.02346, allocations: 0.7833 MB / 288.2 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.02349, allocations: 7.891 kB / 288.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.02355, allocations: 44 kB / 288.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.02357, allocations: 24 kB / 288.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/0.02412, allocations: 347.7 kB / 288.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1365/0.1606, allocations: 3.603 MB / 292.3 MB, free: 26.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.1609, allocations: 201.1 kB / 292.5 MB, free: 26.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1611, allocations: 88.64 kB / 292.5 MB, free: 26.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.1611, allocations: 6.75 kB / 292.6 MB, free: 26.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1611, allocations: 41.55 kB / 292.6 MB, free: 26.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.1611, allocations: 1.125 kB / 292.6 MB, free: 26.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001354/0.1625, allocations: 0.843 MB / 293.4 MB, free: 26.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.1625, allocations: 81.02 kB / 293.5 MB, free: 26.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007256/0.1632, allocations: 0.7467 MB / 294.3 MB, free: 25.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1632, allocations: 34.27 kB / 294.3 MB, free: 25.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.1635, allocations: 0.6488 MB / 294.9 MB, free: 25.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.1636, allocations: 133.7 kB / 295.1 MB, free: 25.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.1637, allocations: 131.4 kB / 295.2 MB, free: 25.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1639, allocations: 0.5626 MB / 295.8 MB, free: 24.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.164, allocations: 72.09 kB / 295.8 MB, free: 24.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.1642, allocations: 0.538 MB / 296.4 MB, free: 24.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.1647, allocations: 0.6277 MB / 297 MB, free: 23.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1647, allocations: 2.25 kB / 297 MB, free: 23.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007175/0.1654, allocations: 0.5818 MB / 297.6 MB, free: 23.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1654, allocations: 10.5 kB / 297.6 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.1654, allocations: 10 kB / 297.6 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.1656, allocations: 31.5 kB / 297.6 MB, free: 23.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.1659, allocations: 158.9 kB / 297.8 MB, free: 23.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006546/0.1665, allocations: 1.74 MB / 299.5 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.167, allocations: 40.95 kB / 299.6 MB, free: 21.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.167, allocations: 32.52 kB / 299.6 MB, free: 21.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.1672, allocations: 204.9 kB / 299.8 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.1672, allocations: 93.45 kB / 299.9 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.1676, allocations: 273.1 kB / 300.2 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1676, allocations: 7.25 kB / 300.2 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1676, allocations: 1.156 kB / 300.2 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1676, allocations: 8.875 kB / 300.2 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.1689, allocations: 1.025 MB / 301.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1689, allocations: 1.469 kB / 301.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.1691, allocations: 69.77 kB / 301.3 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.052e-05/0.1692, allocations: 22.34 kB / 301.3 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1692, allocations: 15.06 kB / 301.3 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004449/0.1697, allocations: 1.738 MB / 303 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1697, allocations: 10.36 kB / 303.1 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.1701, allocations: 0.5538 MB / 303.6 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.1703, allocations: 108.5 kB / 303.7 MB, free: 19.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.1703, allocations: 9.281 kB / 303.7 MB, free: 19.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1705, allocations: 17.36 kB / 303.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.1706, allocations: 31.16 kB / 303.8 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1706, allocations: 13.66 kB / 303.8 MB, free: 19.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00051/0.1711, allocations: 466.6 kB / 304.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1711, allocations: 1.188 kB / 304.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005513/0.1717, allocations: 192.1 kB / 304.4 MB, free: 18.85 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/0.1718, allocations: 124.2 kB / 304.6 MB, free: 18.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.1724, allocations: 465.4 kB / 305 MB, free: 18.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1724, allocations: 5 kB / 305 MB, free: 18.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.1725, allocations: 274.6 kB / 305.3 MB, free: 18.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.1731, allocations: 196 kB / 305.5 MB, free: 18.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.1753, allocations: 1.582 MB / 307.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.1754, allocations: 163.2 kB / 307.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.1756, allocations: 93.12 kB / 307.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.1757, allocations: 51.91 kB / 307.4 MB, free: 17.16 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1757, allocations: 4 kB / 307.4 MB, free: 17.15 MB / 266.7 MB Notification: Performance of Templates: time 0.01176/0.1875, allocations: 8.984 MB / 316.3 MB, free: 12.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.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.103430852293968]