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.0009272/0.0009272, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0008939/0.0008939, allocations: 147.1 kB / 24.9 MB, free: 8.727 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 0.9592/0.9592, allocations: 173.4 MB / 201.5 MB, free: 8.738 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.173e-06/1.173e-06, allocations: 0 / 268.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.525e-05, allocations: 6.25 kB / 268.5 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006572/0.006587, allocations: 7.809 MB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.01052, allocations: 2.61 MB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.01097, allocations: 27.88 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009524/0.01192, allocations: 0.5285 MB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006485/0.01257, allocations: 0.5039 MB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.01285, allocations: 247.6 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009748/0.01383, allocations: 1.485 MB / 281.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.01427, allocations: 399.2 kB / 282.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007108/0.01498, allocations: 0.8456 MB / 283 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.01539, allocations: 458.6 kB / 283.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.0155, allocations: 136 kB / 283.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.0157, allocations: 176 kB / 283.7 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.01583, allocations: 282.9 kB / 284 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.01612, allocations: 446.9 kB / 284.4 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007103/0.01683, allocations: 0.899 MB / 285.3 MB, free: 5.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01683, allocations: 3.938 kB / 285.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01683, allocations: 0 / 285.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.01685, allocations: 0 / 285.3 MB, free: 5.047 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.001142/0.01799, allocations: 1.347 MB / 286.7 MB, free: 3.672 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.01802, allocations: 12.92 kB / 286.7 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.01835, allocations: 216.7 kB / 286.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.01891, allocations: 0.5137 MB / 287.4 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.01894, allocations: 70 kB / 287.5 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.01901, allocations: 96 kB / 287.6 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/0.01959, allocations: 0.7402 MB / 288.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.01962, allocations: 7.938 kB / 288.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.01965, allocations: 39.98 kB / 288.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.01967, allocations: 24 kB / 288.4 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.01994, allocations: 237.8 kB / 288.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1093/0.1293, allocations: 2.946 MB / 291.6 MB, free: 26.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1295, allocations: 171.7 kB / 291.7 MB, free: 26.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.1296, allocations: 65.33 kB / 291.8 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1296, allocations: 5.25 kB / 291.8 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1296, allocations: 41.58 kB / 291.8 MB, free: 26.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.785e-06/0.1296, allocations: 1.828 kB / 291.9 MB, free: 26.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001026/0.1307, allocations: 0.6076 MB / 292.5 MB, free: 26.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.1307, allocations: 82.23 kB / 292.5 MB, free: 26.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.1312, allocations: 0.6571 MB / 293.2 MB, free: 26.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1312, allocations: 34.61 kB / 293.2 MB, free: 26.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.1314, allocations: 0.5132 MB / 293.7 MB, free: 26.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.1315, allocations: 140 kB / 293.9 MB, free: 26.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.1316, allocations: 127.6 kB / 294 MB, free: 26.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.1317, allocations: 389.8 kB / 294.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.1317, allocations: 52.22 kB / 294.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1319, allocations: 395.6 kB / 294.8 MB, free: 25.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.1322, allocations: 491.5 kB / 295.3 MB, free: 25.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.1322, allocations: 3.5 kB / 295.3 MB, free: 25.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005186/0.1328, allocations: 449.4 kB / 295.7 MB, free: 24.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1328, allocations: 9.406 kB / 295.8 MB, free: 24.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1328, allocations: 10.62 kB / 295.8 MB, free: 24.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.1329, allocations: 39.23 kB / 295.8 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.1332, allocations: 163.5 kB / 296 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004263/0.1336, allocations: 1.171 MB / 297.1 MB, free: 23.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.1339, allocations: 33.5 kB / 297.2 MB, free: 23.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1339, allocations: 34.44 kB / 297.2 MB, free: 23.85 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.0001252/0.134, allocations: 158.5 kB / 297.4 MB, free: 23.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.1341, allocations: 59.69 kB / 297.4 MB, free: 23.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1343, allocations: 212.6 kB / 297.6 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1343, allocations: 3.984 kB / 297.6 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1343, allocations: 1.188 kB / 297.6 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1343, allocations: 2.25 kB / 297.6 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.1351, allocations: 0.6684 MB / 298.3 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1351, allocations: 2.25 kB / 298.3 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.1353, allocations: 76.22 kB / 298.4 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-05/0.1353, allocations: 21.53 kB / 298.4 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1353, allocations: 12.27 kB / 298.4 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003372/0.1357, allocations: 1.163 MB / 299.6 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1357, allocations: 2.344 kB / 299.6 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.136, allocations: 404.1 kB / 300 MB, free: 22.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1361, allocations: 70.7 kB / 300 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1361, allocations: 11.36 kB / 300 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1363, allocations: 21.84 kB / 300.1 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1363, allocations: 36.97 kB / 300.1 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1363, allocations: 13.34 kB / 300.1 MB, free: 22.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002758/0.1366, allocations: 310.8 kB / 300.4 MB, free: 21.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1366, allocations: 0 / 300.4 MB, free: 21.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004627/0.1371, allocations: 188.5 kB / 300.6 MB, free: 21.98 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.0001429/0.1372, allocations: 105.5 kB / 300.7 MB, free: 21.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.1376, allocations: 378.5 kB / 301.1 MB, free: 21.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.378e-05/0.1376, allocations: 13.62 kB / 301.1 MB, free: 21.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1377, allocations: 200.4 kB / 301.3 MB, free: 21.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.1382, allocations: 190.9 kB / 301.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.14, allocations: 1.517 MB / 303 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.1401, allocations: 162.3 kB / 303.1 MB, free: 20.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002322/0.1404, allocations: 100.8 kB / 303.2 MB, free: 20.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.1406, allocations: 220.3 kB / 303.5 MB, free: 20.64 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1406, allocations: 1.781 kB / 303.5 MB, free: 20.64 MB / 266.7 MB Notification: Performance of Templates: time 0.01278/0.1534, allocations: 9.678 MB / 313.1 MB, free: 15.59 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 -s gbode -gbm=radauIIA3 -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: 2.8125234520994127]