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.001978/0.001978, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.001931/0.001931, allocations: 160.8 kB / 24.27 MB, free: 152 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.551/1.551, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.462e-06/1.462e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.03e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003004/0.003034, allocations: 1.658 MB / 273.8 MB, free: 160 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.004086, allocations: 0.5337 MB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.004135, allocations: 4 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.907e-05/0.004184, allocations: 15.86 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.004276, allocations: 23.78 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.004496, allocations: 31.89 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.004671, allocations: 103.5 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004785, allocations: 27.92 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.234e-05/0.004878, allocations: 59.88 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.004971, allocations: 27.91 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.004993, allocations: 8 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.005066, allocations: 12 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.005096, allocations: 27.91 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.005386, allocations: 31.97 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.005596, allocations: 103.7 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.005598, allocations: 0 / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005599, allocations: 0 / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005603, allocations: 0 / 274.8 MB, free: 15.15 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.0005721/0.006175, allocations: 408.1 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.006211, allocations: 11.98 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.006359, allocations: 28.77 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.006496, allocations: 120.5 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.006515, allocations: 4.375 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.006557, allocations: 12.36 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.006731, allocations: 78.23 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.006746, allocations: 4.188 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.006762, allocations: 8.297 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.006771, allocations: 7.938 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.006899, allocations: 47.97 kB / 275.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.007666, allocations: 403.4 kB / 275.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.007836, allocations: 79.05 kB / 276 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.007901, allocations: 35.61 kB / 276 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.007916, allocations: 0 / 276 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.007949, allocations: 37.39 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.007949, allocations: 3.938 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002518/0.008201, allocations: 89.81 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.008248, allocations: 51.41 kB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.008402, allocations: 173.9 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.008427, allocations: 33.7 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.008543, allocations: 142.9 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.008582, allocations: 39.73 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.008644, allocations: 35.36 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002838/0.008928, allocations: 0.4922 MB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-05/0.008975, allocations: 19.98 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-05/0.009059, allocations: 55.05 kB / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.009181, allocations: 78.98 kB / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.009183, allocations: 0 / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001869/0.00937, allocations: 113.5 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.009401, allocations: 8.062 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.009408, allocations: 0 / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.00943, allocations: 4 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.009567, allocations: 27.92 kB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.009572, allocations: 0 / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.009619, allocations: 11.89 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.009631, allocations: 7.938 kB / 277.5 MB, free: 12.29 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 0.0001295/0.009761, allocations: 160.6 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.009788, allocations: 8 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.009823, allocations: 8.438 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.009827, allocations: 7.984 kB / 277.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00983, allocations: 0 / 277.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.009833, allocations: 0 / 277.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.01004, allocations: 152.5 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01004, allocations: 0 / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.01015, allocations: 23.92 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01015, allocations: 0 / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.01016, allocations: 0 / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01016, allocations: 0 / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01016, allocations: 0 / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.01046, allocations: 252.1 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.01047, allocations: 15.92 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.01048, allocations: 4 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.01054, allocations: 4 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.01057, allocations: 7.922 kB / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.01057, allocations: 4 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.473e-05/0.01066, allocations: 131.4 kB / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01066, allocations: 0 / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.01091, allocations: 27.95 kB / 278.2 MB, free: 11.44 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 0.0001133/0.01103, allocations: 91.25 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.01119, allocations: 79.58 kB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01119, allocations: 0 / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/0.01125, allocations: 31.67 kB / 278.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.0115, allocations: 8.219 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.01209, allocations: 278.2 kB / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.886e-05/0.01218, allocations: 75.58 kB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.01225, allocations: 11.98 kB / 278.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.01229, allocations: 12.5 kB / 278.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01229, allocations: 0 / 278.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of Templates: time 0.003587/0.01588, allocations: 0.601 MB / 279.4 MB, free: 10.2 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.3748244639718905]