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.0009694/0.0009694, 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.0009405/0.0009405, allocations: 168.2 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.9492/0.9492, allocations: 177 MB / 205.2 MB, free: 5.582 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.082e-06/1.082e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.58e-05, allocations: 2.312 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006077/0.006093, allocations: 7.934 MB / 280.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.008802, allocations: 2.571 MB / 283.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.009119, allocations: 27.88 kB / 283.5 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008599/0.009979, allocations: 0.5285 MB / 284.1 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.0105, allocations: 0.5 MB / 284.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.01074, allocations: 243.7 kB / 284.8 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000882/0.01163, allocations: 1.488 MB / 286.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.01204, allocations: 383.2 kB / 286.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009063/0.01295, allocations: 0.8418 MB / 287.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.01334, allocations: 470.6 kB / 288 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.01344, allocations: 136 kB / 288.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.01362, allocations: 172 kB / 288.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.01375, allocations: 278.9 kB / 288.5 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.01404, allocations: 454.9 kB / 289 MB, free: 1.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.0148, allocations: 0.9145 MB / 289.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.0148, allocations: 0 / 289.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.0148, allocations: 0 / 289.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.01481, allocations: 0 / 289.9 MB, free: 0.7461 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.09994/0.1147, allocations: 1.486 MB / 291.4 MB, free: 29.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1148, allocations: 13.08 kB / 291.4 MB, free: 29.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.1152, allocations: 253.7 kB / 291.6 MB, free: 29.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008009/0.116, allocations: 0.6718 MB / 292.3 MB, free: 29.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.1161, allocations: 69.22 kB / 292.4 MB, free: 29.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.1162, allocations: 98.34 kB / 292.5 MB, free: 29.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000889/0.117, allocations: 0.7893 MB / 293.3 MB, free: 28.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.1171, allocations: 7.266 kB / 293.3 MB, free: 28.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.1171, allocations: 42.42 kB / 293.3 MB, free: 28.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.1171, allocations: 24.22 kB / 293.3 MB, free: 28.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.1177, allocations: 351.2 kB / 293.7 MB, free: 28.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.1205, allocations: 3.605 MB / 297.3 MB, free: 25.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1208, allocations: 203.2 kB / 297.5 MB, free: 25.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1209, allocations: 86.55 kB / 297.6 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1209, allocations: 7.344 kB / 297.6 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1209, allocations: 43.7 kB / 297.6 MB, free: 25.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.1209, allocations: 6.203 kB / 297.6 MB, free: 25.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001074/0.122, allocations: 0.8345 MB / 298.5 MB, free: 25.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.122, allocations: 83.92 kB / 298.5 MB, free: 25.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.1227, allocations: 0.7441 MB / 299.3 MB, free: 24.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1227, allocations: 30.89 kB / 299.3 MB, free: 24.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.123, allocations: 0.6443 MB / 300 MB, free: 24.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.013e-05/0.1231, allocations: 139.4 kB / 300.1 MB, free: 24.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.1233, allocations: 130.6 kB / 300.2 MB, free: 24.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1234, allocations: 0.5692 MB / 300.8 MB, free: 23.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1236, allocations: 76.42 kB / 300.9 MB, free: 23.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.1238, allocations: 0.5308 MB / 301.4 MB, free: 22.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.1243, allocations: 0.6324 MB / 302 MB, free: 22.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.1243, allocations: 3.281 kB / 302 MB, free: 22.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006422/0.1249, allocations: 0.5717 MB / 302.6 MB, free: 22.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1249, allocations: 10.75 kB / 302.6 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1249, allocations: 10.16 kB / 302.6 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.1251, allocations: 34.39 kB / 302.7 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.1254, allocations: 156.7 kB / 302.8 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005299/0.1259, allocations: 1.749 MB / 304.6 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.1262, allocations: 33.91 kB / 304.6 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.1262, allocations: 32.53 kB / 304.6 MB, free: 20.21 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.000161/0.1264, allocations: 207.1 kB / 304.8 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.1265, allocations: 95.88 kB / 304.9 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.1268, allocations: 276 kB / 305.2 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1268, allocations: 2.5 kB / 305.2 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1268, allocations: 5.375 kB / 305.2 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.1268, allocations: 6 kB / 305.2 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1279, allocations: 1.028 MB / 306.2 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1279, allocations: 3.312 kB / 306.2 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.1281, allocations: 64.48 kB / 306.3 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-05/0.1282, allocations: 30.45 kB / 306.3 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.1282, allocations: 16.06 kB / 306.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/0.1287, allocations: 1.727 MB / 308.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1287, allocations: 2.078 kB / 308.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.1291, allocations: 0.5483 MB / 308.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1292, allocations: 114.5 kB / 308.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.1293, allocations: 8.625 kB / 308.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1294, allocations: 18.97 kB / 308.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.1295, allocations: 31.14 kB / 308.8 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1295, allocations: 13.58 kB / 308.8 MB, free: 16.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003803/0.1299, allocations: 477.3 kB / 309.3 MB, free: 16.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1299, allocations: 0 / 309.3 MB, free: 16.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005054/0.1304, allocations: 190 kB / 309.5 MB, free: 16.67 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.0001707/0.1306, allocations: 117.9 kB / 309.6 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005175/0.1311, allocations: 468.3 kB / 310 MB, free: 16.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1311, allocations: 3.656 kB / 310 MB, free: 16.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.1313, allocations: 277.8 kB / 310.3 MB, free: 16.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.1319, allocations: 196.8 kB / 310.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.1338, allocations: 1.581 MB / 312.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/0.1338, allocations: 169.7 kB / 312.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.1341, allocations: 91.19 kB / 312.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.1341, allocations: 56.48 kB / 312.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1341, allocations: 0 / 312.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Templates: time 0.01088/0.145, allocations: 9.001 MB / 321.4 MB, free: 5.68 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: 2.9286589280236512]