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.0009878/0.0009878, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001018/0.001018, allocations: 163.9 kB / 25.7 MB, free: 8.453 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.8659/0.8659, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.493e-06/1.493e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.079e-05, allocations: 6.25 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002814/0.002834, allocations: 3.062 MB / 254.6 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000993/0.003827, allocations: 0.8429 MB / 255.4 MB, free: 3.332 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.00394, allocations: 4 kB / 255.4 MB, free: 3.328 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.004078, allocations: 67.36 kB / 255.5 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.004217, allocations: 122.8 kB / 255.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.004493, allocations: 143.7 kB / 255.8 MB, free: 3 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.004834, allocations: 0.5538 MB / 256.3 MB, free: 2.441 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.005, allocations: 125.5 kB / 256.4 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.005254, allocations: 315.3 kB / 256.7 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.005429, allocations: 199.4 kB / 256.9 MB, free: 1.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.00548, allocations: 56 kB / 257 MB, free: 1.758 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.005553, allocations: 52 kB / 257 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.005616, allocations: 115.6 kB / 257.2 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.005724, allocations: 171.6 kB / 257.3 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.006019, allocations: 382.7 kB / 257.7 MB, free: 1.051 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.006021, allocations: 0 / 257.7 MB, free: 1.051 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006022, allocations: 3.938 kB / 257.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006027, allocations: 0 / 257.7 MB, free: 1.047 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.0007176/0.006744, allocations: 0.6675 MB / 258.4 MB, free: 360 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.006773, allocations: 15.98 kB / 258.4 MB, free: 344 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.006846, allocations: 68.88 kB / 258.5 MB, free: 276 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.007048, allocations: 192.6 kB / 258.6 MB, free: 56 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.007069, allocations: 29.38 kB / 258.7 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.007125, allocations: 44.38 kB / 258.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.007538, allocations: 0.5117 MB / 259.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.00755, allocations: 192 / 259.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.007574, allocations: 20.38 kB / 259.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.007582, allocations: 11.94 kB / 259.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.007782, allocations: 142.9 kB / 259.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.008871, allocations: 0.9423 MB / 260.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.009215, allocations: 215.4 kB / 260.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.009309, allocations: 93.47 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.009336, allocations: 12.33 kB / 260.7 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.009357, allocations: 38.89 kB / 260.7 MB, free: 13.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.252e-06/0.009359, allocations: 0 / 260.7 MB, free: 13.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001491/0.01085, allocations: 0.7278 MB / 261.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.0109, allocations: 162.2 kB / 261.6 MB, free: 12.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.01102, allocations: 244.9 kB / 261.8 MB, free: 12.69 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.01105, allocations: 29.7 kB / 261.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.01112, allocations: 193.1 kB / 262 MB, free: 12.46 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.01119, allocations: 146.7 kB / 262.2 MB, free: 12.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.01127, allocations: 74.16 kB / 262.2 MB, free: 12.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.01135, allocations: 342.8 kB / 262.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.01142, allocations: 56.97 kB / 262.6 MB, free: 11.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.01156, allocations: 258 kB / 262.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.01176, allocations: 210.5 kB / 263.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01176, allocations: 4 kB / 263.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004356/0.01219, allocations: 338.9 kB / 263.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01221, allocations: 4 kB / 263.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01221, allocations: 4 kB / 263.4 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.01274, allocations: 241.5 kB / 263.7 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.01289, allocations: 63.95 kB / 263.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005328/0.01342, allocations: 1.171 MB / 264.9 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.01356, allocations: 59.64 kB / 265 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01358, allocations: 12 kB / 265 MB, free: 9.344 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.533e-05/0.01367, allocations: 137.7 kB / 265.1 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.01372, allocations: 31.97 kB / 265.1 MB, free: 9.168 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005575/0.01427, allocations: 401.4 kB / 265.5 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01428, allocations: 8 kB / 265.5 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.01428, allocations: 0 / 265.5 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01428, allocations: 3.984 kB / 265.5 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.0145, allocations: 225.5 kB / 265.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.0145, allocations: 7.938 kB / 265.8 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.01463, allocations: 51.95 kB / 265.8 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.01505, allocations: 229.5 kB / 266.1 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.01506, allocations: 12 kB / 266.1 MB, free: 8.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004792/0.01554, allocations: 1.171 MB / 267.2 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01554, allocations: 0 / 267.2 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.01619, allocations: 0.5473 MB / 267.8 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.01622, allocations: 35.64 kB / 267.8 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.01625, allocations: 11.94 kB / 267.8 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.01636, allocations: 20.03 kB / 267.8 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.0164, allocations: 39.89 kB / 267.9 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.01642, allocations: 12 kB / 267.9 MB, free: 6.301 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.85e-05/0.01648, allocations: 78.77 kB / 268 MB, free: 6.219 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01648, allocations: 0 / 268 MB, free: 6.219 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.01669, allocations: 111.8 kB / 268.1 MB, free: 6.109 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.0001143/0.01681, allocations: 92.17 kB / 268.2 MB, free: 6.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.01712, allocations: 243.7 kB / 268.4 MB, free: 5.777 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.01713, allocations: 4 kB / 268.4 MB, free: 5.773 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.01727, allocations: 137.5 kB / 268.5 MB, free: 5.637 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.01746, allocations: 52.47 kB / 268.6 MB, free: 5.586 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.01843, allocations: 0.7155 MB / 269.3 MB, free: 4.836 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.687e-05/0.01849, allocations: 101.1 kB / 269.4 MB, free: 4.719 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.168e-05/0.01856, allocations: 22.98 kB / 269.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.01869, allocations: 115.3 kB / 269.6 MB, free: 4.582 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01869, allocations: 0 / 269.6 MB, free: 4.582 MB / 250.7 MB Notification: Performance of Templates: time 0.00673/0.02542, allocations: 5.171 MB / 274.7 MB, free: 15.44 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: 2.7982025728560984]