Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9675/0.9675, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.582e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001834/0.00185, allocations: 1.678 MB / 274.6 MB, free: 100 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.002499, allocations: 0.5416 MB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.002543, allocations: 0 / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.002581, allocations: 15.86 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.002637, allocations: 27.72 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.002808, allocations: 31.89 kB / 275.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.002909, allocations: 103.5 kB / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.003006, allocations: 23.98 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.003312, allocations: 55.88 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.003382, allocations: 31.92 kB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.003398, allocations: 11.94 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.003457, allocations: 12 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.003479, allocations: 19.91 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.003512, allocations: 35.97 kB / 275.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003631, allocations: 67.75 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003632, allocations: 0 / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.003633, allocations: 0 / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.003637, allocations: 0 / 275.6 MB, free: 15.12 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.0003724/0.004009, allocations: 404.4 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.004041, allocations: 15.98 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.004166, allocations: 32.72 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.307e-05/0.004249, allocations: 116.5 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.004262, allocations: 8.375 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.004282, allocations: 8.375 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.004388, allocations: 66.91 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.004399, allocations: 8.188 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.004408, allocations: 4.375 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.004416, allocations: 7.875 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.004484, allocations: 43.19 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.004923, allocations: 375.4 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/0.005014, allocations: 66.98 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.005049, allocations: 27.67 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.005055, allocations: 0 / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.005078, allocations: 41.39 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.005079, allocations: 0 / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001595/0.005239, allocations: 77.75 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.005264, allocations: 51.41 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.005334, allocations: 169.9 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.005342, allocations: 25.7 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.005392, allocations: 150.9 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.005411, allocations: 35.72 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.005444, allocations: 31.38 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.005542, allocations: 0.4883 MB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.005567, allocations: 15.98 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.005604, allocations: 43.05 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.921e-05/0.005663, allocations: 58.98 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005665, allocations: 8 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.564e-05/0.005761, allocations: 93.52 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.005772, allocations: 6.969 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.005776, allocations: 0 / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.005787, allocations: 4 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.005874, allocations: 27.98 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.005878, allocations: 0 / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.005901, allocations: 7.953 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.005906, allocations: 3.938 kB / 278.1 MB, free: 12.42 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 5.939e-05/0.005965, allocations: 168.6 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.00598, allocations: 4 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.006002, allocations: 8.438 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.006005, allocations: 4 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.006009, allocations: 3.984 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006012, allocations: 0 / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.006126, allocations: 144.5 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006127, allocations: 0 / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.006188, allocations: 19.98 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.00619, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.006201, allocations: 256 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006203, allocations: 12 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006204, allocations: 0 / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.006351, allocations: 248 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-06/0.006357, allocations: 4 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.006368, allocations: 3.984 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.06e-05/0.006399, allocations: 4 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.006413, allocations: 7.984 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.006415, allocations: 0 / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.201e-05/0.006447, allocations: 127.1 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006447, allocations: 0 / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.006605, allocations: 31.98 kB / 278.9 MB, free: 11.57 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 6.279e-05/0.006668, allocations: 91.25 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.719e-05/0.006765, allocations: 63.64 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006766, allocations: 0 / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.006788, allocations: 27.61 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.006966, allocations: 8.219 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.007492, allocations: 274.4 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.007528, allocations: 67.28 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.007552, allocations: 3.984 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.007573, allocations: 12.5 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.007574, allocations: 0 / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of Templates: time 0.002051/0.009625, allocations: 0.6076 MB / 280 MB, free: 10.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.731788865989074]