Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009425/0.0009425, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001247/0.001247, allocations: 167.2 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9734/0.9734, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 4 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.348e-06/1.297e-05, allocations: 2.312 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006285/0.006298, allocations: 7.767 MB / 282 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.009669, allocations: 2.551 MB / 284.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.01007, allocations: 27.88 kB / 284.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009756/0.01104, allocations: 0.5246 MB / 285.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006679/0.01171, allocations: 0.5039 MB / 285.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.01204, allocations: 243.7 kB / 285.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.01318, allocations: 1.493 MB / 287.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.01364, allocations: 383.2 kB / 287.7 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008072/0.01444, allocations: 0.8495 MB / 288.5 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.01484, allocations: 454.7 kB / 289 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.01495, allocations: 132 kB / 289.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.01515, allocations: 176 kB / 289.3 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.01529, allocations: 278.9 kB / 289.5 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.01583, allocations: 450.9 kB / 290 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.01656, allocations: 0.9028 MB / 290.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.01656, allocations: 0 / 290.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01656, allocations: 0 / 290.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.01657, allocations: 0 / 290.9 MB, free: 3.641 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.001314/0.01788, allocations: 1.499 MB / 292.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.01791, allocations: 8.031 kB / 292.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.01826, allocations: 256.1 kB / 292.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.01887, allocations: 0.645 MB / 293.3 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.01891, allocations: 70 kB / 293.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.01899, allocations: 107.9 kB / 293.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.01963, allocations: 0.7284 MB / 294.2 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.01966, allocations: 4 kB / 294.2 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.0197, allocations: 39.94 kB / 294.2 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.01972, allocations: 24 kB / 294.3 MB, free: 144 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.02004, allocations: 273.7 kB / 294.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.02294, allocations: 3.654 MB / 298.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.02317, allocations: 187 kB / 298.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.02324, allocations: 71.62 kB / 298.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.02326, allocations: 11.94 kB / 298.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.02329, allocations: 37.39 kB / 298.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.02329, allocations: 0 / 298.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008259/0.02411, allocations: 0.6525 MB / 299.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.02414, allocations: 89.05 kB / 299.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.02464, allocations: 0.733 MB / 300 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.02466, allocations: 33.69 kB / 300 MB, free: 10.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.02494, allocations: 0.6501 MB / 300.6 MB, free: 9.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.025, allocations: 142.8 kB / 300.8 MB, free: 9.281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.02511, allocations: 132.2 kB / 300.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.02527, allocations: 0.5741 MB / 301.5 MB, free: 8.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.02534, allocations: 53.95 kB / 301.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.02559, allocations: 0.5222 MB / 302.1 MB, free: 7.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.02596, allocations: 0.6065 MB / 302.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.02597, allocations: 0 / 302.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000494/0.02646, allocations: 0.5434 MB / 303.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.02648, allocations: 8 kB / 303.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.02648, allocations: 12 kB / 303.2 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-05/0.02658, allocations: 31.67 kB / 303.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.02684, allocations: 155.7 kB / 303.4 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009308/0.02777, allocations: 1.721 MB / 305.1 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.02799, allocations: 31.95 kB / 305.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.02802, allocations: 31.94 kB / 305.2 MB, free: 4.324 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.0001517/0.02817, allocations: 204.3 kB / 305.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.02824, allocations: 95.61 kB / 305.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.0285, allocations: 260.3 kB / 305.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.0285, allocations: 0 / 305.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.02851, allocations: 7.938 kB / 305.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02851, allocations: 0 / 305.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007727/0.02928, allocations: 0.8896 MB / 306.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02928, allocations: 0 / 306.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.02944, allocations: 76.12 kB / 306.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.988e-05/0.02949, allocations: 23.67 kB / 306.7 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.0295, allocations: 8.047 kB / 306.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005687/0.03007, allocations: 1.709 MB / 308.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.03007, allocations: 8.062 kB / 308.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.03043, allocations: 0.5197 MB / 309 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.03055, allocations: 107.5 kB / 309.1 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.0306, allocations: 11.94 kB / 309.1 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.03076, allocations: 15.98 kB / 309.1 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.0308, allocations: 31.89 kB / 309.1 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.03081, allocations: 12 kB / 309.2 MB, free: 96 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002704/0.03108, allocations: 438.8 kB / 309.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03108, allocations: 0 / 309.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.03148, allocations: 191.9 kB / 309.8 MB, free: 15.48 MB / 298.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.0001297/0.03161, allocations: 119.1 kB / 309.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.032, allocations: 451 kB / 310.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.032, allocations: 0.875 kB / 310.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.03215, allocations: 274 kB / 310.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007921/0.03295, allocations: 201.7 kB / 310.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.03462, allocations: 1.585 MB / 312.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.915e-05/0.03472, allocations: 166.6 kB / 312.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.03491, allocations: 90.3 kB / 312.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.03519, allocations: 254 kB / 312.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03519, allocations: 0 / 312.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of Templates: time 0.0127/0.04789, allocations: 9.921 MB / 322.8 MB, free: 2.527 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8781361021101475]