Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.0009999/0.0009999, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001105/0.001105, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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 0.9589/0.9589, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.765e-05, allocations: 2.312 kB / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006209/0.006227, allocations: 8.03 MB / 281.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.009264, allocations: 2.618 MB / 283.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.009638, allocations: 27.88 kB / 283.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009455/0.01058, allocations: 0.5246 MB / 284.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.0112, allocations: 0.5155 MB / 284.8 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.01149, allocations: 247.7 kB / 285 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.01254, allocations: 1.544 MB / 286.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.01298, allocations: 375.2 kB / 286.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/0.01377, allocations: 0.8613 MB / 287.8 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.01421, allocations: 482.5 kB / 288.3 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.01432, allocations: 140 kB / 288.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.01453, allocations: 172 kB / 288.6 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.01467, allocations: 286.9 kB / 288.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.01501, allocations: 466.9 kB / 289.3 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008382/0.01585, allocations: 0.9339 MB / 290.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.01585, allocations: 4 kB / 290.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01585, allocations: 0 / 290.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.01587, allocations: 0 / 290.2 MB, free: 0.5586 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.1089/0.1248, allocations: 1.506 MB / 291.8 MB, free: 29.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1248, allocations: 7.875 kB / 291.8 MB, free: 29.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/0.1253, allocations: 273.4 kB / 292 MB, free: 29.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008241/0.1262, allocations: 0.6744 MB / 292.7 MB, free: 29.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.1262, allocations: 73.44 kB / 292.8 MB, free: 29.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.1263, allocations: 105.9 kB / 292.9 MB, free: 29.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/0.1272, allocations: 0.8268 MB / 293.7 MB, free: 28.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.1272, allocations: 7.297 kB / 293.7 MB, free: 28.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.1272, allocations: 42.41 kB / 293.8 MB, free: 28.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.1273, allocations: 23.62 kB / 293.8 MB, free: 28.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.1278, allocations: 359.1 kB / 294.1 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.1307, allocations: 3.619 MB / 297.7 MB, free: 26.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.131, allocations: 281.4 kB / 298 MB, free: 26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.1313, allocations: 197.7 kB / 298.2 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1314, allocations: 6.391 kB / 298.2 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1314, allocations: 42.31 kB / 298.3 MB, free: 25.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.1314, allocations: 1.078 kB / 298.3 MB, free: 25.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001331/0.1327, allocations: 1.006 MB / 299.3 MB, free: 25.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.1327, allocations: 82.7 kB / 299.3 MB, free: 25.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006292/0.1334, allocations: 0.7466 MB / 300.1 MB, free: 24.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1334, allocations: 33.05 kB / 300.1 MB, free: 24.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.1336, allocations: 0.6385 MB / 300.8 MB, free: 24.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.1337, allocations: 166.6 kB / 300.9 MB, free: 24.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.1338, allocations: 135.4 kB / 301.1 MB, free: 24.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1339, allocations: 0.5703 MB / 301.6 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1341, allocations: 84.58 kB / 301.7 MB, free: 23.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.1343, allocations: 0.5277 MB / 302.2 MB, free: 23.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.1347, allocations: 0.6346 MB / 302.9 MB, free: 22.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1347, allocations: 3.281 kB / 302.9 MB, free: 22.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006918/0.1354, allocations: 0.6431 MB / 303.5 MB, free: 22.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1355, allocations: 8.781 kB / 303.5 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1355, allocations: 15.12 kB / 303.5 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.1357, allocations: 80.69 kB / 303.6 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.136, allocations: 147.8 kB / 303.8 MB, free: 22.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.1371, allocations: 3.854 MB / 307.6 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.1373, allocations: 39.36 kB / 307.7 MB, free: 18.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.1374, allocations: 40.2 kB / 307.7 MB, free: 18.22 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.1375, allocations: 207 kB / 307.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.1376, allocations: 94.23 kB / 308 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.138, allocations: 374.8 kB / 308.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.138, allocations: 9.5 kB / 308.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.138, allocations: 2.078 kB / 308.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.138, allocations: 4.969 kB / 308.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.1391, allocations: 1.166 MB / 309.5 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1391, allocations: 5.656 kB / 309.5 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.1393, allocations: 64.78 kB / 309.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/0.1394, allocations: 71.95 kB / 309.7 MB, free: 16.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1394, allocations: 12.12 kB / 309.7 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009381/0.1404, allocations: 3.844 MB / 313.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1404, allocations: 1.625 kB / 313.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.1409, allocations: 0.6532 MB / 314.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.141, allocations: 114.8 kB / 314.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.1411, allocations: 11.91 kB / 314.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.1413, allocations: 29.3 kB / 314.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.1413, allocations: 31.44 kB / 314.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1413, allocations: 19.78 kB / 314.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000318/0.1417, allocations: 471.9 kB / 314.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1417, allocations: 0 / 314.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.1421, allocations: 200 kB / 315 MB, free: 11.95 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.0001518/0.1423, allocations: 133.8 kB / 315.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005348/0.1428, allocations: 0.6818 MB / 315.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1428, allocations: 0 / 315.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.143, allocations: 0.4965 MB / 316.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.1436, allocations: 212.8 kB / 316.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1453, allocations: 1.616 MB / 318.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.531e-05/0.1454, allocations: 175.9 kB / 318.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.1456, allocations: 90.69 kB / 318.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.1457, allocations: 56.48 kB / 318.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1457, allocations: 0 / 318.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of Templates: time 0.01205/0.1577, allocations: 10.12 MB / 328.6 MB, free: 14.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_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.1179754061158746]