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.0009014/0.0009014, allocations: 88.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.0009387/0.0009387, allocations: 161.9 kB / 24.91 MB, free: 8.719 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.8837/0.8837, allocations: 177 MB / 205.2 MB, free: 4.426 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.373e-06/1.373e-06, allocations: 0 / 273.4 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.767e-06/1.014e-05, allocations: 4.141 kB / 273.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.005531/0.005541, allocations: 7.78 MB / 281.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.008337, allocations: 2.641 MB / 283.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.008642, allocations: 27.88 kB / 283.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008315/0.009473, allocations: 0.5402 MB / 284.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.01003, allocations: 0.5077 MB / 284.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.01029, allocations: 235.7 kB / 285.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008518/0.01114, allocations: 1.494 MB / 286.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.01151, allocations: 391.2 kB / 287 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.01213, allocations: 0.8495 MB / 287.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.0125, allocations: 466.6 kB / 288.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.0126, allocations: 132 kB / 288.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.01277, allocations: 168 kB / 288.6 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.01291, allocations: 274.9 kB / 288.9 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.01318, allocations: 454.9 kB / 289.3 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006693/0.01385, allocations: 0.9028 MB / 290.2 MB, free: 3.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.01385, allocations: 0 / 290.2 MB, free: 3.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.01385, allocations: 4 kB / 290.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.01386, allocations: 0 / 290.2 MB, free: 3.371 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.001119/0.01497, allocations: 1.343 MB / 291.6 MB, free: 2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.015, allocations: 8.031 kB / 291.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.0153, allocations: 208.8 kB / 291.8 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.01584, allocations: 0.5215 MB / 292.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.01587, allocations: 74 kB / 292.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.01595, allocations: 99.98 kB / 292.5 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.0165, allocations: 0.7285 MB / 293.2 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.01652, allocations: 7.953 kB / 293.2 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.01656, allocations: 40 kB / 293.2 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.01658, allocations: 24 kB / 293.3 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.01684, allocations: 241.8 kB / 293.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.01905, allocations: 2.956 MB / 296.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.01924, allocations: 168.9 kB / 296.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.01931, allocations: 68.8 kB / 296.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.01933, allocations: 8 kB / 296.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.01935, allocations: 38.56 kB / 296.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.01935, allocations: 0 / 296.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007591/0.02011, allocations: 0.6061 MB / 297.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.02014, allocations: 81.11 kB / 297.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.02057, allocations: 0.6651 MB / 298.1 MB, free: 11.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.02059, allocations: 33.7 kB / 298.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.02078, allocations: 0.5003 MB / 298.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.02084, allocations: 142.8 kB / 298.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.02094, allocations: 122.5 kB / 298.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.02104, allocations: 394.6 kB / 299.3 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.0211, allocations: 53.91 kB / 299.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.02129, allocations: 393.9 kB / 299.7 MB, free: 9.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.02161, allocations: 498.8 kB / 300.2 MB, free: 8.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.02161, allocations: 4 kB / 300.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003796/0.02199, allocations: 442.2 kB / 300.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.022, allocations: 15.12 kB / 300.6 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.02201, allocations: 8 kB / 300.6 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.478e-05/0.0221, allocations: 32.84 kB / 300.7 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.02234, allocations: 155.7 kB / 300.8 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005106/0.02285, allocations: 1.166 MB / 302 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.02305, allocations: 39.88 kB / 302 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.02307, allocations: 28 kB / 302.1 MB, free: 6.707 MB / 282.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.0001317/0.0232, allocations: 157.5 kB / 302.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.02326, allocations: 55.94 kB / 302.3 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.02346, allocations: 221.6 kB / 302.5 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.02347, allocations: 12.09 kB / 302.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02347, allocations: 0 / 302.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.02347, allocations: 7.875 kB / 302.5 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.02409, allocations: 0.6602 MB / 303.2 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.02409, allocations: 4 kB / 303.2 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.02424, allocations: 67.89 kB / 303.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.591e-05/0.02429, allocations: 29.02 kB / 303.3 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.0243, allocations: 8 kB / 303.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004378/0.02474, allocations: 1.154 MB / 304.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.02474, allocations: 4 kB / 304.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.02501, allocations: 396.5 kB / 304.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.02511, allocations: 75.47 kB / 304.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.02515, allocations: 8 kB / 304.9 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.0253, allocations: 19.98 kB / 304.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.02534, allocations: 32.12 kB / 304.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.02535, allocations: 11.98 kB / 305 MB, free: 3.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.0256, allocations: 311.3 kB / 305.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0256, allocations: 0 / 305.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003567/0.02595, allocations: 192 kB / 305.4 MB, free: 3.105 MB / 282.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.000109/0.02606, allocations: 100.3 kB / 305.5 MB, free: 3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.02639, allocations: 383.4 kB / 305.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/0.02641, allocations: 12.5 kB / 305.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.02654, allocations: 205.5 kB / 306.1 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.02698, allocations: 211 kB / 306.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.02857, allocations: 1.512 MB / 307.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.919e-05/0.02867, allocations: 162.6 kB / 308 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.02884, allocations: 94.28 kB / 308.1 MB, free: 360 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.02909, allocations: 221.2 kB / 308.3 MB, free: 140 kB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02909, allocations: 3.938 kB / 308.3 MB, free: 136 kB / 282.7 MB Notification: Performance of Templates: time 0.01158/0.04068, allocations: 9.647 MB / 318 MB, free: 6.695 MB / 298.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.749081542249769]