Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.002372/0.002372, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002668/0.002668, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.531/1.531, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.626e-05/3.822e-05, allocations: 6.25 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.004934/0.004973, allocations: 1.658 MB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.006729, allocations: 0.5299 MB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.006797, allocations: 8 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.967e-05/0.006866, allocations: 7.922 kB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.007008, allocations: 31.7 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.007283, allocations: 31.89 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.007525, allocations: 103.5 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.007681, allocations: 27.92 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.007822, allocations: 51.89 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.007954, allocations: 35.89 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.007988, allocations: 8 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.008091, allocations: 16 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.008123, allocations: 11.98 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.008207, allocations: 39.91 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.008481, allocations: 99.67 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.008485, allocations: 0 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.008486, allocations: 0 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.008491, allocations: 4 kB / 274.9 MB, free: 15.2 MB / 266.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.0008232/0.009314, allocations: 408.1 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.009361, allocations: 8.031 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/0.009604, allocations: 20.83 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.009801, allocations: 132.4 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.009821, allocations: 4.375 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.009858, allocations: 8.375 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.01011, allocations: 78.23 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01013, allocations: 192 / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.01015, allocations: 4.375 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.01016, allocations: 7.938 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.01037, allocations: 51.91 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.01158, allocations: 407.4 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.01183, allocations: 75.05 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.01195, allocations: 31.67 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.01197, allocations: 4 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.01202, allocations: 41.33 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.01202, allocations: 0 / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003889/0.01241, allocations: 93.89 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.01248, allocations: 55.41 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.01269, allocations: 169.9 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.01272, allocations: 29.7 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.01287, allocations: 146.8 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.01292, allocations: 35.73 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.01301, allocations: 35.38 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003923/0.0134, allocations: 0.4922 MB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.01348, allocations: 20 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.01361, allocations: 55.05 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.01382, allocations: 75.23 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01383, allocations: 0 / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003479/0.01418, allocations: 117.6 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.0142, allocations: 12 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01421, allocations: 0 / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.01422, allocations: 0 / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.01446, allocations: 27.92 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.01447, allocations: 4 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.01455, allocations: 7.891 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.01457, allocations: 11.94 kB / 277.6 MB, free: 12.34 MB / 266.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 0.0001927/0.01477, allocations: 160.6 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.01482, allocations: 4 kB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.01487, allocations: 12.42 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01487, allocations: 8 kB / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01488, allocations: 0 / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01488, allocations: 0 / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.01524, allocations: 152.5 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01524, allocations: 0 / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.01545, allocations: 23.92 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.01546, allocations: 4 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01547, allocations: 0 / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01547, allocations: 0 / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01547, allocations: 0 / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.01597, allocations: 247.9 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.01599, allocations: 11.89 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.01602, allocations: 0 / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01614, allocations: 4 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.01617, allocations: 7.984 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.01618, allocations: 0 / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.01631, allocations: 131.2 kB / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01631, allocations: 0 / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004701/0.01678, allocations: 23.89 kB / 278.3 MB, free: 11.5 MB / 266.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 0.0001774/0.01696, allocations: 103.2 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.01724, allocations: 79.14 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01724, allocations: 0 / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.01734, allocations: 31.67 kB / 278.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.01777, allocations: 8 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.01876, allocations: 275 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.0189, allocations: 79.58 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.357e-05/0.01896, allocations: 15.97 kB / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.01901, allocations: 12.5 kB / 278.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01901, allocations: 0 / 278.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of Templates: time 0.005825/0.02484, allocations: 0.6049 MB / 279.5 MB, free: 10.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.359481341089122]