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.001225/0.001225, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001798/0.001798, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 1.021/1.021, allocations: 177 MB / 204.8 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 3.376e-06/3.376e-06, allocations: 4 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.151e-05, allocations: 6.312 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00235/0.002381, allocations: 1.682 MB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.003256, allocations: 0.5455 MB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.003322, allocations: 4 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.262e-05/0.003374, allocations: 11.86 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.003449, allocations: 27.72 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.003692, allocations: 31.83 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.003832, allocations: 107.5 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.003965, allocations: 27.98 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.00403, allocations: 59.88 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.004113, allocations: 19.98 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.004133, allocations: 8 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.523e-05/0.004208, allocations: 12 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.004231, allocations: 23.91 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.004268, allocations: 35.91 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.004414, allocations: 67.75 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004416, allocations: 0 / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004418, allocations: 0 / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.004423, allocations: 11.94 kB / 275.6 MB, free: 14.79 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.0004074/0.004831, allocations: 400.4 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.004872, allocations: 15.98 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.005003, allocations: 28.72 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.005096, allocations: 108.6 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.005111, allocations: 8.375 kB / 276.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.00514, allocations: 4.375 kB / 276.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.005551, allocations: 81.94 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.005563, allocations: 192 / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.005576, allocations: 8.375 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.005586, allocations: 7.938 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.005661, allocations: 35.92 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.006191, allocations: 375.4 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.006297, allocations: 59.05 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.006337, allocations: 31.67 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.006346, allocations: 0 / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.006369, allocations: 37.33 kB / 276.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.00637, allocations: 4 kB / 276.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001723/0.006542, allocations: 73.81 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.00657, allocations: 55.41 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.00665, allocations: 165.9 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.006663, allocations: 29.7 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.00673, allocations: 150.9 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.006749, allocations: 35.72 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.006784, allocations: 27.38 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.006898, allocations: 0.4883 MB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.006926, allocations: 11.98 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.006971, allocations: 50.98 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.00704, allocations: 66.98 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007042, allocations: 0 / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001079/0.00715, allocations: 89.58 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.007167, allocations: 10.81 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.007172, allocations: 0 / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.007189, allocations: 0 / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.00729, allocations: 32.16 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.007296, allocations: 64 / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.007325, allocations: 19.95 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.007332, allocations: 7.938 kB / 278 MB, free: 12.09 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 6.893e-05/0.007401, allocations: 156.6 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.007419, allocations: 8 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.007447, allocations: 8.438 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007449, allocations: 3.938 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.007454, allocations: 7.922 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.007457, allocations: 0 / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.007568, allocations: 140.5 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007569, allocations: 4 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.007636, allocations: 23.98 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007638, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.007652, allocations: 4 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007653, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.007654, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.007827, allocations: 244.1 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.007835, allocations: 3.938 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.007846, allocations: 0 / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.007876, allocations: 4 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.007894, allocations: 3.984 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.007897, allocations: 8.031 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.632e-05/0.007934, allocations: 127.2 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007934, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.008095, allocations: 23.95 kB / 278.8 MB, free: 11.27 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 7.389e-05/0.008169, allocations: 95.25 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.008281, allocations: 59.58 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.008283, allocations: 0 / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.008307, allocations: 27.67 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.008508, allocations: 8.125 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.009171, allocations: 274.3 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.009214, allocations: 67.28 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.803e-05/0.009242, allocations: 7.984 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.00927, allocations: 12.5 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.009271, allocations: 0 / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002482/0.01175, allocations: 0.5957 MB / 279.9 MB, free: 10.07 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: 3.123258494772017]