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.00191/0.00191, allocations: 95.86 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.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.002023/0.002023, allocations: 153.1 kB / 24.26 MB, free: 172 kB / 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 1.554/1.554, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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.553e-06/1.553e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.88e-05, allocations: 2.312 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003022/0.003051, allocations: 1.636 MB / 268.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.004117, allocations: 0.518 MB / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.004164, allocations: 0 / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.00421, allocations: 11.86 kB / 269.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.004292, allocations: 27.72 kB / 269.5 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.004483, allocations: 35.95 kB / 269.5 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.004639, allocations: 103.5 kB / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.004746, allocations: 19.98 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.004854, allocations: 59.88 kB / 269.7 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.004944, allocations: 23.92 kB / 269.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.004966, allocations: 12 kB / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.005036, allocations: 11.98 kB / 269.7 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.005065, allocations: 19.92 kB / 269.8 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.005115, allocations: 31.97 kB / 269.8 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.005306, allocations: 111.6 kB / 269.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005308, allocations: 4 kB / 269.9 MB, free: 4.129 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005309, allocations: 0 / 269.9 MB, free: 4.129 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005313, allocations: 0 / 269.9 MB, free: 4.129 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.0005648/0.005878, allocations: 412 kB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.005914, allocations: 12.92 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.006061, allocations: 20.81 kB / 270.3 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.006186, allocations: 116.6 kB / 270.5 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.006204, allocations: 8.328 kB / 270.5 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.006238, allocations: 16.31 kB / 270.5 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.006425, allocations: 82.2 kB / 270.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.006439, allocations: 4.188 kB / 270.6 MB, free: 3.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.006457, allocations: 8.375 kB / 270.6 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.006464, allocations: 3.938 kB / 270.6 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.006598, allocations: 47.97 kB / 270.6 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.00736, allocations: 399.4 kB / 271 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.007519, allocations: 78.92 kB / 271.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.007584, allocations: 35.67 kB / 271.1 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.007601, allocations: 0 / 271.1 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.007637, allocations: 45.39 kB / 271.2 MB, free: 2.738 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/0.007638, allocations: 0 / 271.2 MB, free: 2.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002435/0.007882, allocations: 81.67 kB / 271.2 MB, free: 2.652 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.007927, allocations: 51.41 kB / 271.3 MB, free: 2.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.008071, allocations: 178 kB / 271.5 MB, free: 2.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.008091, allocations: 25.7 kB / 271.5 MB, free: 2.367 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.00819, allocations: 146.7 kB / 271.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.00823, allocations: 39.88 kB / 271.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.008287, allocations: 35.31 kB / 271.7 MB, free: 2.137 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.008553, allocations: 0.4961 MB / 272.2 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.008599, allocations: 23.98 kB / 272.2 MB, free: 1.605 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.433e-05/0.008683, allocations: 54.17 kB / 272.3 MB, free: 1.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.008804, allocations: 75.06 kB / 272.4 MB, free: 1.457 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008806, allocations: 0 / 272.4 MB, free: 1.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001882/0.008994, allocations: 125.4 kB / 272.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.009006, allocations: 4 kB / 272.5 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.00901, allocations: 0 / 272.5 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.009025, allocations: 4 kB / 272.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.009148, allocations: 24.06 kB / 272.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.009153, allocations: 0 / 272.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.009199, allocations: 11.89 kB / 272.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.009211, allocations: 11.92 kB / 272.5 MB, free: 1.273 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 0.0001269/0.009338, allocations: 168.5 kB / 272.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.009366, allocations: 4 kB / 272.7 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.009401, allocations: 8.438 kB / 272.7 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.009403, allocations: 0 / 272.7 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.009406, allocations: 256 / 272.7 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.009409, allocations: 0 / 272.7 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.009825, allocations: 148.6 kB / 272.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.009828, allocations: 7.984 kB / 272.9 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.009936, allocations: 20 kB / 272.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009938, allocations: 0 / 272.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.009946, allocations: 0 / 272.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009947, allocations: 0 / 272.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.009948, allocations: 0 / 272.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.01022, allocations: 259.7 kB / 273.1 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.01023, allocations: 3.953 kB / 273.1 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.01025, allocations: 4 kB / 273.1 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.0103, allocations: 4 kB / 273.1 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.01033, allocations: 8.016 kB / 273.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.01033, allocations: 4 kB / 273.2 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.11e-05/0.01042, allocations: 131.2 kB / 273.3 MB, free: 460 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01042, allocations: 0 / 273.3 MB, free: 460 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.01065, allocations: 23.94 kB / 273.3 MB, free: 436 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 0.0001086/0.01076, allocations: 99.19 kB / 273.4 MB, free: 328 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.01091, allocations: 67.55 kB / 273.5 MB, free: 256 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01091, allocations: 0 / 273.5 MB, free: 256 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.01096, allocations: 36 kB / 273.5 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.01119, allocations: 12.28 kB / 273.5 MB, free: 204 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.01178, allocations: 282.3 kB / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.098e-05/0.01186, allocations: 75.33 kB / 273.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.144e-05/0.01189, allocations: 7.953 kB / 273.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.01192, allocations: 12.5 kB / 273.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01192, allocations: 4 kB / 273.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of Templates: time 0.003447/0.01537, allocations: 0.6209 MB / 274.5 MB, free: 15.16 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.283484188024886]