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.001352/0.001352, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001524/0.001524, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.426/1.426, 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.2247/0.2247, allocations: 46.96 MB / 360.9 MB, free: 4.004 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.002067/0.002067, allocations: 63.89 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 66.04 MB / 0.5606 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02228/0.3544, allocations: 18.67 MB / 0.5788 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006461/0.3609, allocations: 3.991 MB / 0.5827 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005784/0.3615, allocations: 27.75 kB / 0.5828 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008997/0.3624, allocations: 310 kB / 0.5831 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.3644, allocations: 0.8784 MB / 0.5839 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.3667, allocations: 0.9342 MB / 0.5848 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.3688, allocations: 1.809 MB / 0.5866 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.3694, allocations: 389.6 kB / 0.587 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.3713, allocations: 0.9691 MB / 0.5879 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3723, allocations: 0.6655 MB / 0.5886 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.3725, allocations: 56 kB / 0.5886 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.3732, allocations: 279.6 kB / 0.5889 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.3735, allocations: 263.2 kB / 0.5891 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.3738, allocations: 334.6 kB / 0.5895 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.3752, allocations: 1.082 MB / 0.5905 GB, free: 5.445 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3752, allocations: 0 / 0.5905 GB, free: 5.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3752, allocations: 0 / 0.5905 GB, free: 5.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.3752, allocations: 0 / 0.5905 GB, free: 5.445 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.002178/0.3774, allocations: 0.9912 MB / 0.5915 GB, free: 4.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3774, allocations: 8.031 kB / 0.5915 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.3776, allocations: 102.7 kB / 0.5916 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.3779, allocations: 96.41 kB / 0.5917 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009512/0.3789, allocations: 478.7 kB / 0.5921 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.379, allocations: 156.3 kB / 0.5923 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/0.3791, allocations: 60.08 kB / 0.5923 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.3806, allocations: 1.075 MB / 0.5934 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.3806, allocations: 3.938 kB / 0.5934 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.3807, allocations: 24 kB / 0.5934 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/0.3807, allocations: 32.98 kB / 0.5935 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.3819, allocations: 0.6439 MB / 0.5941 GB, free: 1.57 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.004904/0.3868, allocations: 3.41 MB / 0.5974 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009368/0.3877, allocations: 396 kB / 0.5978 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.3881, allocations: 193.4 kB / 0.598 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.3883, allocations: 48.3 kB / 0.598 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.3884, allocations: 42.88 kB / 0.5981 GB, free: 13.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.485e-06/0.3884, allocations: 0 / 0.5981 GB, free: 13.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003342/0.3917, allocations: 1.455 MB / 0.5995 GB, free: 11.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.3918, allocations: 136.5 kB / 0.5996 GB, free: 11.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007369/0.3925, allocations: 0.5887 MB / 0.6002 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.3926, allocations: 33.7 kB / 0.6002 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.3929, allocations: 363.9 kB / 0.6006 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.3931, allocations: 166.5 kB / 0.6007 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.3933, allocations: 146.6 kB / 0.6009 GB, free: 10.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.3935, allocations: 378.7 kB / 0.6012 GB, free: 10 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.3939, allocations: 221.9 kB / 0.6014 GB, free: 9.785 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/0.3947, allocations: 0.5954 MB / 0.602 GB, free: 9.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3958, allocations: 0.7796 MB / 0.6028 GB, free: 8.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.3958, allocations: 4 kB / 0.6028 GB, free: 8.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001927/0.3978, allocations: 0.9372 MB / 0.6037 GB, free: 7.172 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3978, allocations: 11.98 kB / 0.6037 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.3978, allocations: 8 kB / 0.6037 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.3989, allocations: 265.3 kB / 0.604 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.3994, allocations: 127.8 kB / 0.6041 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.4004, allocations: 0.8665 MB / 0.6049 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.4009, allocations: 27.98 kB / 0.605 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.401, allocations: 35.98 kB / 0.605 GB, free: 5.812 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.0003751/0.4014, allocations: 250.1 kB / 0.6052 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.4015, allocations: 67.58 kB / 0.6053 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.403, allocations: 0.7159 MB / 0.606 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.403, allocations: 4 kB / 0.606 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.403, allocations: 8 kB / 0.606 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.403, allocations: 7.922 kB / 0.606 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.4054, allocations: 1.293 MB / 0.6073 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4054, allocations: 4 kB / 0.6073 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4064, allocations: 191.8 kB / 0.6075 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/0.4066, allocations: 57.02 kB / 0.6075 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.4067, allocations: 15.98 kB / 0.6075 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.4095, allocations: 2.776 MB / 0.6103 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4095, allocations: 0 / 0.6103 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.4112, allocations: 1.002 MB / 0.6112 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.4116, allocations: 127.5 kB / 0.6114 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.4117, allocations: 8 kB / 0.6114 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.4121, allocations: 16.11 kB / 0.6114 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.4122, allocations: 47.81 kB / 0.6114 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.4122, allocations: 19.98 kB / 0.6114 GB, free: 14.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006043/0.4128, allocations: 427 kB / 0.6118 GB, free: 14.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4128, allocations: 0 / 0.6118 GB, free: 14.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008233/0.4137, allocations: 199.9 kB / 0.612 GB, free: 14.25 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.002309/0.416, allocations: 1.677 MB / 0.6137 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.4173, allocations: 0.5893 MB / 0.6143 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4173, allocations: 4 kB / 0.6143 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.4185, allocations: 478 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.001782/0.4203, allocations: 362 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.01054/0.4308, allocations: 6.539 MB / 0.6214 GB, free: 4.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4312, allocations: 345.3 kB / 0.6218 GB, free: 3.805 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007186/0.432, allocations: 214.6 kB / 0.622 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.4323, allocations: 231.4 kB / 0.6222 GB, free: 3.383 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4323, allocations: 4 kB / 0.6222 GB, free: 3.379 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06465/0.497, allocations: 23.56 MB / 0.6452 GB, free: 12.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.11, allocations: 11.38 kB / 0.6452 GB, free: 12.25 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: 17.185508771799505]