Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001456/0.001456, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001786/0.001786, allocations: 167.6 kB / 25.7 MB, free: 8.438 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.8961/0.8961, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.712e-05, allocations: 10.25 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003724/0.003741, allocations: 3.106 MB / 254.7 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00099/0.004731, allocations: 0.8429 MB / 255.5 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.004847, allocations: 4 kB / 255.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.004986, allocations: 63.31 kB / 255.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.005134, allocations: 118.9 kB / 255.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.005392, allocations: 155.6 kB / 255.9 MB, free: 2.906 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.005731, allocations: 0.5538 MB / 256.4 MB, free: 2.348 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.005898, allocations: 121.5 kB / 256.5 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.006164, allocations: 319.3 kB / 256.8 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.006353, allocations: 195.5 kB / 257 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.006403, allocations: 52 kB / 257.1 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.44e-05/0.006487, allocations: 56 kB / 257.1 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.006548, allocations: 111.6 kB / 257.2 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.006654, allocations: 171.6 kB / 257.4 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.006977, allocations: 382.8 kB / 257.8 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.006979, allocations: 0 / 257.8 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.00698, allocations: 4 kB / 257.8 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.006985, allocations: 0 / 257.8 MB, free: 0.9609 MB / 234.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.0007624/0.007748, allocations: 0.6752 MB / 258.5 MB, free: 264 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.007781, allocations: 11.98 kB / 258.5 MB, free: 252 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.007861, allocations: 64.88 kB / 258.5 MB, free: 188 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.008098, allocations: 196.8 kB / 258.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.008121, allocations: 29.38 kB / 258.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.008167, allocations: 40.33 kB / 258.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.008617, allocations: 0.5156 MB / 259.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.008631, allocations: 192 / 259.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.008655, allocations: 16.38 kB / 259.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.008666, allocations: 11.94 kB / 259.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.008864, allocations: 146.9 kB / 259.5 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.01002, allocations: 0.9384 MB / 260.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.01036, allocations: 223.3 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.639e-05/0.01046, allocations: 85.48 kB / 260.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.01049, allocations: 16.31 kB / 260.7 MB, free: 13.83 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.01051, allocations: 34.89 kB / 260.8 MB, free: 13.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.01052, allocations: 4 kB / 260.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001544/0.01206, allocations: 0.7238 MB / 261.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.01212, allocations: 170.1 kB / 261.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.01225, allocations: 236.9 kB / 261.9 MB, free: 12.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.01227, allocations: 33.7 kB / 261.9 MB, free: 12.56 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.01235, allocations: 193.1 kB / 262.1 MB, free: 12.37 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.01243, allocations: 150.7 kB / 262.3 MB, free: 12.22 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/0.01251, allocations: 74.16 kB / 262.3 MB, free: 12.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.01259, allocations: 342.8 kB / 262.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.01267, allocations: 52.97 kB / 262.7 MB, free: 11.74 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.01282, allocations: 254 kB / 263 MB, free: 11.44 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.01302, allocations: 206.6 kB / 263.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01303, allocations: 0 / 263.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004392/0.01346, allocations: 346.7 kB / 263.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.01347, allocations: 4 kB / 263.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01348, allocations: 4 kB / 263.5 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005363/0.01402, allocations: 241.7 kB / 263.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.01419, allocations: 79.81 kB / 263.8 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000546/0.01474, allocations: 1.163 MB / 265 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.01489, allocations: 63.58 kB / 265.1 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.01491, allocations: 12 kB / 265.1 MB, free: 9.242 MB / 250.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.339e-05/0.015, allocations: 137.8 kB / 265.2 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.01504, allocations: 31.97 kB / 265.2 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.01563, allocations: 405.3 kB / 265.6 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.01563, allocations: 7.984 kB / 265.6 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01563, allocations: 0 / 265.6 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01564, allocations: 0 / 265.6 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.01587, allocations: 229.6 kB / 265.9 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01587, allocations: 0 / 265.9 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.01602, allocations: 63.89 kB / 265.9 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/0.01647, allocations: 229.4 kB / 266.2 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.01649, allocations: 15.92 kB / 266.2 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005201/0.01701, allocations: 1.163 MB / 267.3 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.01701, allocations: 8.062 kB / 267.3 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.0177, allocations: 0.5356 MB / 267.9 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.01773, allocations: 43.58 kB / 267.9 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.01776, allocations: 4 kB / 267.9 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.01789, allocations: 31.97 kB / 268 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.01793, allocations: 23.95 kB / 268 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.01795, allocations: 7.938 kB / 268 MB, free: 6.211 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.01801, allocations: 86.75 kB / 268.1 MB, free: 6.121 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01801, allocations: 0 / 268.1 MB, free: 6.121 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.01822, allocations: 103.9 kB / 268.2 MB, free: 6.02 MB / 250.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.0001012/0.01832, allocations: 100.4 kB / 268.3 MB, free: 5.914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.01865, allocations: 243.4 kB / 268.5 MB, free: 5.676 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.01865, allocations: 0 / 268.5 MB, free: 5.676 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.01882, allocations: 145.9 kB / 268.7 MB, free: 5.531 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.01901, allocations: 52.52 kB / 268.7 MB, free: 5.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.02004, allocations: 0.7112 MB / 269.4 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.063e-05/0.0201, allocations: 105.1 kB / 269.5 MB, free: 4.613 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.433e-05/0.02019, allocations: 30.97 kB / 269.5 MB, free: 4.582 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.02032, allocations: 111.3 kB / 269.7 MB, free: 4.473 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02033, allocations: 0 / 269.7 MB, free: 4.473 MB / 250.7 MB Notification: Performance of Templates: time 0.006946/0.02727, allocations: 5.271 MB / 274.9 MB, free: 15.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.784700687043369]