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.001448/0.001448, allocations: 102.1 kB / 21.96 MB, free: 5.211 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.001547/0.001547, allocations: 214.5 kB / 25.26 MB, free: 3.129 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.26/1.26, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [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.001599/0.001599, allocations: 56.39 kB / 348 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2202, allocations: 49.16 MB / 397.2 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01271/0.2329, allocations: 14.56 MB / 411.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.2354, allocations: 1.787 MB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2355, allocations: 7.312 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.2361, allocations: 161.1 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.2366, allocations: 318.2 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.2372, allocations: 300.7 kB / 414.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008585/0.2381, allocations: 0.8517 MB / 415.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2383, allocations: 89.33 kB / 415.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008929/0.2392, allocations: 0.5199 MB / 415.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.2395, allocations: 297.2 kB / 416 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.2396, allocations: 29.72 kB / 416.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.2398, allocations: 38.25 kB / 416.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.2399, allocations: 91.12 kB / 416.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.2401, allocations: 162.3 kB / 416.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.2406, allocations: 436.5 kB / 416.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2406, allocations: 1.031 kB / 416.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2406, allocations: 3.938 kB / 416.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.2406, allocations: 0 / 416.8 MB, free: 11.84 MB / 334.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.0009048/0.2415, allocations: 0.5119 MB / 417.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2415, allocations: 14.42 kB / 417.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.151e-05/0.2415, allocations: 9.875 kB / 417.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.2416, allocations: 55.23 kB / 417.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.2419, allocations: 51.27 kB / 417.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.2423, allocations: 219.7 kB / 417.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2423, allocations: 18.47 kB / 417.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.2424, allocations: 29.03 kB / 417.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.243, allocations: 456.6 kB / 418.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.243, allocations: 1.375 kB / 418.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.243, allocations: 14.77 kB / 418.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.243, allocations: 6.562 kB / 418.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.2433, allocations: 197.1 kB / 418.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.2449, allocations: 1.172 MB / 419.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2452, allocations: 176.2 kB / 419.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.2453, allocations: 85.02 kB / 419.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.2453, allocations: 3.156 kB / 419.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.2454, allocations: 37.03 kB / 419.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.2454, allocations: 0 / 419.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002337/0.2477, allocations: 0.8522 MB / 420.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2478, allocations: 55.16 kB / 420.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.248, allocations: 262 kB / 421 MB, free: 8.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.2481, allocations: 26.64 kB / 421 MB, free: 8.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.2482, allocations: 179.6 kB / 421.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.2483, allocations: 105.9 kB / 421.3 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.2484, allocations: 61.86 kB / 421.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2485, allocations: 332.6 kB / 421.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2487, allocations: 84.72 kB / 421.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.2489, allocations: 183.9 kB / 421.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.2492, allocations: 291.9 kB / 422.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2492, allocations: 0 / 422.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006437/0.2499, allocations: 381.6 kB / 422.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2499, allocations: 7.094 kB / 422.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2499, allocations: 2.781 kB / 422.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.2501, allocations: 64.61 kB / 422.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.2504, allocations: 69.28 kB / 422.7 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.2526, allocations: 2.669 MB / 425.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2528, allocations: 8.125 kB / 425.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.2529, allocations: 15 kB / 425.4 MB, free: 4.508 MB / 334.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.0001584/0.253, allocations: 152.8 kB / 425.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.2531, allocations: 25.61 kB / 425.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.516e-05/0.2532, allocations: 45.2 kB / 425.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2532, allocations: 6.891 kB / 425.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2532, allocations: 9.297 kB / 425.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006357/0.2538, allocations: 0.5664 MB / 426.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.2548, allocations: 0.633 MB / 426.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2548, allocations: 0 / 426.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.255, allocations: 45.59 kB / 426.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.2552, allocations: 53.11 kB / 426.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.2553, allocations: 6.719 kB / 426.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.2565, allocations: 1.375 MB / 428.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2565, allocations: 4.062 kB / 428.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007026/0.2572, allocations: 474.5 kB / 428.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.2572, allocations: 27.03 kB / 428.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.2573, allocations: 6.656 kB / 428.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2575, allocations: 5.344 kB / 428.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.2575, allocations: 19.25 kB / 428.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.2575, allocations: 15.11 kB / 428.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.2577, allocations: 178.9 kB / 429 MB, free: 1.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2577, allocations: 0 / 429 MB, free: 1.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.2581, allocations: 90.47 kB / 429.1 MB, free: 1.316 MB / 334.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.001009/0.2591, allocations: 1.011 MB / 430.1 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.2598, allocations: 467 kB / 430.6 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2598, allocations: 1.312 kB / 430.6 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.2602, allocations: 226.5 kB / 430.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008371/0.2611, allocations: 164.4 kB / 431 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.265, allocations: 3.137 MB / 434.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.2651, allocations: 155.8 kB / 434.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.2653, allocations: 54.94 kB / 434.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.2655, allocations: 87.41 kB / 434.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2655, allocations: 0 / 434.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.302, allocations: 9.6 MB / 444 MB, free: 3.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.61, allocations: 7.797 kB / 444 MB, free: 2.996 MB / 350.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/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/jenkins1/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: 14.932390006026253]