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.001435/0.001435, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001646/0.001646, allocations: 215 kB / 24.47 MB, free: 3.777 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.515/1.515, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001936/0.001936, allocations: 61.8 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2972, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002657/0.2999, allocations: 1.586 MB / 398.4 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.3007, allocations: 0.4904 MB / 398.9 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.3007, allocations: 1.156 kB / 398.9 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.392e-05/0.3008, allocations: 12.88 kB / 398.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.3009, allocations: 31.05 kB / 398.9 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.3011, allocations: 33.12 kB / 399 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.3012, allocations: 100.9 kB / 399.1 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.3014, allocations: 29.83 kB / 399.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.3014, allocations: 31.78 kB / 399.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.3015, allocations: 36.61 kB / 399.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3016, allocations: 9.062 kB / 399.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.3016, allocations: 15.05 kB / 399.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.3017, allocations: 21.59 kB / 399.2 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.3017, allocations: 39.55 kB / 399.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3019, allocations: 100.8 kB / 399.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3019, allocations: 0 / 399.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3019, allocations: 0 / 399.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3019, allocations: 0 / 399.4 MB, free: 7.758 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.0004117/0.3023, allocations: 311.2 kB / 399.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3023, allocations: 13.36 kB / 399.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.3025, allocations: 12.56 kB / 399.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.3025, allocations: 110.2 kB / 399.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3026, allocations: 13.17 kB / 399.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.3026, allocations: 11.41 kB / 399.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3028, allocations: 89.02 kB / 399.9 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3028, allocations: 2.109 kB / 399.9 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3028, allocations: 4 kB / 399.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.3028, allocations: 2.312 kB / 399.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3029, allocations: 55.67 kB / 400 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.3035, allocations: 317.5 kB / 400.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3036, allocations: 66.16 kB / 400.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.3037, allocations: 34.25 kB / 400.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3037, allocations: 0.9062 kB / 400.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3037, allocations: 40.38 kB / 400.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.3037, allocations: 5.281 kB / 400.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002121/0.3039, allocations: 84.81 kB / 400.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/0.304, allocations: 56.66 kB / 400.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.304, allocations: 109.2 kB / 400.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.304, allocations: 26.8 kB / 400.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.3041, allocations: 103 kB / 400.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.3041, allocations: 34.53 kB / 400.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.3041, allocations: 26.97 kB / 400.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.3042, allocations: 323.5 kB / 401.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.287e-05/0.3042, allocations: 21.84 kB / 401.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.3043, allocations: 45.48 kB / 401.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.462e-05/0.3044, allocations: 64.06 kB / 401.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3044, allocations: 0 / 401.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000144/0.3045, allocations: 114.5 kB / 401.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3045, allocations: 5.281 kB / 401.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3045, allocations: 1.094 kB / 401.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3046, allocations: 5.828 kB / 401.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.3047, allocations: 25.97 kB / 401.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3047, allocations: 6.344 kB / 401.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.3047, allocations: 7 kB / 401.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3047, allocations: 3.062 kB / 401.5 MB, free: 5.973 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.827e-05/0.3048, allocations: 118.4 kB / 401.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.3048, allocations: 4.391 kB / 401.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.3049, allocations: 9.172 kB / 401.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3049, allocations: 1.531 kB / 401.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3049, allocations: 3.938 kB / 401.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3049, allocations: 8.797 kB / 401.6 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.305, allocations: 127.8 kB / 401.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.305, allocations: 2.078 kB / 401.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3051, allocations: 25.02 kB / 401.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3051, allocations: 5.641 kB / 401.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3051, allocations: 0 / 401.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3051, allocations: 2.031 kB / 401.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3051, allocations: 0 / 401.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3053, allocations: 195.8 kB / 402 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.3053, allocations: 2.438 kB / 402 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3054, allocations: 6 kB / 402 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.3054, allocations: 5.281 kB / 402 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.3054, allocations: 16.38 kB / 402 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3054, allocations: 2.016 kB / 402 MB, free: 5.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.988e-05/0.3055, allocations: 85.72 kB / 402.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3055, allocations: 1.094 kB / 402.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3057, allocations: 25.55 kB / 402.1 MB, free: 5.418 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.645e-05/0.3058, allocations: 92.36 kB / 402.2 MB, free: 5.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.306, allocations: 56.84 kB / 402.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.306, allocations: 5.219 kB / 402.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.306, allocations: 20.09 kB / 402.3 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.0003084/0.3063, allocations: 12.28 kB / 402.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.3069, allocations: 324.2 kB / 402.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.155e-05/0.3069, allocations: 83.23 kB / 402.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.322e-05/0.307, allocations: 10 kB / 402.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.307, allocations: 10.84 kB / 402.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.307, allocations: 0 / 402.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of Templates: time 0.003561/0.3106, allocations: 0.6814 MB / 403.4 MB, free: 4.832 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/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.619107911363244]