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.005244/0.005244, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001533/0.001533, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.27/1.27, allocations: 207.6 MB / 236 MB, free: 9.988 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.001634/0.001634, allocations: 47.92 kB / 348 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2309, allocations: 49.16 MB / 397.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01447/0.2454, allocations: 16.1 MB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.2481, allocations: 1.932 MB / 415.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.2482, allocations: 8.5 kB / 415.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.2488, allocations: 171.3 kB / 415.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.2494, allocations: 319.2 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.25, allocations: 290.6 kB / 416 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008546/0.2509, allocations: 0.8571 MB / 416.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.2511, allocations: 86.2 kB / 416.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009235/0.252, allocations: 0.524 MB / 417.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.2524, allocations: 284.9 kB / 417.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.2524, allocations: 29.09 kB / 417.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.2526, allocations: 46.48 kB / 417.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.2527, allocations: 99.69 kB / 417.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.2529, allocations: 173.2 kB / 418.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.2533, allocations: 444.9 kB / 418.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2533, allocations: 0 / 418.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2533, allocations: 1.031 kB / 418.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2534, allocations: 0 / 418.5 MB, free: 10.12 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.0008997/0.2543, allocations: 0.5105 MB / 419 MB, free: 9.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2543, allocations: 13.58 kB / 419 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.702e-05/0.2543, allocations: 6.125 kB / 419 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.031e-05/0.2544, allocations: 68.94 kB / 419.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.2546, allocations: 43.42 kB / 419.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.2551, allocations: 218.2 kB / 419.4 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2551, allocations: 19.34 kB / 419.4 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.2551, allocations: 28.22 kB / 419.4 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.2556, allocations: 304.9 kB / 419.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.2556, allocations: 1.188 kB / 419.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.2557, allocations: 10.59 kB / 419.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2557, allocations: 11.28 kB / 419.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.256, allocations: 203.1 kB / 419.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.2577, allocations: 1.411 MB / 421.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.258, allocations: 172.2 kB / 421.5 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2581, allocations: 77.94 kB / 421.6 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.2581, allocations: 5.797 kB / 421.6 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2581, allocations: 36.16 kB / 421.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.2582, allocations: 0 / 421.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0023/0.2605, allocations: 0.8522 MB / 422.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2605, allocations: 58.75 kB / 422.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.2608, allocations: 266 kB / 422.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.2608, allocations: 26.92 kB / 422.8 MB, free: 6.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2609, allocations: 182.9 kB / 423 MB, free: 6.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.261, allocations: 98.55 kB / 423.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.2611, allocations: 60.73 kB / 423.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2612, allocations: 333.4 kB / 423.5 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2614, allocations: 83.94 kB / 423.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.2616, allocations: 186.9 kB / 423.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.262, allocations: 287.9 kB / 424 MB, free: 5.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.262, allocations: 0 / 424 MB, free: 5.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006461/0.2627, allocations: 386.6 kB / 424.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2627, allocations: 5.625 kB / 424.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2627, allocations: 3.156 kB / 424.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.2629, allocations: 64.64 kB / 424.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.2632, allocations: 64.91 kB / 424.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.2655, allocations: 2.683 MB / 427.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.2657, allocations: 8.312 kB / 427.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.2657, allocations: 15.75 kB / 427.2 MB, free: 2.664 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.0001612/0.2659, allocations: 152.9 kB / 427.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.2659, allocations: 26.33 kB / 427.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.266, allocations: 31.59 kB / 427.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.266, allocations: 7.406 kB / 427.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.266, allocations: 13.14 kB / 427.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006559/0.2667, allocations: 0.5665 MB / 428 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.2677, allocations: 0.6666 MB / 428.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2677, allocations: 0.7812 kB / 428.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.2679, allocations: 50.78 kB / 428.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.2682, allocations: 48.3 kB / 428.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.2682, allocations: 6.531 kB / 428.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.2694, allocations: 1.387 MB / 430.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2694, allocations: 0 / 430.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.2701, allocations: 480.5 kB / 430.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.2702, allocations: 19.8 kB / 430.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.2702, allocations: 9.672 kB / 430.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.2704, allocations: 6.469 kB / 430.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.2705, allocations: 22.53 kB / 430.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2705, allocations: 9.609 kB / 430.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.2707, allocations: 188.8 kB / 430.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2707, allocations: 0 / 430.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.271, allocations: 85.53 kB / 431 MB, free: 15.43 MB / 350.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.001002/0.2721, allocations: 1.013 MB / 432 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000758/0.2728, allocations: 471.5 kB / 432.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2728, allocations: 0 / 432.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.2732, allocations: 226.5 kB / 432.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.2741, allocations: 161.7 kB / 432.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.278, allocations: 3.134 MB / 436 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.2784, allocations: 0.7645 MB / 436.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.2786, allocations: 54.94 kB / 436.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2788, allocations: 91.41 kB / 436.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2788, allocations: 0 / 436.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03571/0.3145, allocations: 9.106 MB / 446 MB, free: 1.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.68, allocations: 4.062 kB / 446 MB, free: 1.195 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: 15.010567956021987]