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.0008066/0.0008066, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001823, allocations: 445.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.0006873/0.0006873, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009171/0.001604, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9522/0.9522, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1418/1.094, allocations: 49.48 MB / 220.5 MB, free: 1.461 MB / 218.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.593e-06/1.593e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.24e-05, allocations: 6.109 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.006807/0.006829, allocations: 3.11 MB / 224.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.008078, allocations: 0.8429 MB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.008212, allocations: 8 kB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.008323, allocations: 67.31 kB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.008471, allocations: 122.8 kB / 226 MB, free: 11.99 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.008723, allocations: 139.8 kB / 226.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.009079, allocations: 0.5461 MB / 226.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.00926, allocations: 129.4 kB / 226.8 MB, free: 11.17 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.009578, allocations: 358.4 kB / 227.1 MB, free: 10.82 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.009762, allocations: 191.5 kB / 227.3 MB, free: 10.64 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.009813, allocations: 52 kB / 227.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.00991, allocations: 55.98 kB / 227.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.009966, allocations: 83.69 kB / 227.5 MB, free: 10.45 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.01008, allocations: 135.8 kB / 227.7 MB, free: 10.32 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.01039, allocations: 334.9 kB / 228 MB, free: 9.988 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.01041, allocations: 0 / 228 MB, free: 9.988 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01041, allocations: 0 / 228 MB, free: 9.988 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.01043, allocations: 4 kB / 228 MB, free: 9.984 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.0008751/0.0113, allocations: 0.757 MB / 228.7 MB, free: 9.203 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.01133, allocations: 8.031 kB / 228.7 MB, free: 9.195 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.855e-05/0.01141, allocations: 68.88 kB / 228.8 MB, free: 9.129 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.01164, allocations: 192.6 kB / 229 MB, free: 8.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.01167, allocations: 29.38 kB / 229 MB, free: 8.883 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.01172, allocations: 40.38 kB / 229.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.01217, allocations: 0.5195 MB / 229.6 MB, free: 8.262 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01219, allocations: 4.141 kB / 229.6 MB, free: 8.258 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.01221, allocations: 16.38 kB / 229.6 MB, free: 8.242 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.01222, allocations: 11.94 kB / 229.6 MB, free: 8.23 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.01242, allocations: 142.9 kB / 229.8 MB, free: 8.09 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.01364, allocations: 0.9463 MB / 230.7 MB, free: 7.094 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.01403, allocations: 215.3 kB / 230.9 MB, free: 6.875 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.01413, allocations: 89.47 kB / 231 MB, free: 6.785 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.01416, allocations: 16.3 kB / 231 MB, free: 6.77 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.01419, allocations: 38.89 kB / 231.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.01419, allocations: 0 / 231.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of matching and sorting (n=40): time 0.001545/0.01574, allocations: 0.7317 MB / 231.8 MB, free: 5.98 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.01577, allocations: 59.34 kB / 231.8 MB, free: 5.91 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.01592, allocations: 244.9 kB / 232.1 MB, free: 5.656 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.01594, allocations: 29.7 kB / 232.1 MB, free: 5.621 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.01602, allocations: 193.1 kB / 232.3 MB, free: 5.426 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.0161, allocations: 142.8 kB / 232.4 MB, free: 5.285 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.01619, allocations: 78.11 kB / 232.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.01629, allocations: 346.8 kB / 232.9 MB, free: 4.855 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.01637, allocations: 52.97 kB / 232.9 MB, free: 4.805 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.01653, allocations: 257.9 kB / 233.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.01674, allocations: 218.5 kB / 233.4 MB, free: 4.254 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01674, allocations: 4 kB / 233.4 MB, free: 4.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004444/0.01719, allocations: 331 kB / 233.7 MB, free: 3.914 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.0172, allocations: 4 kB / 233.7 MB, free: 3.91 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.01721, allocations: 4 kB / 233.7 MB, free: 3.906 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/0.01779, allocations: 314.6 kB / 234 MB, free: 3.574 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.01801, allocations: 91.81 kB / 234.1 MB, free: 3.484 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000596/0.0186, allocations: 1.155 MB / 235.3 MB, free: 2.277 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.01879, allocations: 63.64 kB / 235.3 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.0188, allocations: 8 kB / 235.3 MB, free: 2.207 MB / 234.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.000118/0.01892, allocations: 145.8 kB / 235.5 MB, free: 2.055 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.01897, allocations: 35.97 kB / 235.5 MB, free: 2.02 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/0.01957, allocations: 397.3 kB / 235.9 MB, free: 1.621 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01957, allocations: 4 kB / 235.9 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.01957, allocations: 3.938 kB / 235.9 MB, free: 1.613 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01958, allocations: 3.984 kB / 235.9 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.01982, allocations: 221.6 kB / 236.1 MB, free: 1.375 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01982, allocations: 4 kB / 236.1 MB, free: 1.371 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.01999, allocations: 63.94 kB / 236.2 MB, free: 1.309 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.02003, allocations: 35.69 kB / 236.2 MB, free: 1.273 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/0.0205, allocations: 229.4 kB / 236.5 MB, free: 1.043 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.02051, allocations: 11.98 kB / 236.5 MB, free: 1.031 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007537/0.02127, allocations: 1.175 MB / 237.6 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.02127, allocations: 4.062 kB / 237.6 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000729/0.022, allocations: 0.5356 MB / 238.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.02204, allocations: 19.94 kB / 238.2 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.02216, allocations: 27.97 kB / 238.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.0222, allocations: 23.95 kB / 238.2 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.02221, allocations: 8 kB / 238.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.07e-05/0.02227, allocations: 86.75 kB / 238.3 MB, free: 15.08 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02227, allocations: 0 / 238.3 MB, free: 15.08 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.02253, allocations: 103.9 kB / 238.4 MB, free: 14.98 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.0001276/0.02266, allocations: 92.39 kB / 238.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.02299, allocations: 235.8 kB / 238.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.023, allocations: 8 kB / 238.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.02315, allocations: 153.8 kB / 238.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.02338, allocations: 80.41 kB / 239 MB, free: 14.41 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.0269, allocations: 0.7266 MB / 239.7 MB, free: 13.65 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.005e-05/0.02696, allocations: 105.1 kB / 239.8 MB, free: 13.53 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.046e-05/0.02705, allocations: 30.97 kB / 239.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.02718, allocations: 107.3 kB / 240 MB, free: 13.4 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02718, allocations: 0 / 240 MB, free: 13.4 MB / 250.7 MB Notification: Performance of Templates: time 0.007237/0.03441, allocations: 5.487 MB / 245.5 MB, free: 7.926 MB / 250.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 -ignoreHideResult -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.706668240018189]