Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 78.19 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 152.5 kB / 24.81 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9488/0.9488, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 268.4 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.323e-05, allocations: 2.312 kB / 268.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001761/0.001774, allocations: 1.655 MB / 270 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005701/0.002344, allocations: 0.5103 MB / 270.5 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.002384, allocations: 4 kB / 270.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.002423, allocations: 7.922 kB / 270.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.002476, allocations: 35.7 kB / 270.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.002613, allocations: 35.83 kB / 270.6 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.609e-05/0.002709, allocations: 99.47 kB / 270.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.002787, allocations: 27.97 kB / 270.7 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.471e-05/0.002841, allocations: 55.89 kB / 270.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.0029, allocations: 27.95 kB / 270.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.002914, allocations: 8 kB / 270.8 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.198e-05/0.002966, allocations: 19.88 kB / 270.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.002981, allocations: 15.98 kB / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.003007, allocations: 39.91 kB / 270.9 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.028e-05/0.003098, allocations: 63.81 kB / 271 MB, free: 3.629 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003099, allocations: 0 / 271 MB, free: 3.629 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.0031, allocations: 0 / 271 MB, free: 3.629 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.003103, allocations: 0 / 271 MB, free: 3.629 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003188/0.003421, allocations: 404.4 kB / 271.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.003451, allocations: 12.92 kB / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.003536, allocations: 24.81 kB / 271.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.258e-05/0.003599, allocations: 120.5 kB / 271.5 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.00361, allocations: 16.36 kB / 271.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.003626, allocations: 12.38 kB / 271.6 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.796e-05/0.003704, allocations: 62.22 kB / 271.6 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.003712, allocations: 192 / 271.6 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.003718, allocations: 4.375 kB / 271.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.003723, allocations: 3.938 kB / 271.6 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.003766, allocations: 31.91 kB / 271.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.00417, allocations: 356 kB / 272 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/0.004239, allocations: 63.03 kB / 272.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.004261, allocations: 23.67 kB / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.004268, allocations: 0 / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.004285, allocations: 41.39 kB / 272.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 6.52e-07/0.004286, allocations: 0 / 272.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001147/0.0044, allocations: 69.75 kB / 272.2 MB, free: 2.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.004419, allocations: 51.41 kB / 272.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/0.004478, allocations: 166.1 kB / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.004488, allocations: 29.7 kB / 272.4 MB, free: 2.008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.004532, allocations: 150.7 kB / 272.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.004548, allocations: 31.73 kB / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.004578, allocations: 35.36 kB / 272.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.004672, allocations: 0.4961 MB / 273.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.004683, allocations: 8.188 kB / 273.2 MB, free: 1.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.004711, allocations: 39.05 kB / 273.2 MB, free: 1.215 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.00476, allocations: 70.91 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.004761, allocations: 0 / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.592e-05/0.004837, allocations: 85.58 kB / 273.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.004846, allocations: 4 kB / 273.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.00485, allocations: 4.062 kB / 273.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.004859, allocations: 0 / 273.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.004929, allocations: 31.92 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.004931, allocations: 0 / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.004954, allocations: 11.89 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.004957, allocations: 7.938 kB / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.487e-05/0.005012, allocations: 164.5 kB / 273.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.005026, allocations: 4 kB / 273.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.005047, allocations: 8.438 kB / 273.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005049, allocations: 3.984 kB / 273.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.00505, allocations: 4 kB / 273.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005052, allocations: 0 / 273.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.005267, allocations: 121.1 kB / 273.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.005268, allocations: 0 / 273.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.005329, allocations: 19.94 kB / 273.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.00533, allocations: 0 / 273.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.005338, allocations: 4 kB / 273.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.005339, allocations: 0 / 273.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.005339, allocations: 0 / 273.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.005462, allocations: 231.8 kB / 273.9 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.005469, allocations: 7.891 kB / 274 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.005478, allocations: 12.03 kB / 274 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.005507, allocations: 0 / 274 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.005518, allocations: 7.969 kB / 274 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005521, allocations: 4 kB / 274 MB, free: 352 kB / 250.7 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.005549, allocations: 131.1 kB / 274.1 MB, free: 220 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005549, allocations: 0 / 274.1 MB, free: 220 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.005694, allocations: 20 kB / 274.1 MB, free: 200 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.582e-05/0.00575, allocations: 95.25 kB / 274.2 MB, free: 96 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.937e-05/0.005819, allocations: 51.66 kB / 274.3 MB, free: 40 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.00582, allocations: 4 kB / 274.3 MB, free: 36 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.005836, allocations: 24.06 kB / 274.3 MB, free: 8 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.006002, allocations: 12.34 kB / 274.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.006431, allocations: 274 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.006461, allocations: 63.34 kB / 274.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.227e-05/0.006483, allocations: 8 kB / 274.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.006526, allocations: 78.19 kB / 274.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006526, allocations: 3.938 kB / 274.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Templates: time 0.00185/0.008377, allocations: 0.6715 MB / 275.4 MB, free: 14.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.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.536296095699072]