Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002399/0.002399, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.494e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01147/0.01149, allocations: 7.084 MB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.01764, allocations: 2.447 MB / 281.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.0189, allocations: 27.88 kB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.02088, allocations: 0.5285 MB / 282.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.02286, allocations: 0.4961 MB / 282.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.02357, allocations: 247.6 kB / 283.1 MB, free: 6.938 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.026, allocations: 1.482 MB / 284.6 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009211/0.02692, allocations: 371.2 kB / 285 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.02845, allocations: 0.8494 MB / 285.8 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007969/0.02925, allocations: 430.6 kB / 286.3 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.02944, allocations: 136 kB / 286.4 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.02978, allocations: 176 kB / 286.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.03004, allocations: 282.9 kB / 286.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000577/0.03062, allocations: 446.9 kB / 287.3 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.0327, allocations: 1.702 MB / 289 MB, free: 1.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.0327, allocations: 0 / 289 MB, free: 1.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0327, allocations: 3.938 kB / 289 MB, free: 1.055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.03272, allocations: 0 / 289 MB, free: 1.055 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.1099/0.1426, allocations: 1.368 MB / 290.4 MB, free: 28.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1427, allocations: 11.19 kB / 290.4 MB, free: 28.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006368/0.1433, allocations: 256.4 kB / 290.6 MB, free: 28.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1444, allocations: 0.6824 MB / 291.3 MB, free: 28.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.1445, allocations: 73.12 kB / 291.4 MB, free: 28.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.1446, allocations: 101.6 kB / 291.5 MB, free: 28.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.1461, allocations: 0.9956 MB / 292.5 MB, free: 27.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.1461, allocations: 5.875 kB / 292.5 MB, free: 27.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.1462, allocations: 41.16 kB / 292.5 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.1462, allocations: 24.75 kB / 292.5 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.1473, allocations: 0.6262 MB / 293.2 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.1512, allocations: 3.4 MB / 296.6 MB, free: 25.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.1517, allocations: 259 kB / 296.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.1519, allocations: 141.6 kB / 297 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.152, allocations: 6 kB / 297 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.152, allocations: 45.73 kB / 297 MB, free: 25.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.422e-06/0.152, allocations: 0.7656 kB / 297 MB, free: 25.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001985/0.154, allocations: 1.047 MB / 298.1 MB, free: 24.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.154, allocations: 82 kB / 298.1 MB, free: 24.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.1548, allocations: 0.7526 MB / 298.9 MB, free: 24.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1548, allocations: 31.44 kB / 298.9 MB, free: 23.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.1551, allocations: 0.5863 MB / 299.5 MB, free: 23.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.1552, allocations: 138.2 kB / 299.6 MB, free: 23.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1553, allocations: 132.4 kB / 299.8 MB, free: 23.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.1554, allocations: 386.6 kB / 300.1 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.1557, allocations: 147.4 kB / 300.3 MB, free: 22.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.1561, allocations: 488.8 kB / 300.8 MB, free: 22.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.1568, allocations: 0.6285 MB / 301.4 MB, free: 21.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.1568, allocations: 3.625 kB / 301.4 MB, free: 21.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0011/0.1579, allocations: 0.7153 MB / 302.1 MB, free: 21.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.158, allocations: 9.812 kB / 302.1 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.158, allocations: 9.219 kB / 302.1 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.1581, allocations: 36.08 kB / 302.2 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.1586, allocations: 159.4 kB / 302.3 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006893/0.1593, allocations: 1.27 MB / 303.6 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.1598, allocations: 34.36 kB / 303.6 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.1598, allocations: 32.06 kB / 303.7 MB, free: 20.31 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.000284/0.1601, allocations: 253.5 kB / 303.9 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1602, allocations: 94.77 kB / 304 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/0.1609, allocations: 378.8 kB / 304.4 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1609, allocations: 4.125 kB / 304.4 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1609, allocations: 0.875 kB / 304.4 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1609, allocations: 2.016 kB / 304.4 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.1625, allocations: 1.035 MB / 305.4 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1625, allocations: 2.516 kB / 305.4 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.1629, allocations: 77.89 kB / 305.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.2e-05/0.163, allocations: 23.62 kB / 305.5 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.163, allocations: 14.34 kB / 305.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006034/0.1636, allocations: 1.252 MB / 306.8 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1636, allocations: 2.75 kB / 306.8 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000885/0.1645, allocations: 0.6362 MB / 307.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.1647, allocations: 99.27 kB / 307.5 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/0.1648, allocations: 10.5 kB / 307.5 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.1651, allocations: 23.59 kB / 307.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.1652, allocations: 38.66 kB / 307.6 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1652, allocations: 12.03 kB / 307.6 MB, free: 17.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005635/0.1658, allocations: 0.4998 MB / 308.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1658, allocations: 0 / 308.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006729/0.1664, allocations: 187.8 kB / 308.3 MB, free: 17.29 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.0001688/0.1666, allocations: 123.4 kB / 308.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008077/0.1674, allocations: 0.4937 MB / 308.9 MB, free: 16.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1674, allocations: 0 / 308.9 MB, free: 16.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.1678, allocations: 264.2 kB / 309.1 MB, free: 16.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.1686, allocations: 196.6 kB / 309.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1705, allocations: 1.608 MB / 310.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1708, allocations: 413.1 kB / 311.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.1711, allocations: 90.2 kB / 311.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.1712, allocations: 60.48 kB / 311.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of SimCode: time 4.9e-07/0.1712, allocations: 0 / 311.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01411/0.1853, allocations: 8.967 MB / 320.5 MB, free: 5.344 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.835584125947207]