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.001447/0.001447, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001515/0.001515, allocations: 159.8 kB / 25.75 MB, free: 8.93 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.8938/0.8938, allocations: 158.6 MB / 187.6 MB, free: 2.945 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 2.274e-06/2.274e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.933e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007467/0.007497, allocations: 7.867 MB / 259 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004237/0.01173, allocations: 2.584 MB / 261.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009362/0.01267, allocations: 31.88 kB / 261.6 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.01402, allocations: 0.5129 MB / 262.1 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.01512, allocations: 0.5078 MB / 262.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.01557, allocations: 231.7 kB / 262.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.01708, allocations: 1.493 MB / 264.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007361/0.01782, allocations: 379.2 kB / 264.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.01892, allocations: 0.8378 MB / 265.5 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.01933, allocations: 466.6 kB / 266 MB, free: 8.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.01944, allocations: 136 kB / 266.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.01966, allocations: 172 kB / 266.3 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.01979, allocations: 282.9 kB / 266.6 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.0201, allocations: 458.9 kB / 267 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008804/0.02098, allocations: 0.9068 MB / 267.9 MB, free: 6.863 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.02099, allocations: 0 / 267.9 MB, free: 6.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02099, allocations: 0 / 267.9 MB, free: 6.863 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.021, allocations: 0 / 267.9 MB, free: 6.863 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.001391/0.02239, allocations: 1.488 MB / 269.4 MB, free: 5.336 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.02242, allocations: 19.98 kB / 269.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.02282, allocations: 252 kB / 269.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007737/0.0236, allocations: 0.6724 MB / 270.4 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.02365, allocations: 74 kB / 270.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.02374, allocations: 99.95 kB / 270.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.02557, allocations: 0.7871 MB / 271.3 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.02561, allocations: 4 kB / 271.3 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/0.02568, allocations: 36 kB / 271.4 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.02571, allocations: 27.98 kB / 271.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008166/0.02653, allocations: 339.7 kB / 271.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.03073, allocations: 3.646 MB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.03111, allocations: 199 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.03122, allocations: 80.17 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.03124, allocations: 8 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.03127, allocations: 45.38 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.03127, allocations: 0 / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001181/0.03245, allocations: 0.8295 MB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.03249, allocations: 81.11 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/0.03316, allocations: 0.7452 MB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.03318, allocations: 37.64 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.03348, allocations: 0.6424 MB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/0.03355, allocations: 138.9 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.03373, allocations: 132.2 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.03391, allocations: 0.5586 MB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.03403, allocations: 69.95 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.03434, allocations: 0.5379 MB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.03518, allocations: 0.6294 MB / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.03518, allocations: 0 / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006215/0.0358, allocations: 0.5742 MB / 280.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.03582, allocations: 12 kB / 280.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.03583, allocations: 8 kB / 280.7 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/0.03595, allocations: 36.39 kB / 280.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.03622, allocations: 159.8 kB / 280.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007431/0.03696, allocations: 1.751 MB / 282.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.03718, allocations: 31.89 kB / 282.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.0372, allocations: 36.12 kB / 282.7 MB, free: 7.094 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.0001595/0.03736, allocations: 208.2 kB / 282.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.03744, allocations: 87.53 kB / 283 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.03801, allocations: 276.1 kB / 283.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.03801, allocations: 7.938 kB / 283.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.03802, allocations: 0 / 283.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.03802, allocations: 0 / 283.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000959/0.03898, allocations: 1.037 MB / 284.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.03898, allocations: 4 kB / 284.3 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.0392, allocations: 63.91 kB / 284.4 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.971e-05/0.03928, allocations: 27.67 kB / 284.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.0393, allocations: 8 kB / 284.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006204/0.03992, allocations: 1.732 MB / 286.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.03993, allocations: 7.938 kB / 286.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.04036, allocations: 0.5538 MB / 286.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.04049, allocations: 103.4 kB / 286.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.04053, allocations: 8 kB / 286.8 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.0407, allocations: 24.08 kB / 286.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.04075, allocations: 27.95 kB / 286.8 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.04077, allocations: 11.98 kB / 286.9 MB, free: 2.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003511/0.04112, allocations: 474.9 kB / 287.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04112, allocations: 0 / 287.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003877/0.04151, allocations: 191.9 kB / 287.5 MB, free: 1.996 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.0001637/0.04167, allocations: 131.1 kB / 287.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.04214, allocations: 468.2 kB / 288.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.04214, allocations: 4 kB / 288.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.04231, allocations: 269.4 kB / 288.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.04285, allocations: 194.1 kB / 288.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.04473, allocations: 1.589 MB / 290.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.665e-05/0.04482, allocations: 162.6 kB / 290.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.04502, allocations: 98.27 kB / 290.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.04509, allocations: 52.5 kB / 290.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.04509, allocations: 4 kB / 290.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of Templates: time 0.01121/0.0563, allocations: 8.983 MB / 299.4 MB, free: 5.98 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: 2.9902666290290654]