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.0009881/0.0009881, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002406, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009468/0.0009468, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002244, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8488/0.8488, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1363/0.9851, allocations: 52.5 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] 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 1.092e-06/1.092e-06, allocations: 0 / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/1.066e-05, allocations: 2.312 kB / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.005525/0.005536, allocations: 7.851 MB / 247.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.008509, allocations: 2.636 MB / 250.2 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.008893, allocations: 29.34 kB / 250.3 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008245/0.009717, allocations: 0.5341 MB / 250.8 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005858/0.0103, allocations: 0.4967 MB / 251.3 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.01058, allocations: 251.6 kB / 251.5 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009584/0.01154, allocations: 1.497 MB / 253 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.01192, allocations: 391.2 kB / 253.4 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007612/0.01268, allocations: 0.9577 MB / 254.4 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.01306, allocations: 458.6 kB / 254.8 MB, free: 7.223 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.01316, allocations: 132 kB / 255 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.01337, allocations: 175.9 kB / 255.1 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.01348, allocations: 215.2 kB / 255.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.01372, allocations: 379.3 kB / 255.7 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.01438, allocations: 0.8639 MB / 256.6 MB, free: 5.473 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.01439, allocations: 3.938 kB / 256.6 MB, free: 5.469 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01439, allocations: 0 / 256.6 MB, free: 5.469 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.0144, allocations: 0 / 256.6 MB, free: 5.469 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.001247/0.01565, allocations: 1.581 MB / 258.2 MB, free: 3.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.01567, allocations: 8.031 kB / 258.2 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.01601, allocations: 293.8 kB / 258.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.01654, allocations: 0.5176 MB / 259 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.01658, allocations: 78 kB / 259 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.01665, allocations: 96 kB / 259.1 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.01722, allocations: 0.7324 MB / 259.9 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.01724, allocations: 7.953 kB / 259.9 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.01728, allocations: 40 kB / 259.9 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.01729, allocations: 27.98 kB / 259.9 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.01755, allocations: 237.8 kB / 260.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.01975, allocations: 2.972 MB / 263.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.01994, allocations: 162.5 kB / 263.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.02, allocations: 60.83 kB / 263.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.02002, allocations: 8.531 kB / 263.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.02004, allocations: 34.56 kB / 263.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.02004, allocations: 3.938 kB / 263.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007517/0.02079, allocations: 0.6213 MB / 264 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.02082, allocations: 55.41 kB / 264.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.02123, allocations: 0.6574 MB / 264.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.02125, allocations: 33.7 kB / 264.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.02143, allocations: 0.5002 MB / 265.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.02149, allocations: 142.8 kB / 265.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.02159, allocations: 126.5 kB / 265.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.02169, allocations: 390.6 kB / 265.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.02176, allocations: 49.97 kB / 266 MB, free: 11.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.02204, allocations: 405.8 kB / 266.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.02252, allocations: 0.5156 MB / 266.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.02253, allocations: 4 kB / 266.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005738/0.0231, allocations: 441.8 kB / 267.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.02312, allocations: 10.19 kB / 267.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.02313, allocations: 16.05 kB / 267.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001097/0.02324, allocations: 33.39 kB / 267.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.0237, allocations: 187.7 kB / 267.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006983/0.02439, allocations: 1.166 MB / 268.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.02459, allocations: 39.88 kB / 268.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.02461, allocations: 32 kB / 268.8 MB, free: 8.406 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.0001302/0.02474, allocations: 161.6 kB / 269 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.0248, allocations: 55.94 kB / 269 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.02501, allocations: 214.7 kB / 269.2 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02501, allocations: 4 kB / 269.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.02501, allocations: 0 / 269.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.02501, allocations: 3.938 kB / 269.2 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.02562, allocations: 0.668 MB / 269.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02562, allocations: 0 / 269.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.02579, allocations: 79.89 kB / 270 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.02588, allocations: 71.47 kB / 270 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.062e-05/0.02593, allocations: 20.8 kB / 270.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.02595, allocations: 11.98 kB / 270.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004291/0.02638, allocations: 1.171 MB / 271.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.02638, allocations: 4 kB / 271.3 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.02665, allocations: 406 kB / 271.6 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.02669, allocations: 11.94 kB / 271.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.02683, allocations: 28.05 kB / 271.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.02687, allocations: 24.19 kB / 271.7 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.02688, allocations: 12 kB / 271.7 MB, free: 5.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002179/0.0271, allocations: 311.4 kB / 272 MB, free: 4.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0271, allocations: 0 / 272 MB, free: 4.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.02744, allocations: 187.9 kB / 272.2 MB, free: 4.797 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.0001285/0.02757, allocations: 108.3 kB / 272.3 MB, free: 4.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.02789, allocations: 391.5 kB / 272.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/0.02791, allocations: 12.5 kB / 272.7 MB, free: 4.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.02806, allocations: 211.3 kB / 272.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009103/0.02897, allocations: 1.949 MB / 274.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008081/0.03706, allocations: 1.679 MB / 276.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.03716, allocations: 174.6 kB / 276.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000182/0.03734, allocations: 94.3 kB / 276.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.03759, allocations: 221.2 kB / 277 MB, free: 15.48 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.03759, allocations: 0 / 277 MB, free: 15.48 MB / 282.7 MB Notification: Performance of Templates: time 0.01252/0.05011, allocations: 9.849 MB / 286.9 MB, free: 5.855 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4889602242037654]