Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.000988/0.000988, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001006/0.001006, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 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 0.9514/0.9514, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.591e-05, allocations: 2.312 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006185/0.006201, allocations: 8.036 MB / 281 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.009462, allocations: 2.618 MB / 283.7 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.00985, allocations: 31.81 kB / 283.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008705/0.01072, allocations: 0.5208 MB / 284.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.01131, allocations: 0.5116 MB / 284.7 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.0117, allocations: 255.7 kB / 285 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009224/0.01262, allocations: 1.539 MB / 286.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.01302, allocations: 375.2 kB / 286.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006669/0.01369, allocations: 0.8612 MB / 287.7 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.01408, allocations: 478.6 kB / 288.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.01419, allocations: 144 kB / 288.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.01437, allocations: 176 kB / 288.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.0145, allocations: 286.9 kB / 288.8 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.0148, allocations: 466.9 kB / 289.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007498/0.01555, allocations: 0.9339 MB / 290.2 MB, free: 476 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01555, allocations: 0 / 290.2 MB, free: 476 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01555, allocations: 0 / 290.2 MB, free: 476 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.01556, allocations: 0 / 290.2 MB, free: 476 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.1013/0.1169, allocations: 1.508 MB / 291.7 MB, free: 29.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1169, allocations: 13.95 kB / 291.7 MB, free: 29.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000499/0.1174, allocations: 269.4 kB / 292 MB, free: 29.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/0.1182, allocations: 0.6838 MB / 292.6 MB, free: 29.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.1183, allocations: 73.7 kB / 292.7 MB, free: 29.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.1184, allocations: 99.41 kB / 292.8 MB, free: 29.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009182/0.1193, allocations: 0.8215 MB / 293.6 MB, free: 28.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.1193, allocations: 7 kB / 293.6 MB, free: 28.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.1194, allocations: 41.19 kB / 293.7 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.1194, allocations: 29.56 kB / 293.7 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.12, allocations: 359.8 kB / 294.1 MB, free: 28.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.1229, allocations: 3.618 MB / 297.7 MB, free: 26.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.1233, allocations: 275.7 kB / 298 MB, free: 25.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.1236, allocations: 198.6 kB / 298.1 MB, free: 25.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1236, allocations: 8.453 kB / 298.2 MB, free: 25.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1236, allocations: 49.12 kB / 298.2 MB, free: 25.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.1236, allocations: 0 / 298.2 MB, free: 25.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001454/0.1251, allocations: 1.006 MB / 299.2 MB, free: 25.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.1251, allocations: 81.89 kB / 299.3 MB, free: 25.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.1259, allocations: 0.7472 MB / 300 MB, free: 24.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1259, allocations: 40.05 kB / 300.1 MB, free: 24.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.1261, allocations: 0.6355 MB / 300.7 MB, free: 24.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.1262, allocations: 161.1 kB / 300.9 MB, free: 24.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.1263, allocations: 139.3 kB / 301 MB, free: 24.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1264, allocations: 0.5631 MB / 301.6 MB, free: 23.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1266, allocations: 87.64 kB / 301.7 MB, free: 23.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.1268, allocations: 0.5204 MB / 302.2 MB, free: 22.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.1273, allocations: 0.6328 MB / 302.8 MB, free: 22.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1273, allocations: 5.312 kB / 302.8 MB, free: 22.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007485/0.128, allocations: 0.6453 MB / 303.5 MB, free: 22.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.128, allocations: 12.53 kB / 303.5 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1281, allocations: 13.56 kB / 303.5 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.1282, allocations: 81.64 kB / 303.6 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.1285, allocations: 151.8 kB / 303.7 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.1297, allocations: 3.854 MB / 307.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.1299, allocations: 34.14 kB / 307.6 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.13, allocations: 36.2 kB / 307.6 MB, free: 18.14 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.0001441/0.1301, allocations: 210.7 kB / 307.8 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.1302, allocations: 97.58 kB / 307.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.1306, allocations: 375.5 kB / 308.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1306, allocations: 5.406 kB / 308.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1306, allocations: 5.25 kB / 308.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1306, allocations: 2.625 kB / 308.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.1318, allocations: 1.166 MB / 309.5 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1318, allocations: 5.594 kB / 309.5 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1319, allocations: 76.86 kB / 309.6 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.1321, allocations: 63.09 kB / 309.6 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1321, allocations: 12.27 kB / 309.6 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009131/0.133, allocations: 3.842 MB / 313.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.133, allocations: 14.33 kB / 313.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.1335, allocations: 0.6503 MB / 314.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1337, allocations: 118.9 kB / 314.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.1337, allocations: 10.09 kB / 314.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1339, allocations: 31.14 kB / 314.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.1339, allocations: 35.72 kB / 314.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.134, allocations: 15.69 kB / 314.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.1343, allocations: 468 kB / 314.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1343, allocations: 0 / 314.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004991/0.1348, allocations: 204 kB / 315 MB, free: 11.84 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.0001506/0.1349, allocations: 127.7 kB / 315.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005224/0.1355, allocations: 0.6806 MB / 315.8 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1355, allocations: 0 / 315.8 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.1357, allocations: 0.4987 MB / 316.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.1362, allocations: 206.3 kB / 316.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.138, allocations: 1.614 MB / 318.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.236e-05/0.1381, allocations: 167.3 kB / 318.3 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.1383, allocations: 96.09 kB / 318.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.1383, allocations: 56.48 kB / 318.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1383, allocations: 0 / 318.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of Templates: time 0.01144/0.1498, allocations: 10.09 MB / 328.5 MB, free: 14.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.9685107599943876]