Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001982/0.001982, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002359/0.002359, allocations: 164.4 kB / 25.02 MB, free: 9.438 MB / 18.57 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 1.446/1.446, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 250.3 MB, free: 3.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.173e-05, allocations: 13.34 kB / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003378/0.00341, allocations: 1.588 MB / 251.9 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.004413, allocations: 496.4 kB / 252.4 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.004462, allocations: 3.938 kB / 252.4 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.913e-05/0.004521, allocations: 19.86 kB / 252.4 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.622e-05/0.004617, allocations: 27.77 kB / 252.5 MB, free: 1.824 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.00486, allocations: 27.89 kB / 252.5 MB, free: 1.797 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.005025, allocations: 107.5 kB / 252.6 MB, free: 1.691 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.005156, allocations: 27.97 kB / 252.6 MB, free: 1.664 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.005246, allocations: 51.91 kB / 252.7 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.363e-05/0.00533, allocations: 23.95 kB / 252.7 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.005353, allocations: 15.94 kB / 252.7 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.277e-05/0.005435, allocations: 15.94 kB / 252.7 MB, free: 1.559 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.005465, allocations: 19.97 kB / 252.7 MB, free: 1.539 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.005524, allocations: 35.92 kB / 252.8 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.00572, allocations: 99.67 kB / 252.9 MB, free: 1.406 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005722, allocations: 0 / 252.9 MB, free: 1.406 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005723, allocations: 0 / 252.9 MB, free: 1.406 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005728, allocations: 4 kB / 252.9 MB, free: 1.402 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000558/0.006286, allocations: 306.1 kB / 253.2 MB, free: 1.074 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.006331, allocations: 15.98 kB / 253.2 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.006483, allocations: 16.83 kB / 253.2 MB, free: 1.043 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.00663, allocations: 125.6 kB / 253.3 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.00665, allocations: 8.375 kB / 253.3 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.006687, allocations: 12.38 kB / 253.4 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.006885, allocations: 82.19 kB / 253.4 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.006897, allocations: 192 / 253.4 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.006909, allocations: 8.375 kB / 253.4 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.006917, allocations: 3.938 kB / 253.4 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.007043, allocations: 51.97 kB / 253.5 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.007777, allocations: 324.2 kB / 253.8 MB, free: 388 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.007944, allocations: 74.48 kB / 253.9 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.008019, allocations: 32.84 kB / 253.9 MB, free: 268 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.008033, allocations: 0 / 253.9 MB, free: 268 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.008076, allocations: 34.56 kB / 254 MB, free: 224 kB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.008078, allocations: 4 kB / 254 MB, free: 220 kB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002716/0.008349, allocations: 89.81 kB / 254 MB, free: 124 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.008403, allocations: 55.34 kB / 254.1 MB, free: 56 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.008545, allocations: 105.8 kB / 254.2 MB, free: 15.94 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.00857, allocations: 25.7 kB / 254.2 MB, free: 15.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.008663, allocations: 104 kB / 254.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.008698, allocations: 35.67 kB / 254.4 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.008753, allocations: 25.72 kB / 254.4 MB, free: 15.74 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.008947, allocations: 314.8 kB / 254.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.008999, allocations: 23.98 kB / 254.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.009074, allocations: 46.56 kB / 254.8 MB, free: 15.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.009195, allocations: 70.52 kB / 254.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009196, allocations: 0 / 254.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002017/0.009398, allocations: 113.6 kB / 254.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.009415, allocations: 4 kB / 254.9 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.00942, allocations: 256 / 254.9 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.009443, allocations: 4 kB / 255 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.009589, allocations: 35.91 kB / 255 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.009594, allocations: 0 / 255 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.009645, allocations: 15.95 kB / 255 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.009656, allocations: 3.938 kB / 255 MB, free: 15.09 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.0001095/0.009766, allocations: 121.8 kB / 255.1 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.009794, allocations: 4 kB / 255.1 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.009828, allocations: 12.44 kB / 255.1 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009831, allocations: 0 / 255.1 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.009835, allocations: 0 / 255.1 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.009838, allocations: 0 / 255.1 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.01004, allocations: 141.3 kB / 255.3 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01005, allocations: 0 / 255.3 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.01015, allocations: 20 kB / 255.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01015, allocations: 0 / 255.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01017, allocations: 3.984 kB / 255.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01017, allocations: 0 / 255.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01017, allocations: 0 / 255.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.01044, allocations: 195.4 kB / 255.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.01046, allocations: 11.97 kB / 255.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.01048, allocations: 0 / 255.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.01054, allocations: 0 / 255.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.01056, allocations: 4 kB / 255.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.01056, allocations: 4 kB / 255.5 MB, free: 14.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.01063, allocations: 87.33 kB / 255.6 MB, free: 14.44 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01063, allocations: 0 / 255.6 MB, free: 14.44 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.01088, allocations: 27.94 kB / 255.6 MB, free: 14.41 MB / 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.0001348/0.01102, allocations: 91.25 kB / 255.7 MB, free: 14.31 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.01117, allocations: 59.84 kB / 255.8 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.01118, allocations: 8 kB / 255.8 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.01123, allocations: 27.92 kB / 255.8 MB, free: 14.22 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.01157, allocations: 7.203 kB / 255.8 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/0.01223, allocations: 272.2 kB / 256.1 MB, free: 13.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.754e-05/0.01233, allocations: 83.25 kB / 256.2 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.174e-05/0.01236, allocations: 7.891 kB / 256.2 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.0124, allocations: 12.5 kB / 256.2 MB, free: 13.8 MB / 250.7 MB Notification: Performance of SimCode: time 4e-07/0.0124, allocations: 0 / 256.2 MB, free: 13.8 MB / 250.7 MB Notification: Performance of Templates: time 0.003414/0.01581, allocations: 0.5988 MB / 256.8 MB, free: 13.21 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.20980451698415]