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.001154/0.001154, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001253/0.001253, allocations: 164.7 kB / 25.6 MB, free: 8.895 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 1.09/1.09, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.643e-06/1.643e-06, allocations: 3.938 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.323e-05, allocations: 6.25 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003701/0.003734, allocations: 3.047 MB / 254.5 MB, free: 4.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.005188, allocations: 0.8237 MB / 255.3 MB, free: 3.348 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.005346, allocations: 4 kB / 255.3 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.005509, allocations: 59.36 kB / 255.4 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.005686, allocations: 130.8 kB / 255.5 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.006037, allocations: 147.7 kB / 255.7 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.006431, allocations: 0.5538 MB / 256.2 MB, free: 2.453 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.006631, allocations: 108.8 kB / 256.3 MB, free: 2.344 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.00694, allocations: 319.4 kB / 256.7 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.007136, allocations: 195.4 kB / 256.8 MB, free: 1.84 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.007192, allocations: 52 kB / 256.9 MB, free: 1.789 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.007282, allocations: 64 kB / 257 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.007349, allocations: 111.6 kB / 257.1 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.007458, allocations: 167.6 kB / 257.2 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.007805, allocations: 394.6 kB / 257.6 MB, free: 1.062 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.007807, allocations: 0 / 257.6 MB, free: 1.062 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007808, allocations: 0 / 257.6 MB, free: 1.062 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.007813, allocations: 0 / 257.6 MB, free: 1.062 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.0008873/0.008701, allocations: 0.7883 MB / 258.4 MB, free: 240 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.008741, allocations: 11.98 kB / 258.4 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.698e-05/0.008828, allocations: 80.66 kB / 258.5 MB, free: 148 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.009095, allocations: 251.3 kB / 258.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.009124, allocations: 29.38 kB / 258.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.009173, allocations: 40.38 kB / 258.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.009679, allocations: 0.5177 MB / 259.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.009691, allocations: 4.188 kB / 259.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.009718, allocations: 16.38 kB / 259.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.009727, allocations: 15.94 kB / 259.4 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.009954, allocations: 170.8 kB / 259.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.0114, allocations: 1.158 MB / 260.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.01178, allocations: 244.3 kB / 260.9 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.01189, allocations: 108.3 kB / 261 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.01192, allocations: 12.31 kB / 261 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.01195, allocations: 45.66 kB / 261.1 MB, free: 13.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.563e-06/0.01195, allocations: 0 / 261.1 MB, free: 13.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.0017/0.01365, allocations: 0.8072 MB / 261.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.01371, allocations: 162.2 kB / 262.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.01388, allocations: 292.1 kB / 262.3 MB, free: 12.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.01391, allocations: 37.7 kB / 262.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.01402, allocations: 263.4 kB / 262.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/0.0141, allocations: 146.7 kB / 262.8 MB, free: 11.6 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-05/0.01419, allocations: 79.81 kB / 262.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.01433, allocations: 0.5157 MB / 263.4 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.01441, allocations: 64.89 kB / 263.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.01459, allocations: 296 kB / 263.7 MB, free: 10.56 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.01482, allocations: 233.3 kB / 263.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01482, allocations: 0 / 263.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005594/0.01538, allocations: 424.4 kB / 264.4 MB, free: 9.871 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.0154, allocations: 7.984 kB / 264.4 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01541, allocations: 4 kB / 264.4 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/0.016, allocations: 239.1 kB / 264.6 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.01616, allocations: 75.83 kB / 264.7 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008022/0.01696, allocations: 1.729 MB / 266.4 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.01712, allocations: 59.69 kB / 266.5 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.01714, allocations: 15.94 kB / 266.5 MB, free: 7.676 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.0001283/0.01727, allocations: 180.5 kB / 266.7 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.01734, allocations: 47.77 kB / 266.7 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008345/0.01817, allocations: 462.8 kB / 267.2 MB, free: 6.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.01818, allocations: 4 kB / 267.2 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01818, allocations: 0 / 267.2 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01819, allocations: 3.984 kB / 267.2 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.01846, allocations: 272.8 kB / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.01847, allocations: 0 / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.0186, allocations: 51.91 kB / 267.5 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/0.01911, allocations: 247.1 kB / 267.7 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.01913, allocations: 7.984 kB / 267.7 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007594/0.01989, allocations: 1.744 MB / 269.5 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.0199, allocations: 3.984 kB / 269.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.02068, allocations: 0.6508 MB / 270.1 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.02072, allocations: 31.69 kB / 270.2 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.02076, allocations: 15.94 kB / 270.2 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.02089, allocations: 24.02 kB / 270.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.02094, allocations: 27.94 kB / 270.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.02096, allocations: 12 kB / 270.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.02108, allocations: 205 kB / 270.4 MB, free: 3.559 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02108, allocations: 0 / 270.4 MB, free: 3.559 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.02137, allocations: 111.8 kB / 270.5 MB, free: 3.449 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.0001402/0.02151, allocations: 103.2 kB / 270.7 MB, free: 3.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.02193, allocations: 262.5 kB / 270.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02193, allocations: 0 / 270.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.02212, allocations: 148.3 kB / 271.1 MB, free: 2.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.02238, allocations: 56.77 kB / 271.1 MB, free: 2.879 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.02349, allocations: 0.744 MB / 271.9 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.434e-05/0.02355, allocations: 105 kB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.498e-05/0.02364, allocations: 30.98 kB / 272 MB, free: 1.949 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.02378, allocations: 134.2 kB / 272.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02379, allocations: 0 / 272.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of Templates: time 0.007312/0.0311, allocations: 5.278 MB / 277.4 MB, free: 12.57 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 -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: 3.246267758309841]