Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001006/0.001006, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001011/0.001011, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9781/0.9781, allocations: 177.1 MB / 205 MB, free: 4.805 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.29e-05, allocations: 2.312 kB / 273 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.005475/0.005497, allocations: 1.678 MB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.006273, allocations: 0.5416 MB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.006321, allocations: 0 / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.194e-05/0.006373, allocations: 11.86 kB / 275.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.006446, allocations: 31.7 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.00667, allocations: 35.89 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.006857, allocations: 99.47 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.006988, allocations: 23.97 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.007057, allocations: 51.91 kB / 275.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.007149, allocations: 39.89 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.007169, allocations: 8 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.01025, allocations: 8 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.01027, allocations: 23.91 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.01031, allocations: 27.98 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.01047, allocations: 71.75 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01047, allocations: 3.938 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.01047, allocations: 0 / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.01048, allocations: 0 / 275.6 MB, free: 14.61 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.0004179/0.0109, allocations: 404.4 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.01094, allocations: 16.03 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.01107, allocations: 24.72 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.01116, allocations: 108.6 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.01117, allocations: 8.375 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.01121, allocations: 12.38 kB / 276.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.01134, allocations: 73.25 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.01135, allocations: 192 / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.01136, allocations: 8.375 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01137, allocations: 7.922 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.01146, allocations: 43.86 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.01199, allocations: 375.4 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.01211, allocations: 71.02 kB / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.01216, allocations: 27.67 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.01216, allocations: 0 / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.01219, allocations: 45.33 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.01219, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001776/0.01237, allocations: 73.81 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.01239, allocations: 51.41 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.01248, allocations: 173.9 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.01249, allocations: 25.7 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.01255, allocations: 150.7 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.01257, allocations: 27.75 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.01261, allocations: 35.36 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.01273, allocations: 496.1 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.01276, allocations: 15.98 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.102e-05/0.01281, allocations: 54.61 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.768e-05/0.01289, allocations: 58.98 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01289, allocations: 4 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001321/0.01302, allocations: 93.52 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01304, allocations: 9.875 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01304, allocations: 0 / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.01306, allocations: 0 / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/0.01617, allocations: 31.92 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01618, allocations: 4 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.01621, allocations: 3.953 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01622, allocations: 7.938 kB / 278.1 MB, free: 11.9 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 7.233e-05/0.01629, allocations: 164.6 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.01632, allocations: 4 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.01635, allocations: 12.38 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01635, allocations: 0 / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01635, allocations: 0 / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01636, allocations: 7.984 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.0165, allocations: 148.6 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.0165, allocations: 0 / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.773e-05/0.01658, allocations: 19.98 kB / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.01658, allocations: 0 / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.01659, allocations: 0 / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.0166, allocations: 4 kB / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.0166, allocations: 0 / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.01678, allocations: 239.8 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.01679, allocations: 0 / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.0168, allocations: 4 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.01685, allocations: 4 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.01686, allocations: 0 / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.01687, allocations: 8.234 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.01703, allocations: 127.2 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01703, allocations: 3.938 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.01727, allocations: 27.95 kB / 278.8 MB, free: 11.07 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.742e-05/0.01735, allocations: 95.28 kB / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.01747, allocations: 67.52 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01747, allocations: 0 / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.0175, allocations: 23.67 kB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.01774, allocations: 8 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.01839, allocations: 266.2 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.01843, allocations: 59.34 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.01846, allocations: 7.984 kB / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.01849, allocations: 12.5 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01849, allocations: 0 / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of Templates: time 0.005061/0.02355, allocations: 0.6101 MB / 280 MB, free: 9.883 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8191476250067353]