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.0008159/0.0008159, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.00195, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007162/0.0007162, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009436/0.00166, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.066/1.066, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1133/1.179, allocations: 53.66 MB / 243.4 MB, free: 15.51 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 2.705e-06/2.705e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.933e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004477/0.004497, allocations: 3.189 MB / 247.9 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.005689, allocations: 0.8775 MB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.005823, allocations: 4 kB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.005964, allocations: 71.3 kB / 248.9 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.006099, allocations: 114.9 kB / 249 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.006353, allocations: 167.6 kB / 249.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.00673, allocations: 0.5655 MB / 249.7 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.006931, allocations: 117.5 kB / 249.8 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.007295, allocations: 374.3 kB / 250.2 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.007506, allocations: 195.4 kB / 250.4 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.007583, allocations: 52 kB / 250.4 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.007719, allocations: 56 kB / 250.5 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.007787, allocations: 79.75 kB / 250.5 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.007901, allocations: 139.8 kB / 250.7 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.008254, allocations: 354.8 kB / 251 MB, free: 7.863 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.008265, allocations: 0 / 251 MB, free: 7.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.008266, allocations: 0 / 251 MB, free: 7.863 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.008278, allocations: 0 / 251 MB, free: 7.863 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.0008778/0.009156, allocations: 0.7609 MB / 251.8 MB, free: 7.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.009194, allocations: 8.031 kB / 251.8 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.009375, allocations: 150 kB / 251.9 MB, free: 6.906 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.009632, allocations: 224.5 kB / 252.2 MB, free: 6.664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.009658, allocations: 29.38 kB / 252.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.009705, allocations: 36.38 kB / 252.2 MB, free: 6.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.01018, allocations: 0.5078 MB / 252.7 MB, free: 6.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.0102, allocations: 192 / 252.7 MB, free: 6.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.01022, allocations: 16.38 kB / 252.8 MB, free: 6.012 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01023, allocations: 11.94 kB / 252.8 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.01044, allocations: 154.9 kB / 252.9 MB, free: 5.852 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01163, allocations: 0.9345 MB / 253.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.01225, allocations: 218.1 kB / 254.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.0124, allocations: 97.41 kB / 254.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.01244, allocations: 12.33 kB / 254.2 MB, free: 4.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.01247, allocations: 42.88 kB / 254.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.01247, allocations: 0 / 254.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001748/0.01422, allocations: 0.7307 MB / 254.9 MB, free: 3.742 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.01426, allocations: 59.34 kB / 255 MB, free: 3.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.01444, allocations: 247 kB / 255.2 MB, free: 3.422 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.01447, allocations: 33.7 kB / 255.3 MB, free: 3.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01458, allocations: 193.1 kB / 255.5 MB, free: 3.188 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.742e-05/0.01468, allocations: 142.7 kB / 255.6 MB, free: 3.047 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.01478, allocations: 82.11 kB / 255.7 MB, free: 2.961 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.0149, allocations: 346.7 kB / 256 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.01498, allocations: 52.97 kB / 256.1 MB, free: 2.559 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.01516, allocations: 265.9 kB / 256.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.01539, allocations: 218.3 kB / 256.5 MB, free: 2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.0154, allocations: 0 / 256.5 MB, free: 2 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005255/0.01592, allocations: 342.8 kB / 256.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.01594, allocations: 14.56 kB / 256.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01595, allocations: 0 / 256.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.01658, allocations: 237.4 kB / 257.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.0168, allocations: 92.62 kB / 257.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006397/0.01744, allocations: 1.152 MB / 258.4 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.01764, allocations: 63.7 kB / 258.4 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.01766, allocations: 12 kB / 258.4 MB, free: 36 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 0.0001791/0.01784, allocations: 129.8 kB / 258.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.01789, allocations: 35.95 kB / 258.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006176/0.01851, allocations: 393.6 kB / 259 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.01851, allocations: 12 kB / 259 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01852, allocations: 3.938 kB / 259 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01852, allocations: 0 / 259 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.01881, allocations: 229.5 kB / 259.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01882, allocations: 0 / 259.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.01899, allocations: 67.94 kB / 259.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.01902, allocations: 27.75 kB / 259.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/0.01952, allocations: 237.4 kB / 259.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.01955, allocations: 11.98 kB / 259.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006401/0.02019, allocations: 1.167 MB / 260.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.02019, allocations: 4 kB / 260.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.02094, allocations: 0.5588 MB / 261.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.02098, allocations: 7.938 kB / 261.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.0211, allocations: 27.97 kB / 261.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.02116, allocations: 23.95 kB / 261.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.02117, allocations: 8 kB / 261.4 MB, free: 13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.651e-05/0.02126, allocations: 88.67 kB / 261.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02126, allocations: 0 / 261.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.02156, allocations: 111.8 kB / 261.6 MB, free: 12.8 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.0001726/0.02173, allocations: 96.39 kB / 261.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.02213, allocations: 239.4 kB / 261.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.02214, allocations: 4 kB / 261.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.02234, allocations: 160.8 kB / 262 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.02272, allocations: 370.1 kB / 262.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.02618, allocations: 0.7239 MB / 263.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.63e-05/0.02626, allocations: 105 kB / 263.2 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.02638, allocations: 34.97 kB / 263.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.02656, allocations: 115.3 kB / 263.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of SimCode: time 1.483e-06/0.02656, allocations: 0 / 263.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of Templates: time 0.008748/0.03531, allocations: 5.719 MB / 269.1 MB, free: 5.199 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6210386008024216]