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.001545/0.001545, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001156/0.001156, allocations: 165.3 kB / 24.82 MB, free: 9.301 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.9692/0.9692, allocations: 177 MB / 205.1 MB, free: 5.477 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.332e-06/1.332e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.906e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008061/0.00808, allocations: 7.757 MB / 281.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004124/0.0122, allocations: 2.564 MB / 283.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00071/0.01291, allocations: 27.88 kB / 283.7 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.01421, allocations: 0.5246 MB / 284.2 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009382/0.01515, allocations: 0.5 MB / 284.7 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.01556, allocations: 247.6 kB / 285 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.01721, allocations: 1.486 MB / 286.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.01778, allocations: 375.2 kB / 286.8 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.01892, allocations: 0.8534 MB / 287.7 MB, free: 2.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.01957, allocations: 458.6 kB / 288.1 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.01975, allocations: 132 kB / 288.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.02006, allocations: 176 kB / 288.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.02022, allocations: 274.9 kB / 288.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.02061, allocations: 458.9 kB / 289.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009847/0.02159, allocations: 0.899 MB / 290 MB, free: 432 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.0216, allocations: 3.984 kB / 290 MB, free: 428 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.0216, allocations: 4 kB / 290 MB, free: 424 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.02161, allocations: 0 / 290 MB, free: 424 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.1085/0.1302, allocations: 1.492 MB / 291.5 MB, free: 24.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1302, allocations: 14.89 kB / 291.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.1306, allocations: 251.6 kB / 291.8 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.1313, allocations: 0.6424 MB / 292.4 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.1314, allocations: 72.66 kB / 292.5 MB, free: 24.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.1315, allocations: 105.5 kB / 292.6 MB, free: 24.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.1323, allocations: 0.7293 MB / 293.3 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1323, allocations: 8.453 kB / 293.3 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.1324, allocations: 38.62 kB / 293.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.1324, allocations: 24.03 kB / 293.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.1328, allocations: 270.5 kB / 293.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.1359, allocations: 3.651 MB / 297.3 MB, free: 22.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.1362, allocations: 187.4 kB / 297.5 MB, free: 22.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.1363, allocations: 74.84 kB / 297.6 MB, free: 22.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1363, allocations: 7.234 kB / 297.6 MB, free: 22.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.1363, allocations: 41.44 kB / 297.6 MB, free: 22.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.1363, allocations: 0 / 297.6 MB, free: 22.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009354/0.1373, allocations: 0.6592 MB / 298.3 MB, free: 21.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.1373, allocations: 82.55 kB / 298.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/0.1379, allocations: 0.7276 MB / 299.1 MB, free: 21.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1379, allocations: 31.78 kB / 299.1 MB, free: 21.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.1381, allocations: 0.6529 MB / 299.8 MB, free: 21.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.1382, allocations: 141.8 kB / 299.9 MB, free: 21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1383, allocations: 133.7 kB / 300 MB, free: 20.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1384, allocations: 0.5718 MB / 300.6 MB, free: 20.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.1385, allocations: 56.83 kB / 300.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1387, allocations: 0.5164 MB / 301.2 MB, free: 19.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.139, allocations: 0.6088 MB / 301.8 MB, free: 19.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1391, allocations: 3.141 kB / 301.8 MB, free: 19.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006857/0.1397, allocations: 0.5404 MB / 302.3 MB, free: 19.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1398, allocations: 10.2 kB / 302.3 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.1398, allocations: 11 kB / 302.4 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.1399, allocations: 40 kB / 302.4 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.1403, allocations: 160.4 kB / 302.6 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006232/0.1409, allocations: 1.719 MB / 304.3 MB, free: 17.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.1413, allocations: 36.22 kB / 304.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.1413, allocations: 30.78 kB / 304.3 MB, free: 17.29 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.0001594/0.1415, allocations: 201.4 kB / 304.5 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.1415, allocations: 94.67 kB / 304.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.1419, allocations: 262.7 kB / 304.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1419, allocations: 4.406 kB / 304.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.1419, allocations: 0 / 304.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1419, allocations: 1.453 kB / 304.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.1429, allocations: 0.8906 MB / 305.8 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1429, allocations: 2.312 kB / 305.8 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.1432, allocations: 64.73 kB / 305.8 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.999e-05/0.1432, allocations: 25.52 kB / 305.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1432, allocations: 11.62 kB / 305.9 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004705/0.1437, allocations: 1.715 MB / 307.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1437, allocations: 1.812 kB / 307.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.1442, allocations: 0.5195 MB / 308.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.1444, allocations: 104.9 kB / 308.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.1444, allocations: 8.828 kB / 308.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.1446, allocations: 22.64 kB / 308.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.1447, allocations: 35.58 kB / 308.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1447, allocations: 9.5 kB / 308.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003485/0.1451, allocations: 434.9 kB / 308.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1451, allocations: 0 / 308.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00065/0.1457, allocations: 188.5 kB / 308.9 MB, free: 14.01 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.0001692/0.1459, allocations: 122.6 kB / 309 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004896/0.1464, allocations: 444.1 kB / 309.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1464, allocations: 5.062 kB / 309.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.1465, allocations: 266.6 kB / 309.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.1473, allocations: 191.4 kB / 309.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.1494, allocations: 1.594 MB / 311.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.1496, allocations: 173.6 kB / 311.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.1498, allocations: 97.64 kB / 311.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.1501, allocations: 256.2 kB / 312 MB, free: 12.25 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1501, allocations: 0 / 312 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Templates: time 0.01471/0.1648, allocations: 9.72 MB / 321.7 MB, free: 3.586 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 -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: 3.021979361306876]