Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.002521/0.002521, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002979/0.002979, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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.579/1.579, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.763e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01173/0.01175, allocations: 7.888 MB / 280.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.0166, allocations: 2.564 MB / 282.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005729/0.01718, allocations: 27.88 kB / 282.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.01858, allocations: 0.5246 MB / 283.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.01964, allocations: 0.5 MB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.02012, allocations: 243.7 kB / 284 MB, free: 6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.02191, allocations: 1.49 MB / 285.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/0.02257, allocations: 375.2 kB / 285.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.02377, allocations: 0.8495 MB / 286.7 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009253/0.02469, allocations: 458.6 kB / 287.1 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.02489, allocations: 140 kB / 287.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.02524, allocations: 172 kB / 287.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.02551, allocations: 282.9 kB / 287.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005498/0.02606, allocations: 458.9 kB / 288.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.0281, allocations: 1.702 MB / 289.8 MB, free: 72 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.02811, allocations: 4 kB / 289.8 MB, free: 68 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02811, allocations: 4 kB / 289.8 MB, free: 64 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.02812, allocations: 0 / 289.8 MB, free: 64 kB / 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.1147/0.1428, allocations: 1.578 MB / 291.4 MB, free: 28.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1429, allocations: 14.05 kB / 291.4 MB, free: 28.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00063/0.1435, allocations: 255.4 kB / 291.7 MB, free: 28.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.1446, allocations: 0.688 MB / 292.4 MB, free: 28.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.1446, allocations: 70.06 kB / 292.4 MB, free: 28.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.1448, allocations: 96.58 kB / 292.5 MB, free: 28.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.1464, allocations: 1.07 MB / 293.6 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.1464, allocations: 7.703 kB / 293.6 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.1465, allocations: 40.77 kB / 293.7 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.1465, allocations: 24.62 kB / 293.7 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.1476, allocations: 0.5936 MB / 294.3 MB, free: 27.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005213/0.1529, allocations: 4.709 MB / 299 MB, free: 24.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.1534, allocations: 269.3 kB / 299.2 MB, free: 24.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.1536, allocations: 137.3 kB / 299.4 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.1537, allocations: 7.531 kB / 299.4 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1537, allocations: 43.77 kB / 299.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.1537, allocations: 1.375 kB / 299.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00196/0.1556, allocations: 1.024 MB / 300.5 MB, free: 23.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.1557, allocations: 82.03 kB / 300.5 MB, free: 23.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.1568, allocations: 0.9693 MB / 301.5 MB, free: 22.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1568, allocations: 32.27 kB / 301.5 MB, free: 22.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.1572, allocations: 0.6813 MB / 302.2 MB, free: 22.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.1572, allocations: 143.4 kB / 302.4 MB, free: 22.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.1574, allocations: 159.8 kB / 302.5 MB, free: 22.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1576, allocations: 0.6138 MB / 303.1 MB, free: 21.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.1579, allocations: 139.5 kB / 303.3 MB, free: 21.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.1583, allocations: 0.6229 MB / 303.9 MB, free: 20.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.1589, allocations: 0.7682 MB / 304.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.1589, allocations: 3.812 kB / 304.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001023/0.16, allocations: 0.7018 MB / 305.4 MB, free: 19.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.16, allocations: 10.2 kB / 305.4 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.16, allocations: 11.5 kB / 305.4 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.1602, allocations: 40.17 kB / 305.4 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.1606, allocations: 154.8 kB / 305.6 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007657/0.1614, allocations: 1.792 MB / 307.4 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.1619, allocations: 29.78 kB / 307.4 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.1619, allocations: 34.84 kB / 307.4 MB, free: 18.03 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.0003052/0.1622, allocations: 303.1 kB / 307.7 MB, free: 17.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1623, allocations: 99.14 kB / 307.8 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005999/0.1629, allocations: 354.9 kB / 308.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1629, allocations: 3.969 kB / 308.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1629, allocations: 0.7031 kB / 308.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1629, allocations: 2.391 kB / 308.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.1646, allocations: 1.348 MB / 309.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1646, allocations: 4 kB / 309.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.1649, allocations: 65.17 kB / 309.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.974e-05/0.165, allocations: 26.69 kB / 309.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.165, allocations: 11.94 kB / 309.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006269/0.1656, allocations: 1.772 MB / 311.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1656, allocations: 6.875 kB / 311.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.1664, allocations: 0.6863 MB / 312.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.1666, allocations: 107.4 kB / 312.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/0.1667, allocations: 8 kB / 312.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.167, allocations: 28.05 kB / 312.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.1671, allocations: 27.89 kB / 312.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1671, allocations: 12 kB / 312.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005644/0.1676, allocations: 0.5888 MB / 312.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1676, allocations: 0 / 312.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006842/0.1683, allocations: 191.9 kB / 313 MB, free: 12.71 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.0001856/0.1685, allocations: 123.7 kB / 313.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008008/0.1693, allocations: 0.5947 MB / 313.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1693, allocations: 0 / 313.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.1697, allocations: 321.2 kB / 314.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009095/0.1706, allocations: 197.1 kB / 314.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1726, allocations: 1.653 MB / 315.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.1729, allocations: 404.7 kB / 316.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.1732, allocations: 97.81 kB / 316.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/0.1733, allocations: 48.5 kB / 316.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1733, allocations: 0 / 316.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of Templates: time 0.01444/0.1877, allocations: 8.987 MB / 325.4 MB, free: 424 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.080248588928953]