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.001485/0.001485, allocations: 102.8 kB / 21.93 MB, free: 5.203 MB / 14.72 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.001528/0.001528, allocations: 202.7 kB / 25.22 MB, free: 3.141 MB / 14.72 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 1.514/1.514, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 51.94 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2774, allocations: 49.16 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002733/0.2801, allocations: 1.582 MB / 399.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.281, allocations: 0.4942 MB / 399.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.281, allocations: 2.031 kB / 399.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.937e-05/0.2811, allocations: 11.75 kB / 399.7 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/0.2812, allocations: 32.02 kB / 399.7 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.2814, allocations: 33.44 kB / 399.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.2815, allocations: 91.7 kB / 399.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2816, allocations: 34.03 kB / 399.9 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.2817, allocations: 36.91 kB / 399.9 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.2817, allocations: 31.47 kB / 399.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.2818, allocations: 8.906 kB / 399.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.2818, allocations: 15.97 kB / 399.9 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.2819, allocations: 16.84 kB / 400 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.2819, allocations: 39.66 kB / 400 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.2821, allocations: 105 kB / 400.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2821, allocations: 4 kB / 400.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2821, allocations: 0 / 400.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2821, allocations: 0 / 400.1 MB, free: 7.754 MB / 318.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.0004123/0.2825, allocations: 310.9 kB / 400.4 MB, free: 7.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2826, allocations: 13.2 kB / 400.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.2827, allocations: 13.47 kB / 400.4 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.034e-05/0.2828, allocations: 106.7 kB / 400.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2828, allocations: 7.969 kB / 400.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.2828, allocations: 7.156 kB / 400.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.283, allocations: 93.84 kB / 400.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.283, allocations: 1.406 kB / 400.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.283, allocations: 4 kB / 400.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.283, allocations: 7 kB / 400.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.2831, allocations: 50.78 kB / 400.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.2837, allocations: 321.7 kB / 401 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2839, allocations: 66.67 kB / 401.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.2839, allocations: 30.22 kB / 401.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.2839, allocations: 4.969 kB / 401.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.2839, allocations: 40.83 kB / 401.2 MB, free: 6.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2839, allocations: 3.938 kB / 401.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002068/0.2842, allocations: 85.83 kB / 401.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.2842, allocations: 57.36 kB / 401.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.2842, allocations: 108 kB / 401.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.2842, allocations: 27.17 kB / 401.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.2843, allocations: 102 kB / 401.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.2843, allocations: 38.42 kB / 401.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.2844, allocations: 27.69 kB / 401.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.2844, allocations: 323 kB / 401.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.2844, allocations: 21.84 kB / 401.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.2845, allocations: 42.88 kB / 402 MB, free: 6.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.332e-05/0.2846, allocations: 70.78 kB / 402.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2846, allocations: 0.6562 kB / 402.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000141/0.2847, allocations: 110.5 kB / 402.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2847, allocations: 5.375 kB / 402.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2847, allocations: 0 / 402.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2847, allocations: 2.188 kB / 402.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2849, allocations: 35.02 kB / 402.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2849, allocations: 4.812 kB / 402.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.2849, allocations: 7.672 kB / 402.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2849, allocations: 3.125 kB / 402.2 MB, free: 5.965 MB / 318.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 5.464e-05/0.285, allocations: 119 kB / 402.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.285, allocations: 2.125 kB / 402.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.285, allocations: 9.812 kB / 402.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.285, allocations: 2.594 kB / 402.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.285, allocations: 3.938 kB / 402.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.285, allocations: 4.609 kB / 402.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.2852, allocations: 128.8 kB / 402.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2852, allocations: 0 / 402.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.2853, allocations: 22.53 kB / 402.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2853, allocations: 1.625 kB / 402.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.2853, allocations: 4 kB / 402.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2853, allocations: 0.8438 kB / 402.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2853, allocations: 1.812 kB / 402.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.2855, allocations: 198.7 kB / 402.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-06/0.2855, allocations: 2.469 kB / 402.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2855, allocations: 6.047 kB / 402.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.2855, allocations: 5.469 kB / 402.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.2856, allocations: 9.156 kB / 402.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2856, allocations: 5.188 kB / 402.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.112e-05/0.2856, allocations: 86.7 kB / 402.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2856, allocations: 0 / 402.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.2858, allocations: 29.98 kB / 402.8 MB, free: 5.414 MB / 318.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 7.208e-05/0.2859, allocations: 91.98 kB / 402.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.2861, allocations: 53.05 kB / 403 MB, free: 5.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2861, allocations: 0 / 403 MB, free: 5.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.344e-05/0.2861, allocations: 25.67 kB / 403 MB, free: 5.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.2864, allocations: 7.922 kB / 403 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.2869, allocations: 358.9 kB / 403.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.97e-05/0.287, allocations: 83.97 kB / 403.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.287, allocations: 15.47 kB / 403.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.287, allocations: 1.406 kB / 403.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of Templates: time 0.002804/0.2898, allocations: 1.006 MB / 404.5 MB, free: 4.828 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/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: 6.959615811239928]