Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007701/0.0007701, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.00182, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007198/0.0007198, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000888/0.001608, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09194/1.119, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2e-05, allocations: 10.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003065/0.003085, allocations: 3.184 MB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.004484, allocations: 0.8736 MB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.004669, allocations: 8 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.004788, allocations: 67.25 kB / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.004954, allocations: 118.8 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.005264, allocations: 167.6 kB / 248.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003984/0.005662, allocations: 0.5539 MB / 249.5 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.005847, allocations: 121.5 kB / 249.6 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004315/0.006279, allocations: 378.3 kB / 250 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.006486, allocations: 191.5 kB / 250.2 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.006539, allocations: 52 kB / 250.2 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.006646, allocations: 59.98 kB / 250.3 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.006697, allocations: 79.75 kB / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.006803, allocations: 139.8 kB / 250.5 MB, free: 8.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.007144, allocations: 342.8 kB / 250.8 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-05/0.007161, allocations: 0 / 250.8 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007162, allocations: 8 kB / 250.8 MB, free: 7.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.007184, allocations: 0 / 250.8 MB, free: 7.969 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.0009104/0.008094, allocations: 0.7608 MB / 251.6 MB, free: 7.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.008123, allocations: 8.031 kB / 251.6 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.008305, allocations: 150 kB / 251.8 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.00857, allocations: 216.5 kB / 252 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.008595, allocations: 33.38 kB / 252 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.00864, allocations: 40.38 kB / 252 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.009085, allocations: 0.5078 MB / 252.6 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.009098, allocations: 192 / 252.6 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.009122, allocations: 16.38 kB / 252.6 MB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.009131, allocations: 11.94 kB / 252.6 MB, free: 6.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.009332, allocations: 146.9 kB / 252.7 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.01052, allocations: 0.9462 MB / 253.7 MB, free: 4.961 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.01088, allocations: 218 kB / 253.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.01097, allocations: 93.41 kB / 254 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.011, allocations: 12.31 kB / 254 MB, free: 4.637 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.01103, allocations: 46.89 kB / 254 MB, free: 4.582 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/0.01103, allocations: 0 / 254 MB, free: 4.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001536/0.01257, allocations: 0.7268 MB / 254.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.01259, allocations: 59.34 kB / 254.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.01273, allocations: 258.9 kB / 255.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.01275, allocations: 29.7 kB / 255.1 MB, free: 3.473 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.01283, allocations: 185.2 kB / 255.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.01289, allocations: 146.7 kB / 255.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.01297, allocations: 82.11 kB / 255.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.01305, allocations: 342.8 kB / 255.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/0.01312, allocations: 52.97 kB / 255.9 MB, free: 2.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.01325, allocations: 254 kB / 256.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.01345, allocations: 218.5 kB / 256.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01345, allocations: 4 kB / 256.4 MB, free: 2.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004431/0.01389, allocations: 334.8 kB / 256.7 MB, free: 1.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.01391, allocations: 7.984 kB / 256.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01391, allocations: 4.219 kB / 256.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/0.01444, allocations: 241.4 kB / 256.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.01465, allocations: 83.83 kB / 257 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005171/0.01516, allocations: 1.159 MB / 258.2 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.01532, allocations: 63.72 kB / 258.2 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.01534, allocations: 15.98 kB / 258.2 MB, free: 148 kB / 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.348e-05/0.01544, allocations: 125.8 kB / 258.4 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.01549, allocations: 39.98 kB / 258.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/0.01606, allocations: 397.3 kB / 258.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01606, allocations: 7.938 kB / 258.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01606, allocations: 0 / 258.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.01607, allocations: 7.984 kB / 258.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.01631, allocations: 233.5 kB / 259 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.01631, allocations: 0 / 259 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.01647, allocations: 59.95 kB / 259.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.01651, allocations: 35.73 kB / 259.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/0.01697, allocations: 237.3 kB / 259.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.017, allocations: 8 kB / 259.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004819/0.01748, allocations: 1.175 MB / 260.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01748, allocations: 4 kB / 260.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.01811, allocations: 0.5434 MB / 261.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.01815, allocations: 15.98 kB / 261.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.01827, allocations: 19.98 kB / 261.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.01831, allocations: 27.95 kB / 261.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.01833, allocations: 11.98 kB / 261.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.0184, allocations: 88.64 kB / 261.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0184, allocations: 4.031 kB / 261.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000239/0.01863, allocations: 107.8 kB / 261.4 MB, free: 12.9 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.0001348/0.01877, allocations: 88.42 kB / 261.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.01911, allocations: 235.6 kB / 261.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.01913, allocations: 8.062 kB / 261.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.0193, allocations: 136.5 kB / 261.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01953, allocations: 84.61 kB / 261.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.02298, allocations: 0.7361 MB / 262.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.962e-05/0.02304, allocations: 105 kB / 262.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.02315, allocations: 34.95 kB / 262.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.02328, allocations: 107.3 kB / 262.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02328, allocations: 4 kB / 262.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Templates: time 0.007773/0.03106, allocations: 5.485 MB / 268.4 MB, free: 5.906 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6738078370690346]