Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.0009016/0.0009016, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009872/0.0009872, allocations: 169 kB / 24.91 MB, free: 8.723 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.9845/0.9845, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 273.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.308e-05, allocations: 6.25 kB / 273.5 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002904/0.002917, allocations: 3.158 MB / 276.7 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004238, allocations: 0.877 MB / 277.5 MB, free: 340 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.00438, allocations: 4 kB / 277.6 MB, free: 336 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.004525, allocations: 63.25 kB / 277.6 MB, free: 272 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.004677, allocations: 122.9 kB / 277.7 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.005018, allocations: 163.7 kB / 277.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.005422, allocations: 0.5655 MB / 278.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.005603, allocations: 117.5 kB / 278.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.005944, allocations: 339.3 kB / 278.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.006131, allocations: 199.4 kB / 279.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.006182, allocations: 48 kB / 279.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.006278, allocations: 63.98 kB / 279.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.006337, allocations: 111.6 kB / 279.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.006447, allocations: 175.6 kB / 279.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.006766, allocations: 386.8 kB / 279.9 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.006768, allocations: 3.938 kB / 279.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006768, allocations: 0 / 279.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.006773, allocations: 0 / 279.9 MB, free: 13.99 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007222/0.007495, allocations: 0.6753 MB / 280.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.007524, allocations: 8.031 kB / 280.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.007653, allocations: 72.88 kB / 280.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.007868, allocations: 220.5 kB / 280.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.007892, allocations: 29.38 kB / 280.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.007934, allocations: 40.38 kB / 280.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.008343, allocations: 0.5078 MB / 281.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.008355, allocations: 192 / 281.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.008379, allocations: 16.38 kB / 281.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.008387, allocations: 11.94 kB / 281.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.008578, allocations: 142.9 kB / 281.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.009666, allocations: 0.9346 MB / 282.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.01, allocations: 227.2 kB / 282.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.01011, allocations: 97.41 kB / 282.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.01013, allocations: 8.328 kB / 282.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.01015, allocations: 38.89 kB / 282.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.01016, allocations: 3.984 kB / 282.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001528/0.01168, allocations: 0.7307 MB / 283.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.01174, allocations: 166.1 kB / 283.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.01189, allocations: 247 kB / 284 MB, free: 9.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.01191, allocations: 33.7 kB / 284.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.012, allocations: 197.1 kB / 284.2 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/0.01207, allocations: 138.7 kB / 284.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.056e-05/0.01216, allocations: 78.11 kB / 284.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.01226, allocations: 346.7 kB / 284.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.01233, allocations: 48.98 kB / 284.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.01249, allocations: 262 kB / 285.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.01269, allocations: 210.5 kB / 285.3 MB, free: 8.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01269, allocations: 4 kB / 285.3 MB, free: 8.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004493/0.01314, allocations: 346.9 kB / 285.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01316, allocations: 8 kB / 285.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01316, allocations: 0 / 285.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/0.01375, allocations: 237.5 kB / 285.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.01394, allocations: 79.89 kB / 286 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005519/0.01449, allocations: 1.163 MB / 287.1 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.01464, allocations: 55.66 kB / 287.2 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.01466, allocations: 15.98 kB / 287.2 MB, free: 6.242 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/0.01476, allocations: 133.8 kB / 287.3 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.01481, allocations: 35.97 kB / 287.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.01538, allocations: 401.1 kB / 287.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01539, allocations: 4 kB / 287.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-06/0.01539, allocations: 0 / 287.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.01539, allocations: 7.922 kB / 287.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.01563, allocations: 233.6 kB / 288 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01564, allocations: 3.984 kB / 288 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.01579, allocations: 60.05 kB / 288.1 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.01625, allocations: 237.4 kB / 288.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.01627, allocations: 11.88 kB / 288.3 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005081/0.01677, allocations: 1.167 MB / 289.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01677, allocations: 3.938 kB / 289.5 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/0.01743, allocations: 0.5317 MB / 290 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.01746, allocations: 35.72 kB / 290 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.01749, allocations: 12 kB / 290 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.01761, allocations: 31.91 kB / 290.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.01765, allocations: 23.95 kB / 290.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.01767, allocations: 8 kB / 290.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.452e-05/0.01773, allocations: 84.64 kB / 290.2 MB, free: 3.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01773, allocations: 0 / 290.2 MB, free: 3.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.01795, allocations: 115.8 kB / 290.3 MB, free: 3.012 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001032/0.01805, allocations: 92.41 kB / 290.4 MB, free: 2.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.01837, allocations: 231.9 kB / 290.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.01837, allocations: 4 kB / 290.6 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.01852, allocations: 144.7 kB / 290.8 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.01872, allocations: 52.62 kB / 290.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.0197, allocations: 0.7352 MB / 291.6 MB, free: 1.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.772e-05/0.01976, allocations: 101.1 kB / 291.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.857e-05/0.01985, allocations: 38.95 kB / 291.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.01998, allocations: 107.3 kB / 291.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01998, allocations: 0 / 291.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of Templates: time 0.006738/0.02672, allocations: 5.273 MB / 297.1 MB, free: 12.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.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.6905283951200545]