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.00117/0.00117, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008851/0.0008851, allocations: 158.3 kB / 25.44 MB, free: 9.352 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 0.9/0.9, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.683e-06/1.683e-06, allocations: 0 / 299.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.064e-05, allocations: 2.281 kB / 299.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001877/0.001898, allocations: 1.582 MB / 301.3 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006999/0.002598, allocations: 0.4957 MB / 301.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.00266, allocations: 4 kB / 301.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.992e-05/0.00271, allocations: 11.86 kB / 301.8 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.604e-05/0.002786, allocations: 35.7 kB / 301.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.003025, allocations: 23.95 kB / 301.8 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003151, allocations: 99.47 kB / 301.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.003295, allocations: 31.97 kB / 301.9 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.003365, allocations: 55.89 kB / 302 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.00345, allocations: 27.91 kB / 302 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.00347, allocations: 8 kB / 302 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.003545, allocations: 12 kB / 302.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.003568, allocations: 15.92 kB / 302.1 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.003602, allocations: 35.97 kB / 302.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.003753, allocations: 99.67 kB / 302.2 MB, free: 4.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.003757, allocations: 4 kB / 302.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.003758, allocations: 0 / 302.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.003764, allocations: 3.984 kB / 302.2 MB, free: 4.391 MB / 282.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.0004203/0.004184, allocations: 310 kB / 302.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.004231, allocations: 11.98 kB / 302.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.004338, allocations: 16.83 kB / 302.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.004442, allocations: 117.7 kB / 302.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.004457, allocations: 8.375 kB / 302.7 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.004484, allocations: 8.375 kB / 302.7 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.004627, allocations: 86.22 kB / 302.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.004639, allocations: 4.125 kB / 302.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.004651, allocations: 4.375 kB / 302.8 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.004657, allocations: 7.938 kB / 302.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.004736, allocations: 47.97 kB / 302.8 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.005183, allocations: 324.2 kB / 303.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.005287, allocations: 74.48 kB / 303.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.005325, allocations: 32.84 kB / 303.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.005335, allocations: 4 kB / 303.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.005353, allocations: 34.56 kB / 303.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.005354, allocations: 0 / 303.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001628/0.005517, allocations: 89.78 kB / 303.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.005545, allocations: 51.41 kB / 303.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.005614, allocations: 113.8 kB / 303.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.005623, allocations: 25.7 kB / 303.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.005671, allocations: 104 kB / 303.6 MB, free: 2.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.005691, allocations: 31.73 kB / 303.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.005723, allocations: 29.72 kB / 303.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.005799, allocations: 326.8 kB / 304 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/0.005828, allocations: 20 kB / 304 MB, free: 2.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.005867, allocations: 42.56 kB / 304.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.005937, allocations: 66.5 kB / 304.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005938, allocations: 0 / 304.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001039/0.006042, allocations: 113.5 kB / 304.3 MB, free: 2.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.006055, allocations: 8 kB / 304.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006059, allocations: 64 / 304.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.00607, allocations: 4 kB / 304.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.006162, allocations: 27.92 kB / 304.3 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.006169, allocations: 4 kB / 304.3 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.006193, allocations: 3.953 kB / 304.3 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.006201, allocations: 7.938 kB / 304.3 MB, free: 2.086 MB / 282.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.908e-05/0.00627, allocations: 121.8 kB / 304.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.006283, allocations: 4 kB / 304.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.006307, allocations: 8.438 kB / 304.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006309, allocations: 0 / 304.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.006313, allocations: 0 / 304.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.006317, allocations: 7.984 kB / 304.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.006429, allocations: 133.3 kB / 304.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006431, allocations: 3.938 kB / 304.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.006493, allocations: 23.98 kB / 304.6 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006495, allocations: 3.938 kB / 304.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.006503, allocations: 0 / 304.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006503, allocations: 0 / 304.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006504, allocations: 4 kB / 304.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.006663, allocations: 187.5 kB / 304.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.006671, allocations: 3.953 kB / 304.8 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.006684, allocations: 8.094 kB / 304.8 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.006714, allocations: 4 kB / 304.8 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.00673, allocations: 0 / 304.8 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.006734, allocations: 8.234 kB / 304.8 MB, free: 1.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.362e-05/0.006768, allocations: 87.28 kB / 304.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006768, allocations: 0 / 304.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.006923, allocations: 20 kB / 304.9 MB, free: 1.418 MB / 282.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.938e-05/0.007002, allocations: 107.1 kB / 305 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.007118, allocations: 55.91 kB / 305.1 MB, free: 1.246 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.00712, allocations: 4.125 kB / 305.1 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.007141, allocations: 23.92 kB / 305.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.007346, allocations: 19.58 kB / 305.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.007791, allocations: 286.8 kB / 305.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.321e-05/0.007844, allocations: 83.33 kB / 305.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.00787, allocations: 12.5 kB / 305.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.00787, allocations: 0 / 305.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of Templates: time 0.001682/0.009552, allocations: 1.009 MB / 306.5 MB, free: 15.77 MB / 298.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.223269508220255]