Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008299/0.0008299, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.001971, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002617, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.007/1.007, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09659/1.104, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.695e-05, allocations: 5.406 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004609/0.004636, allocations: 3.178 MB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.006616, allocations: 0.8774 MB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.006884, allocations: 8 kB / 249.3 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.007075, allocations: 59.38 kB / 249.3 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.007373, allocations: 122.8 kB / 249.5 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.007835, allocations: 167.6 kB / 249.6 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006595/0.008494, allocations: 0.5616 MB / 250.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.008755, allocations: 125.4 kB / 250.3 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.009409, allocations: 370.4 kB / 250.7 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.009725, allocations: 195.5 kB / 250.9 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.009803, allocations: 48 kB / 250.9 MB, free: 7.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.009966, allocations: 64 kB / 251 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.01004, allocations: 83.69 kB / 251.1 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.0102, allocations: 135.8 kB / 251.2 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.01072, allocations: 338.9 kB / 251.5 MB, free: 7.219 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-05/0.01073, allocations: 0 / 251.5 MB, free: 7.219 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01073, allocations: 0 / 251.5 MB, free: 7.219 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.01075, allocations: 0 / 251.5 MB, free: 7.219 MB / 250.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.001326/0.01208, allocations: 0.7687 MB / 252.3 MB, free: 6.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.01213, allocations: 12.62 kB / 252.3 MB, free: 6.414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.01244, allocations: 145.9 kB / 252.4 MB, free: 6.254 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.01281, allocations: 220.5 kB / 252.7 MB, free: 6.012 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.01285, allocations: 25.38 kB / 252.7 MB, free: 5.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.01292, allocations: 44.36 kB / 252.7 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.01357, allocations: 0.5079 MB / 253.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.01358, allocations: 192 / 253.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.01362, allocations: 20.31 kB / 253.3 MB, free: 5.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.01363, allocations: 15.94 kB / 253.3 MB, free: 5.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.01393, allocations: 146.9 kB / 253.4 MB, free: 5.195 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.01566, allocations: 0.9424 MB / 254.4 MB, free: 4.203 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.01618, allocations: 211.4 kB / 254.6 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.01633, allocations: 97.34 kB / 254.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.01637, allocations: 12.33 kB / 254.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.0164, allocations: 38.89 kB / 254.7 MB, free: 3.832 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.01641, allocations: 0 / 254.7 MB, free: 3.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002267/0.01867, allocations: 0.7307 MB / 255.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.01871, allocations: 59.34 kB / 255.5 MB, free: 3.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.01891, allocations: 251 kB / 255.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.01894, allocations: 29.7 kB / 255.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01905, allocations: 197.1 kB / 256 MB, free: 2.531 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.01915, allocations: 150.7 kB / 256.1 MB, free: 2.383 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.01926, allocations: 78.11 kB / 256.2 MB, free: 2.301 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.01938, allocations: 342.8 kB / 256.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.01949, allocations: 52.97 kB / 256.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.0197, allocations: 250 kB / 256.8 MB, free: 1.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.02002, allocations: 222.4 kB / 257 MB, free: 1.355 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.02002, allocations: 0 / 257 MB, free: 1.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006727/0.02069, allocations: 342.8 kB / 257.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.02071, allocations: 4 kB / 257.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.02072, allocations: 4 kB / 257.4 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007734/0.02149, allocations: 245.5 kB / 257.6 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.02178, allocations: 83.81 kB / 257.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007734/0.02256, allocations: 1.163 MB / 258.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.0228, allocations: 63.69 kB / 258.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.02282, allocations: 11.98 kB / 258.9 MB, free: 15.38 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 0.0001381/0.02296, allocations: 137.8 kB / 259.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.02303, allocations: 35.97 kB / 259.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008331/0.02386, allocations: 397.5 kB / 259.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.02387, allocations: 4 kB / 259.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.02387, allocations: 0 / 259.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.02388, allocations: 0 / 259.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.02422, allocations: 229.5 kB / 259.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02422, allocations: 4 kB / 259.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.02446, allocations: 63.89 kB / 259.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.0245, allocations: 39.72 kB / 259.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006715/0.02518, allocations: 233.4 kB / 260.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.02521, allocations: 15.98 kB / 260.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006861/0.0259, allocations: 1.167 MB / 261.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.0259, allocations: 0 / 261.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009442/0.02684, allocations: 0.5553 MB / 261.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.02689, allocations: 8 kB / 261.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.02707, allocations: 27.97 kB / 261.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.02713, allocations: 19.95 kB / 261.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.02715, allocations: 8 kB / 261.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.02724, allocations: 88.64 kB / 261.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02724, allocations: 0 / 261.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003635/0.0276, allocations: 111.8 kB / 262 MB, free: 12.14 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.0001626/0.02777, allocations: 104.3 kB / 262.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.02824, allocations: 235.2 kB / 262.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/0.02825, allocations: 4 kB / 262.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.02852, allocations: 161.5 kB / 262.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.02898, allocations: 369.6 kB / 262.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.03254, allocations: 0.7311 MB / 263.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.87e-05/0.03259, allocations: 108.8 kB / 263.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.276e-05/0.03269, allocations: 26.98 kB / 263.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.03283, allocations: 119.3 kB / 263.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03283, allocations: 4 kB / 263.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Templates: time 0.007132/0.03996, allocations: 5.716 MB / 269.6 MB, free: 4.531 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6563909584656358]