Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001432/0.001432, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009741/0.0009741, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.001/1.001, allocations: 177 MB / 205.2 MB, free: 5.449 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.415e-05, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006293/0.006308, allocations: 7.825 MB / 281.3 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.01002, allocations: 2.641 MB / 283.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004387/0.01046, allocations: 27.88 kB / 283.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.01147, allocations: 0.544 MB / 284.5 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007012/0.01217, allocations: 0.4922 MB / 285 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.01251, allocations: 251.6 kB / 285.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.01358, allocations: 1.494 MB / 286.7 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.01403, allocations: 387.2 kB / 287.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008045/0.01483, allocations: 0.8456 MB / 287.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.0153, allocations: 462.6 kB / 288.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.01541, allocations: 132 kB / 288.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.01565, allocations: 172 kB / 288.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.01579, allocations: 286.9 kB / 289 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.01608, allocations: 450.9 kB / 289.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000789/0.01686, allocations: 0.9028 MB / 290.3 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01687, allocations: 0 / 290.3 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01687, allocations: 0 / 290.3 MB, free: 212 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.01688, allocations: 0 / 290.3 MB, free: 212 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.1087/0.1255, allocations: 1.342 MB / 291.6 MB, free: 25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1256, allocations: 14.45 kB / 291.7 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.126, allocations: 211.5 kB / 291.9 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007581/0.1268, allocations: 0.517 MB / 292.4 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.1268, allocations: 72.16 kB / 292.5 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/0.1269, allocations: 98.91 kB / 292.6 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.1277, allocations: 0.7353 MB / 293.3 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.1277, allocations: 10.27 kB / 293.3 MB, free: 24.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.1278, allocations: 40.38 kB / 293.3 MB, free: 24.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.1278, allocations: 23.66 kB / 293.4 MB, free: 24.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.1282, allocations: 230 kB / 293.6 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.131, allocations: 2.954 MB / 296.5 MB, free: 22.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.1313, allocations: 168 kB / 296.7 MB, free: 22.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.1314, allocations: 72.7 kB / 296.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1314, allocations: 9.422 kB / 296.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1314, allocations: 37.52 kB / 296.8 MB, free: 22.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.1314, allocations: 0 / 296.8 MB, free: 22.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001012/0.1324, allocations: 0.6071 MB / 297.4 MB, free: 22.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.1325, allocations: 85.61 kB / 297.5 MB, free: 22.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.133, allocations: 0.6523 MB / 298.2 MB, free: 22.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.133, allocations: 35.86 kB / 298.2 MB, free: 22.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.1332, allocations: 0.5038 MB / 298.7 MB, free: 21.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.1333, allocations: 140.7 kB / 298.8 MB, free: 21.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.1334, allocations: 127.7 kB / 299 MB, free: 21.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1335, allocations: 395.1 kB / 299.3 MB, free: 21.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.1336, allocations: 52.17 kB / 299.4 MB, free: 21.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.1338, allocations: 397 kB / 299.8 MB, free: 21.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.1341, allocations: 0.4933 MB / 300.3 MB, free: 20.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.1341, allocations: 3.438 kB / 300.3 MB, free: 20.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005513/0.1347, allocations: 441.8 kB / 300.7 MB, free: 20.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1347, allocations: 10.45 kB / 300.7 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.1347, allocations: 10.06 kB / 300.7 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.1348, allocations: 29.81 kB / 300.8 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.1352, allocations: 171.8 kB / 300.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005372/0.1357, allocations: 1.174 MB / 302.1 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.136, allocations: 33.05 kB / 302.1 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.136, allocations: 29.55 kB / 302.2 MB, free: 19.5 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.000133/0.1362, allocations: 162.3 kB / 302.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.1362, allocations: 63.53 kB / 302.4 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.1365, allocations: 217.7 kB / 302.6 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1365, allocations: 3.625 kB / 302.6 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1365, allocations: 1.125 kB / 302.6 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1365, allocations: 1.875 kB / 302.6 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00079/0.1373, allocations: 0.6672 MB / 303.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1373, allocations: 1.812 kB / 303.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.1375, allocations: 78.81 kB / 303.4 MB, free: 19.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.255e-05/0.1376, allocations: 21.33 kB / 303.4 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1376, allocations: 8.703 kB / 303.4 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004206/0.138, allocations: 1.158 MB / 304.5 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.138, allocations: 2.75 kB / 304.5 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.1384, allocations: 398.4 kB / 304.9 MB, free: 17.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1385, allocations: 72.62 kB / 305 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.1385, allocations: 8.719 kB / 305 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1387, allocations: 21.78 kB / 305 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.1387, allocations: 38.98 kB / 305.1 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1388, allocations: 5.875 kB / 305.1 MB, free: 17.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003081/0.1391, allocations: 310.7 kB / 305.4 MB, free: 17.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1391, allocations: 0 / 305.4 MB, free: 17.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004983/0.1396, allocations: 187.6 kB / 305.6 MB, free: 17.54 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.000153/0.1397, allocations: 104.8 kB / 305.7 MB, free: 17.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.1401, allocations: 383 kB / 306 MB, free: 17.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.319e-05/0.1401, allocations: 15.84 kB / 306.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1403, allocations: 206.6 kB / 306.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.1408, allocations: 195.8 kB / 306.4 MB, free: 17.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1426, allocations: 1.53 MB / 308 MB, free: 16.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.758e-05/0.1427, allocations: 164.8 kB / 308.1 MB, free: 16.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.143, allocations: 93.34 kB / 308.2 MB, free: 16.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.1432, allocations: 213.7 kB / 308.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1432, allocations: 0 / 308.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01295/0.1562, allocations: 9.689 MB / 318.1 MB, free: 7.594 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.930177538190037]