Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2592, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01078/0.27, allocations: 8.061 MB / 428.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004834/0.2748, allocations: 2.602 MB / 431.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.2755, allocations: 23.94 kB / 431.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.2769, allocations: 0.5676 MB / 432.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.278, allocations: 496.4 kB / 432.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.2785, allocations: 239.7 kB / 432.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.2802, allocations: 1.44 MB / 434.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006513/0.2808, allocations: 398.8 kB / 434.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007032/0.2815, allocations: 0.5447 MB / 435.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006934/0.2822, allocations: 0.5833 MB / 435.8 MB, free: 100 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.2824, allocations: 136 kB / 435.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.2828, allocations: 175.9 kB / 436.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.283, allocations: 271 kB / 436.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006785/0.2837, allocations: 0.6492 MB / 437 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.2858, allocations: 1.706 MB / 438.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2859, allocations: 0 / 438.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2859, allocations: 4 kB / 438.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.2859, allocations: 4 kB / 438.7 MB, free: 13.16 MB / 350.1 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.002684/0.2886, allocations: 1.463 MB / 440.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2886, allocations: 8.031 kB / 440.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005794/0.2892, allocations: 176 kB / 440.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.2904, allocations: 0.7306 MB / 441.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/0.2905, allocations: 77.94 kB / 441.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.2907, allocations: 92 kB / 441.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.2924, allocations: 0.923 MB / 442.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.2924, allocations: 11.89 kB / 442.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.2925, allocations: 40 kB / 442.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.2925, allocations: 24 kB / 442.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.2937, allocations: 0.6207 MB / 442.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.299, allocations: 3.879 MB / 446.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.2997, allocations: 335.6 kB / 447.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.3, allocations: 141.3 kB / 447.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.3, allocations: 7.984 kB / 447.2 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3, allocations: 30.56 kB / 447.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.455e-06/0.3, allocations: 0 / 447.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002474/0.3025, allocations: 1.215 MB / 448.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.3026, allocations: 85.09 kB / 448.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.3037, allocations: 0.8176 MB / 449.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.3038, allocations: 37.64 kB / 449.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000505/0.3043, allocations: 0.5812 MB / 450 MB, free: 1.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.3044, allocations: 142.8 kB / 450.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.3046, allocations: 130.6 kB / 450.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3048, allocations: 334 kB / 450.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.3051, allocations: 145.9 kB / 450.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.3057, allocations: 463.9 kB / 451.2 MB, free: 20 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/0.3067, allocations: 0.6324 MB / 451.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3067, allocations: 4 kB / 451.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001347/0.308, allocations: 0.6967 MB / 452.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.308, allocations: 8 kB / 452.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.308, allocations: 12 kB / 452.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/0.3082, allocations: 32.84 kB / 452.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.3087, allocations: 155.7 kB / 452.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.31, allocations: 1.386 MB / 454.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.3106, allocations: 48.09 kB / 454.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.3106, allocations: 32 kB / 454.2 MB, free: 12.72 MB / 366.1 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.0004167/0.3111, allocations: 253.5 kB / 454.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3112, allocations: 91.38 kB / 454.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.312, allocations: 382.4 kB / 454.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.312, allocations: 4 kB / 454.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.312, allocations: 0 / 454.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.312, allocations: 0 / 454.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.3139, allocations: 1.264 MB / 456.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3139, allocations: 0 / 456.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.3142, allocations: 75.83 kB / 456.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.879e-05/0.3143, allocations: 20.86 kB / 456.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.3144, allocations: 16.2 kB / 456.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.3155, allocations: 1.367 MB / 457.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3155, allocations: 3.938 kB / 457.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3166, allocations: 0.6479 MB / 458.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.3168, allocations: 184.5 kB / 458.5 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.3169, allocations: 11.98 kB / 458.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.3173, allocations: 27.92 kB / 458.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.3174, allocations: 23.97 kB / 458.6 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.3174, allocations: 12 kB / 458.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008104/0.3182, allocations: 0.5654 MB / 459.1 MB, free: 7.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3182, allocations: 0 / 459.1 MB, free: 7.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000794/0.319, allocations: 191.9 kB / 459.3 MB, free: 7.305 MB / 366.1 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.0002446/0.3192, allocations: 123.2 kB / 459.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3203, allocations: 0.5002 MB / 459.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3203, allocations: 0 / 459.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.3207, allocations: 267.2 kB / 460.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.3217, allocations: 217.3 kB / 460.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.3246, allocations: 1.724 MB / 462.1 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.3252, allocations: 0.9962 MB / 463.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003281/0.3255, allocations: 102.9 kB / 463.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.3257, allocations: 55.44 kB / 463.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3257, allocations: 0 / 463.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of Templates: time 0.02034/0.346, allocations: 9.91 MB / 473.2 MB, free: 9.438 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.764177474193275]