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.0009676/0.0009676, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001019/0.001019, allocations: 170.3 kB / 24.82 MB, free: 9.266 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 1.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.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.383e-06/1.383e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.841e-05, allocations: 4.844 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006508/0.006536, allocations: 7.763 MB / 281.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.009909, allocations: 2.552 MB / 283.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.01048, allocations: 27.88 kB / 283.8 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.01191, allocations: 0.5208 MB / 284.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000904/0.01281, allocations: 0.5038 MB / 284.8 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.01317, allocations: 247.7 kB / 285 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.01444, allocations: 1.482 MB / 286.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.01494, allocations: 387.2 kB / 286.9 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.01603, allocations: 0.8456 MB / 287.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.01668, allocations: 466.6 kB / 288.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.01685, allocations: 136 kB / 288.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.0171, allocations: 168 kB / 288.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.01723, allocations: 278.9 kB / 288.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.01756, allocations: 450.9 kB / 289.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008614/0.01842, allocations: 0.9106 MB / 290.1 MB, free: 468 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.01842, allocations: 0 / 290.1 MB, free: 468 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01842, allocations: 0 / 290.1 MB, free: 468 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.01844, allocations: 0 / 290.1 MB, free: 468 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.1065/0.1249, allocations: 1.489 MB / 291.6 MB, free: 24.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.125, allocations: 9.875 kB / 291.6 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.1254, allocations: 257.1 kB / 291.9 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.1263, allocations: 0.6462 MB / 292.5 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.1263, allocations: 71.64 kB / 292.6 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1264, allocations: 95.89 kB / 292.7 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.1273, allocations: 0.7345 MB / 293.4 MB, free: 24.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.1273, allocations: 6.812 kB / 293.4 MB, free: 24.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.1273, allocations: 39.27 kB / 293.4 MB, free: 24.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.1274, allocations: 23.77 kB / 293.5 MB, free: 24.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.1278, allocations: 273.9 kB / 293.7 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.1309, allocations: 3.653 MB / 297.4 MB, free: 22.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.1312, allocations: 179.5 kB / 297.6 MB, free: 22.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.1313, allocations: 77.36 kB / 297.6 MB, free: 22.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.1314, allocations: 10.88 kB / 297.6 MB, free: 22.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1314, allocations: 41.53 kB / 297.7 MB, free: 22.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.1314, allocations: 0 / 297.7 MB, free: 22.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001003/0.1324, allocations: 0.6616 MB / 298.3 MB, free: 22.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.1324, allocations: 82.8 kB / 298.4 MB, free: 22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.133, allocations: 0.7305 MB / 299.2 MB, free: 21.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.133, allocations: 30.83 kB / 299.2 MB, free: 21.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.1333, allocations: 0.6493 MB / 299.8 MB, free: 21.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.1334, allocations: 140.1 kB / 300 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.1335, allocations: 138.1 kB / 300.1 MB, free: 21.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1336, allocations: 0.5681 MB / 300.7 MB, free: 20.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.1337, allocations: 55.8 kB / 300.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.1339, allocations: 0.5225 MB / 301.3 MB, free: 19.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.1343, allocations: 0.6107 MB / 301.9 MB, free: 19.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1343, allocations: 3.656 kB / 301.9 MB, free: 19.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005939/0.1349, allocations: 0.5393 MB / 302.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1349, allocations: 10.06 kB / 302.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1349, allocations: 9.719 kB / 302.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.135, allocations: 37.23 kB / 302.5 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.1353, allocations: 154.3 kB / 302.6 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000514/0.1358, allocations: 1.725 MB / 304.3 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.1361, allocations: 39.95 kB / 304.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.1361, allocations: 25.75 kB / 304.4 MB, free: 17.41 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.0001382/0.1362, allocations: 211.5 kB / 304.6 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.1363, allocations: 86.38 kB / 304.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.1366, allocations: 256.9 kB / 304.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1366, allocations: 5.016 kB / 305 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1366, allocations: 6.938 kB / 305 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1366, allocations: 3.375 kB / 305 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/0.1375, allocations: 0.8787 MB / 305.8 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1375, allocations: 7.844 kB / 305.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1377, allocations: 68.61 kB / 305.9 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.419e-05/0.1377, allocations: 25.61 kB / 305.9 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.1377, allocations: 9.125 kB / 305.9 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005139/0.1382, allocations: 1.719 MB / 307.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1383, allocations: 7.031 kB / 307.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.1387, allocations: 0.5167 MB / 308.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.1388, allocations: 112.1 kB / 308.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.1389, allocations: 13.05 kB / 308.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.139, allocations: 18.38 kB / 308.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.1391, allocations: 29.98 kB / 308.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1391, allocations: 15.83 kB / 308.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003108/0.1394, allocations: 429 kB / 308.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1394, allocations: 0 / 308.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005375/0.1399, allocations: 188.5 kB / 309 MB, free: 14.12 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.0001689/0.1401, allocations: 122.8 kB / 309.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.1406, allocations: 442.5 kB / 309.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1406, allocations: 5.312 kB / 309.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.1407, allocations: 275.4 kB / 309.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.1413, allocations: 192.2 kB / 310 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1433, allocations: 1.595 MB / 311.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.871e-05/0.1434, allocations: 173.1 kB / 311.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.1436, allocations: 89.41 kB / 311.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.1438, allocations: 256 kB / 312.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1438, allocations: 0 / 312.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Templates: time 0.01278/0.1566, allocations: 9.731 MB / 321.8 MB, free: 3.695 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] 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","",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.960666896775365]