Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.001212/0.001212, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001956/0.003168, 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.001052/0.001052, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.002633, 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.8763/0.8763, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1936/1.07, allocations: 52.49 MB / 238.5 MB, free: 7.609 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.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 3.938 kB / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.687e-05, allocations: 2.312 kB / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003659/0.003686, allocations: 3.146 MB / 242.9 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.004866, allocations: 0.8135 MB / 243.7 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.005009, allocations: 9.219 kB / 243.7 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.005135, allocations: 63.31 kB / 243.8 MB, free: 2.297 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.005276, allocations: 123.8 kB / 243.9 MB, free: 2.176 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.005542, allocations: 149.3 kB / 244.1 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000433/0.005975, allocations: 0.5556 MB / 244.6 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.006205, allocations: 133.4 kB / 244.7 MB, free: 1.336 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.006558, allocations: 354.4 kB / 245.1 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.006776, allocations: 195.5 kB / 245.3 MB, free: 0.793 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.006835, allocations: 52 kB / 245.3 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.006958, allocations: 56.66 kB / 245.4 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.007023, allocations: 79.75 kB / 245.5 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.007134, allocations: 136.4 kB / 245.6 MB, free: 488 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.007517, allocations: 344.8 kB / 245.9 MB, free: 144 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.676e-05/0.007534, allocations: 0 / 245.9 MB, free: 144 kB / 234.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007535, allocations: 0 / 245.9 MB, free: 144 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.007555, allocations: 0 / 245.9 MB, free: 144 kB / 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.001051/0.008606, allocations: 0.7658 MB / 246.7 MB, free: 15.35 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.008644, allocations: 12.03 kB / 246.7 MB, free: 15.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.008728, allocations: 66.03 kB / 246.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.009007, allocations: 212.5 kB / 247 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.009037, allocations: 26.38 kB / 247 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.009097, allocations: 48.36 kB / 247.1 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.009597, allocations: 0.5089 MB / 247.6 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.009612, allocations: 4.938 kB / 247.6 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.009636, allocations: 8.375 kB / 247.6 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.009647, allocations: 16.62 kB / 247.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.009861, allocations: 151.6 kB / 247.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.01113, allocations: 0.9398 MB / 248.7 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.01157, allocations: 220.8 kB / 248.9 MB, free: 13.03 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.01168, allocations: 97.41 kB / 249 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.01172, allocations: 16.31 kB / 249 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.01175, allocations: 34.89 kB / 249 MB, free: 12.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.01176, allocations: 0 / 249 MB, free: 12.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001626/0.01338, allocations: 0.7268 MB / 249.8 MB, free: 12.13 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.01342, allocations: 59.34 kB / 249.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.01357, allocations: 247 kB / 250.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.0136, allocations: 33.7 kB / 250.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.01369, allocations: 193.1 kB / 250.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.01376, allocations: 142.7 kB / 250.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.01385, allocations: 74.16 kB / 250.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.01396, allocations: 346.7 kB / 250.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.01403, allocations: 48.98 kB / 250.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.0142, allocations: 262 kB / 251.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.01442, allocations: 214.5 kB / 251.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01442, allocations: 4 kB / 251.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004843/0.0149, allocations: 342.9 kB / 251.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.01493, allocations: 8 kB / 251.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01493, allocations: 0 / 251.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.01554, allocations: 318.6 kB / 252 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.01577, allocations: 93.88 kB / 252.1 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006225/0.01639, allocations: 1.171 MB / 253.3 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.01654, allocations: 55.59 kB / 253.3 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.01656, allocations: 15.98 kB / 253.3 MB, free: 8.336 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 0.0001104/0.01667, allocations: 129.8 kB / 253.5 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.01671, allocations: 31.97 kB / 253.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/0.01734, allocations: 413.3 kB / 253.9 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.01735, allocations: 4 kB / 253.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01735, allocations: 0 / 253.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01735, allocations: 3.984 kB / 253.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.0176, allocations: 225.6 kB / 254.1 MB, free: 7.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.0176, allocations: 3.984 kB / 254.1 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.01778, allocations: 65.3 kB / 254.2 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.01781, allocations: 35.64 kB / 254.2 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.01829, allocations: 249.4 kB / 254.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.01831, allocations: 7.938 kB / 254.5 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005608/0.01887, allocations: 1.171 MB / 255.7 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01887, allocations: 3.938 kB / 255.7 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.01954, allocations: 0.5318 MB / 256.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.01958, allocations: 7.984 kB / 256.2 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.0197, allocations: 27.98 kB / 256.2 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.01976, allocations: 27.98 kB / 256.3 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01978, allocations: 7.984 kB / 256.3 MB, free: 5.297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.035e-05/0.01985, allocations: 88.62 kB / 256.4 MB, free: 5.207 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01985, allocations: 0 / 256.4 MB, free: 5.207 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.02008, allocations: 119.8 kB / 256.5 MB, free: 5.09 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.0001502/0.02023, allocations: 88.36 kB / 256.6 MB, free: 4.992 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.02059, allocations: 239.7 kB / 256.8 MB, free: 4.758 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.0206, allocations: 4 kB / 256.8 MB, free: 4.754 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.02079, allocations: 169.2 kB / 257 MB, free: 4.586 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.02115, allocations: 358.1 kB / 257.3 MB, free: 4.176 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.02454, allocations: 0.7312 MB / 258 MB, free: 3.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.12e-05/0.02461, allocations: 105.1 kB / 258.1 MB, free: 3.289 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.775e-05/0.0247, allocations: 26.98 kB / 258.2 MB, free: 3.262 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.02485, allocations: 127.2 kB / 258.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02485, allocations: 0 / 258.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of Templates: time 0.008202/0.03306, allocations: 5.731 MB / 264 MB, free: 13.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.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.5730411615222692]