Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001534/0.001534, allocations: 81.08 kB / 22.99 MB, free: 1.496 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.001643/0.001643, allocations: 176.8 kB / 26.4 MB, free: 8.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9967/0.9967, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.093e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006173/0.006194, allocations: 7.715 MB / 260 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.008889, allocations: 2.557 MB / 262.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.009222, allocations: 27.88 kB / 262.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.01029, allocations: 0.5207 MB / 263.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.01085, allocations: 0.5 MB / 263.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.01112, allocations: 255.6 kB / 263.8 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009501/0.01207, allocations: 1.485 MB / 265.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.01248, allocations: 383.2 kB / 265.7 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006228/0.01311, allocations: 0.8456 MB / 266.5 MB, free: 8.867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003916/0.0135, allocations: 458.6 kB / 267 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.0136, allocations: 132 kB / 267.1 MB, free: 8.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.01379, allocations: 172 kB / 267.3 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.01393, allocations: 282.9 kB / 267.6 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.01422, allocations: 454.8 kB / 268 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.01504, allocations: 0.9029 MB / 268.9 MB, free: 6.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.01504, allocations: 0 / 268.9 MB, free: 6.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01504, allocations: 0 / 268.9 MB, free: 6.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.01505, allocations: 0 / 268.9 MB, free: 6.492 MB / 250.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.001341/0.01639, allocations: 1.495 MB / 270.4 MB, free: 4.957 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.01642, allocations: 15.98 kB / 270.4 MB, free: 4.941 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.01678, allocations: 260 kB / 270.7 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.0174, allocations: 0.6373 MB / 271.3 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.01744, allocations: 74 kB / 271.4 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.01753, allocations: 96 kB / 271.5 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.01819, allocations: 0.7362 MB / 272.2 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.01822, allocations: 7.953 kB / 272.2 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.01827, allocations: 40 kB / 272.3 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.01828, allocations: 24 kB / 272.3 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.01859, allocations: 269.6 kB / 272.5 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.02144, allocations: 3.658 MB / 276.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.02167, allocations: 183 kB / 276.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.02175, allocations: 76.16 kB / 276.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.02177, allocations: 7.984 kB / 276.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.02179, allocations: 41.38 kB / 276.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.02179, allocations: 0 / 276.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008421/0.02263, allocations: 0.6665 MB / 277.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.02266, allocations: 81.11 kB / 277.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.02316, allocations: 0.7292 MB / 278 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.02318, allocations: 33.7 kB / 278 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.02349, allocations: 0.654 MB / 278.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.02355, allocations: 130.9 kB / 278.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.02366, allocations: 136.2 kB / 278.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.02386, allocations: 0.5741 MB / 279.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/0.02393, allocations: 57.94 kB / 279.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.0242, allocations: 0.5145 MB / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.02457, allocations: 0.6098 MB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02457, allocations: 4 kB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005039/0.02508, allocations: 0.5395 MB / 281.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.02509, allocations: 8 kB / 281.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.0251, allocations: 12 kB / 281.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.653e-05/0.0252, allocations: 31.67 kB / 281.3 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.02546, allocations: 151.8 kB / 281.4 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007434/0.0262, allocations: 1.721 MB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.02642, allocations: 31.98 kB / 283.2 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.4e-05/0.02645, allocations: 31.94 kB / 283.2 MB, free: 7.172 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.0001605/0.02661, allocations: 204.3 kB / 283.4 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.02668, allocations: 95.61 kB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.02694, allocations: 256 kB / 283.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02694, allocations: 4 kB / 283.8 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.02695, allocations: 3.938 kB / 283.8 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.02695, allocations: 7.984 kB / 283.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.02775, allocations: 0.885 MB / 284.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.02776, allocations: 4.219 kB / 284.7 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.02793, allocations: 71.91 kB / 284.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.234e-05/0.02799, allocations: 23.67 kB / 284.8 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.028, allocations: 8 kB / 284.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006514/0.02865, allocations: 1.705 MB / 286.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.02866, allocations: 12.06 kB / 286.5 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.02907, allocations: 0.5265 MB / 287 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.0292, allocations: 99.42 kB / 287.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.02925, allocations: 15.94 kB / 287.1 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.02941, allocations: 19.98 kB / 287.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.02947, allocations: 27.95 kB / 287.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.02948, allocations: 11.98 kB / 287.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003041/0.02979, allocations: 434.8 kB / 287.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02979, allocations: 0 / 287.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004433/0.03023, allocations: 188 kB / 287.8 MB, free: 2.34 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.000196/0.03043, allocations: 119.1 kB / 287.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.03089, allocations: 451.1 kB / 288.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0309, allocations: 0.9375 kB / 288.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.03107, allocations: 269.4 kB / 288.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.03161, allocations: 203.9 kB / 288.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.03372, allocations: 1.585 MB / 290.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.03383, allocations: 162.6 kB / 290.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.03402, allocations: 90.3 kB / 290.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.03431, allocations: 262.1 kB / 290.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03431, allocations: 0 / 290.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of Templates: time 0.01269/0.047, allocations: 9.905 MB / 300.8 MB, free: 5.227 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.080202657263726]