Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.001364/0.001364, allocations: 85.31 kB / 21.44 MB, free: 296 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.001488/0.001488, allocations: 161.1 kB / 24.7 MB, free: 3.551 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.393/1.393, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.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.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 299 MB, free: 8.676 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.341e-05, allocations: 2.281 kB / 299 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01903/0.01906, allocations: 14.48 MB / 313.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.02191, allocations: 1.78 MB / 315.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.0221, allocations: 7.938 kB / 315.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006173/0.02272, allocations: 170.8 kB / 315.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007118/0.02343, allocations: 333.9 kB / 315.8 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.02419, allocations: 295.4 kB / 316.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.02527, allocations: 0.8442 MB / 316.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.02547, allocations: 72.81 kB / 317 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.0267, allocations: 0.6305 MB / 317.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004215/0.02713, allocations: 255.2 kB / 317.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.02719, allocations: 28 kB / 317.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.02734, allocations: 43.94 kB / 317.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.02749, allocations: 103.6 kB / 318 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.02768, allocations: 139.7 kB / 318.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.02828, allocations: 442.8 kB / 318.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.02829, allocations: 0 / 318.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.02829, allocations: 0 / 318.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.0283, allocations: 3.984 kB / 318.6 MB, free: 5.008 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001136/0.02944, allocations: 0.5091 MB / 319.1 MB, free: 4.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.0295, allocations: 15.98 kB / 319.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003087/0.02981, allocations: 44.73 kB / 319.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.0303, allocations: 221.2 kB / 319.4 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.03033, allocations: 20.86 kB / 319.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.03039, allocations: 24.38 kB / 319.4 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006279/0.03102, allocations: 457.8 kB / 319.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.03104, allocations: 4.188 kB / 319.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.03107, allocations: 16.12 kB / 319.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.03108, allocations: 4 kB / 319.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.03144, allocations: 197.8 kB / 320.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.03316, allocations: 1.125 MB / 321.2 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.03352, allocations: 166.6 kB / 321.4 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.03367, allocations: 81.2 kB / 321.5 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.0337, allocations: 7.938 kB / 321.5 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.03374, allocations: 42.56 kB / 321.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.03375, allocations: 0 / 321.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002701/0.03645, allocations: 0.842 MB / 322.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.0365, allocations: 59.41 kB / 322.4 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.03681, allocations: 232 kB / 322.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.03684, allocations: 33.7 kB / 322.7 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.03699, allocations: 184.4 kB / 322.8 MB, free: 496 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.03707, allocations: 95.17 kB / 322.9 MB, free: 400 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.03719, allocations: 65.66 kB / 323 MB, free: 328 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1659/0.2031, allocations: 335.7 kB / 323.3 MB, free: 36.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.2034, allocations: 81.91 kB / 323.4 MB, free: 36.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.2037, allocations: 179.5 kB / 323.6 MB, free: 35.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.2041, allocations: 289.7 kB / 323.9 MB, free: 35.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2041, allocations: 1.188 kB / 323.9 MB, free: 35.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007725/0.2048, allocations: 380.2 kB / 324.2 MB, free: 35.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2049, allocations: 6.75 kB / 324.2 MB, free: 35.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2049, allocations: 4.312 kB / 324.2 MB, free: 35.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/0.2052, allocations: 64.64 kB / 324.3 MB, free: 35.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.2055, allocations: 72.53 kB / 324.4 MB, free: 35.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.2074, allocations: 2.627 MB / 327 MB, free: 33.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.2077, allocations: 9.391 kB / 327 MB, free: 33.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2077, allocations: 16.91 kB / 327 MB, free: 33.15 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.2079, allocations: 149.7 kB / 327.2 MB, free: 33.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.208, allocations: 25.44 kB / 327.2 MB, free: 33.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.494e-05/0.208, allocations: 38.55 kB / 327.2 MB, free: 32.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.208, allocations: 6.594 kB / 327.2 MB, free: 32.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2081, allocations: 5.562 kB / 327.3 MB, free: 32.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005919/0.2086, allocations: 0.5541 MB / 327.8 MB, free: 32.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009162/0.2096, allocations: 0.5974 MB / 328.4 MB, free: 32.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2096, allocations: 0 / 328.4 MB, free: 32.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.2098, allocations: 44.3 kB / 328.4 MB, free: 32.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.21, allocations: 56.81 kB / 328.5 MB, free: 32.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.21, allocations: 7.766 kB / 328.5 MB, free: 32.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008635/0.2109, allocations: 1.357 MB / 329.9 MB, free: 30.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2109, allocations: 7.719 kB / 329.9 MB, free: 30.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.2115, allocations: 468.2 kB / 330.3 MB, free: 30.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.2116, allocations: 21.17 kB / 330.4 MB, free: 30.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.2116, allocations: 11.72 kB / 330.4 MB, free: 30.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2118, allocations: 6.344 kB / 330.4 MB, free: 30.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.2119, allocations: 20.05 kB / 330.4 MB, free: 30.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.2119, allocations: 12.75 kB / 330.4 MB, free: 30.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.212, allocations: 162.5 kB / 330.6 MB, free: 30.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.212, allocations: 0.9688 kB / 330.6 MB, free: 30.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.2125, allocations: 88.47 kB / 330.7 MB, free: 30.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.2126, allocations: 102.4 kB / 330.8 MB, free: 30.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007549/0.2134, allocations: 467.9 kB / 331.2 MB, free: 29.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2134, allocations: 3.828 kB / 331.2 MB, free: 29.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.2137, allocations: 223.7 kB / 331.4 MB, free: 29.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.2145, allocations: 134.1 kB / 331.6 MB, free: 29.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2156, allocations: 0.6225 MB / 332.2 MB, free: 29.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.2158, allocations: 152.9 kB / 332.3 MB, free: 29.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.216, allocations: 49.03 kB / 332.4 MB, free: 29.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.216, allocations: 26.27 kB / 332.4 MB, free: 29.32 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.216, allocations: 0 / 332.4 MB, free: 29.32 MB / 302.1 MB Notification: Performance of Templates: time 0.01231/0.2284, allocations: 5.128 MB / 337.5 MB, free: 28.17 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.611673027276993]