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.001971/0.001971, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002434/0.002434, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 14.72 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.432/1.432, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 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 0.001628/0.001628, allocations: 51.84 kB / 371.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2885, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003095/0.2916, allocations: 1.599 MB / 425.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.2926, allocations: 498.9 kB / 425.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.2926, allocations: 4 kB / 425.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.981e-05/0.2927, allocations: 11.86 kB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.842e-05/0.2928, allocations: 23.78 kB / 425.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.293, allocations: 31.89 kB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.2932, allocations: 99.52 kB / 426 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.2933, allocations: 30.92 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.2934, allocations: 39.86 kB / 426.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2935, allocations: 31.84 kB / 426.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.2935, allocations: 12 kB / 426.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.2936, allocations: 12 kB / 426.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.2936, allocations: 23.92 kB / 426.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.2937, allocations: 35.86 kB / 426.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.2939, allocations: 99.33 kB / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2939, allocations: 0 / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2939, allocations: 4 kB / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2939, allocations: 0 / 426.3 MB, free: 11.93 MB / 334.1 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.0005517/0.2944, allocations: 301.2 kB / 426.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2945, allocations: 16.03 kB / 426.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2946, allocations: 12.88 kB / 426.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2947, allocations: 114.4 kB / 426.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2947, allocations: 8.375 kB / 426.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.2948, allocations: 12.36 kB / 426.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.295, allocations: 89.92 kB / 426.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.295, allocations: 0 / 426.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.295, allocations: 4 kB / 426.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.295, allocations: 4 kB / 426.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.2951, allocations: 51.97 kB / 426.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006974/0.2958, allocations: 320.2 kB / 427.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.296, allocations: 70.48 kB / 427.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.296, allocations: 36.84 kB / 427.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.296, allocations: 0 / 427.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2961, allocations: 34.56 kB / 427.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2961, allocations: 0 / 427.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002388/0.2963, allocations: 86.03 kB / 427.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.2964, allocations: 59.34 kB / 427.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2965, allocations: 125.7 kB / 427.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2965, allocations: 29.7 kB / 427.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.2966, allocations: 103.9 kB / 427.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.2966, allocations: 31.73 kB / 427.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.2967, allocations: 29.64 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2968, allocations: 314.8 kB / 428.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.2969, allocations: 23.98 kB / 428.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.2969, allocations: 42.56 kB / 428.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.297, allocations: 62.58 kB / 428.3 MB, free: 9.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.297, allocations: 0 / 428.3 MB, free: 9.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001764/0.2972, allocations: 105.6 kB / 428.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2972, allocations: 11.88 kB / 428.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2972, allocations: 80 / 428.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2973, allocations: 7.984 kB / 428.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.2974, allocations: 20 kB / 428.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2974, allocations: 7.922 kB / 428.4 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.2974, allocations: 15.89 kB / 428.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2974, allocations: 0 / 428.4 MB, free: 9.633 MB / 334.1 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.0001088/0.2976, allocations: 121.8 kB / 428.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2976, allocations: 12.02 kB / 428.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.2976, allocations: 8.375 kB / 428.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2976, allocations: 4 kB / 428.6 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2976, allocations: 3.938 kB / 428.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2976, allocations: 0 / 428.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.2978, allocations: 125.5 kB / 428.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2978, allocations: 0 / 428.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.2979, allocations: 19.98 kB / 428.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2979, allocations: 4 kB / 428.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2979, allocations: 0 / 428.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2979, allocations: 0 / 428.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2979, allocations: 4 kB / 428.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.2982, allocations: 199.4 kB / 428.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.2982, allocations: 11.92 kB / 428.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2982, allocations: 0 / 428.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.2983, allocations: 0 / 428.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.2983, allocations: 15.92 kB / 429 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2983, allocations: 0 / 429 MB, free: 9.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.2984, allocations: 87.53 kB / 429 MB, free: 8.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2984, allocations: 0 / 429 MB, free: 8.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.2986, allocations: 20 kB / 429.1 MB, free: 8.949 MB / 334.1 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.0001283/0.2987, allocations: 114.8 kB / 429.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.2989, allocations: 59.91 kB / 429.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2989, allocations: 0 / 429.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.2989, allocations: 16 kB / 429.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2992, allocations: 15.92 kB / 429.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.2999, allocations: 332.9 kB / 429.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.393e-05/0.3, allocations: 79.27 kB / 429.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3, allocations: 15.44 kB / 429.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3, allocations: 0 / 429.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of Templates: time 0.002828/0.3028, allocations: 1.005 MB / 430.7 MB, free: 7.27 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/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: 6.948775337077677]