Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.001678/0.001678, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002035/0.002035, allocations: 204 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3553, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02316/0.3784, allocations: 18.68 MB / 0.5788 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006587/0.385, allocations: 3.991 MB / 0.5827 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.3857, allocations: 31.69 kB / 0.5828 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009688/0.3867, allocations: 310 kB / 0.5831 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.3889, allocations: 0.8862 MB / 0.5839 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.3913, allocations: 0.919 MB / 0.5848 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.3937, allocations: 1.821 MB / 0.5866 GB, free: 9.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.3943, allocations: 397.6 kB / 0.587 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.3965, allocations: 0.9652 MB / 0.5879 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.3978, allocations: 0.6772 MB / 0.5886 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.3979, allocations: 59.98 kB / 0.5887 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008104/0.3987, allocations: 287.6 kB / 0.5889 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.399, allocations: 263.2 kB / 0.5892 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.3995, allocations: 330.6 kB / 0.5895 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.4011, allocations: 1.082 MB / 0.5906 GB, free: 5.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4011, allocations: 0 / 0.5906 GB, free: 5.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4011, allocations: 0 / 0.5906 GB, free: 5.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4011, allocations: 0 / 0.5906 GB, free: 5.449 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002336/0.4034, allocations: 0.9951 MB / 0.5915 GB, free: 4.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4035, allocations: 8.031 kB / 0.5915 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.4036, allocations: 98.7 kB / 0.5916 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.404, allocations: 92.42 kB / 0.5917 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.4049, allocations: 486.6 kB / 0.5922 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.4051, allocations: 152.4 kB / 0.5923 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4052, allocations: 60.06 kB / 0.5924 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.4066, allocations: 1.065 MB / 0.5934 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.4067, allocations: 7.938 kB / 0.5934 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/0.4067, allocations: 27.97 kB / 0.5935 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/0.4068, allocations: 40.97 kB / 0.5935 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.4079, allocations: 0.6478 MB / 0.5941 GB, free: 1.559 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004889/0.4128, allocations: 3.402 MB / 0.5974 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.4137, allocations: 393.6 kB / 0.5978 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.4141, allocations: 197.4 kB / 0.598 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.4144, allocations: 48.28 kB / 0.5981 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4144, allocations: 38.89 kB / 0.5981 GB, free: 13.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.554e-06/0.4144, allocations: 0 / 0.5981 GB, free: 13.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003426/0.4178, allocations: 1.463 MB / 0.5995 GB, free: 11.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.4179, allocations: 132.5 kB / 0.5996 GB, free: 11.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.4187, allocations: 0.5926 MB / 0.6002 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.4187, allocations: 33.7 kB / 0.6003 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.419, allocations: 355.9 kB / 0.6006 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.4192, allocations: 182.5 kB / 0.6008 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.4194, allocations: 142.6 kB / 0.6009 GB, free: 10.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.4196, allocations: 374.7 kB / 0.6013 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.42, allocations: 229.9 kB / 0.6015 GB, free: 9.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/0.4207, allocations: 0.5915 MB / 0.6021 GB, free: 9.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.4219, allocations: 0.7796 MB / 0.6028 GB, free: 8.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.4219, allocations: 4 kB / 0.6028 GB, free: 8.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001914/0.4238, allocations: 0.9377 MB / 0.6037 GB, free: 7.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4239, allocations: 8.219 kB / 0.6038 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.4239, allocations: 12 kB / 0.6038 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.4251, allocations: 264.6 kB / 0.604 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.4255, allocations: 127.8 kB / 0.6041 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.4266, allocations: 0.8645 MB / 0.605 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.4271, allocations: 27.98 kB / 0.605 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/0.4272, allocations: 32 kB / 0.605 GB, free: 5.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003662/0.4275, allocations: 254.2 kB / 0.6053 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.4277, allocations: 67.58 kB / 0.6053 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.4291, allocations: 0.7117 MB / 0.606 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.4291, allocations: 4 kB / 0.606 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4291, allocations: 8 kB / 0.6061 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.4291, allocations: 3.984 kB / 0.6061 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.4314, allocations: 1.297 MB / 0.6073 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4314, allocations: 4 kB / 0.6073 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.4324, allocations: 192 kB / 0.6075 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/0.4327, allocations: 56.78 kB / 0.6076 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.4327, allocations: 12 kB / 0.6076 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/0.4353, allocations: 2.772 MB / 0.6103 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4353, allocations: 4 kB / 0.6103 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.4371, allocations: 1.01 MB / 0.6113 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.4375, allocations: 123.5 kB / 0.6114 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.4376, allocations: 16 kB / 0.6114 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.438, allocations: 12 kB / 0.6114 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4381, allocations: 47.8 kB / 0.6115 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.4381, allocations: 16 kB / 0.6115 GB, free: 14.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006171/0.4388, allocations: 423 kB / 0.6119 GB, free: 14.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4388, allocations: 0 / 0.6119 GB, free: 14.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008304/0.4396, allocations: 207.9 kB / 0.6121 GB, free: 14.24 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.002281/0.4419, allocations: 1.662 MB / 0.6137 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.4432, allocations: 0.5923 MB / 0.6143 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4432, allocations: 0 / 0.6143 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.4444, allocations: 479.2 kB / 0.6147 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4461, allocations: 372.4 kB / 0.6151 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.4564, allocations: 6.54 MB / 0.6215 GB, free: 4.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.4568, allocations: 349.3 kB / 0.6218 GB, free: 3.801 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007153/0.4575, allocations: 206.9 kB / 0.622 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/0.4578, allocations: 231.4 kB / 0.6222 GB, free: 3.387 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4578, allocations: 0 / 0.6222 GB, free: 3.387 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06342/0.5213, allocations: 23.84 MB / 0.6455 GB, free: 11.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.67, allocations: 3.859 kB / 0.6455 GB, free: 11.98 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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: 16.73310073002358]