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.0009871/0.0009871, allocations: 85.8 kB / 21.42 MB, free: 3.074 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.001906/0.001906, allocations: 163.8 kB / 24.82 MB, free: 8.879 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.9564/0.9564, allocations: 177 MB / 205.1 MB, free: 5.453 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 8.22e-07/8.22e-07, allocations: 3.938 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.466e-05, allocations: 2.312 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001701/0.001716, allocations: 1.678 MB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005735/0.00229, allocations: 0.5376 MB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.002328, allocations: 4 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.00236, allocations: 7.922 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.002409, allocations: 35.7 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.002537, allocations: 35.83 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.002625, allocations: 107.4 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.002702, allocations: 23.98 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.002757, allocations: 51.95 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.002812, allocations: 31.89 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.002827, allocations: 8 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.897e-05/0.002876, allocations: 12 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.002891, allocations: 23.91 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.002915, allocations: 31.92 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.992e-05/0.003005, allocations: 67.81 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-06/0.003006, allocations: 0 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003006, allocations: 0 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.003009, allocations: 0 / 276 MB, free: 14.57 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.0002798/0.003289, allocations: 404.4 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.00332, allocations: 11.98 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.0034, allocations: 32.72 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.49e-05/0.003465, allocations: 120.5 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.003476, allocations: 8.375 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.003489, allocations: 12.38 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.56e-05/0.003564, allocations: 65.31 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.003572, allocations: 192 / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.003581, allocations: 8.375 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.003586, allocations: 3.938 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.003628, allocations: 35.86 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.003963, allocations: 356 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.619e-05/0.004029, allocations: 59.03 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.004052, allocations: 27.67 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-06/0.004057, allocations: 0 / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.004075, allocations: 37.39 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 6.81e-07/0.004075, allocations: 4 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001181/0.004193, allocations: 73.73 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.004213, allocations: 51.56 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.004274, allocations: 165.9 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.004284, allocations: 29.7 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.004336, allocations: 146.7 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.004351, allocations: 31.73 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.004384, allocations: 35.31 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.004505, allocations: 0.4961 MB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.004519, allocations: 8 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/0.004546, allocations: 39.05 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.004592, allocations: 62.97 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.004594, allocations: 0 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.69e-05/0.004671, allocations: 81.56 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.00468, allocations: 8 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.004683, allocations: 0 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.004693, allocations: 4.062 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.004759, allocations: 27.92 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.004763, allocations: 4 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.004785, allocations: 8.203 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.00479, allocations: 4 kB / 278.4 MB, free: 11.93 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.976e-05/0.00485, allocations: 160.5 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.004867, allocations: 19.94 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.00489, allocations: 8.438 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.004892, allocations: 0 / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.004894, allocations: 0 / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004897, allocations: 4 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.005002, allocations: 121.1 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005003, allocations: 0 / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.005064, allocations: 19.94 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.005066, allocations: 0 / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.005075, allocations: 7.984 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005076, allocations: 0 / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005076, allocations: 0 / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.005258, allocations: 232 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.005265, allocations: 7.984 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.005273, allocations: 4.031 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.842e-05/0.005302, allocations: 8 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.00531, allocations: 0 / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.005312, allocations: 0 / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.005341, allocations: 131.1 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005341, allocations: 0 / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.005485, allocations: 27.95 kB / 279.1 MB, free: 11.14 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 5.88e-05/0.005544, allocations: 91.25 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.111e-05/0.005615, allocations: 55.58 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005616, allocations: 4.125 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.005631, allocations: 19.69 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.005781, allocations: 15.92 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.006201, allocations: 270.3 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.953e-05/0.006231, allocations: 67.28 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.162e-05/0.006252, allocations: 4 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.006296, allocations: 82.19 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006297, allocations: 0 / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of Templates: time 0.002008/0.008304, allocations: 0.6691 MB / 280.4 MB, free: 9.809 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.5776222008280456]