Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002184/0.002184, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 75.89 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1168, allocations: 66.05 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02236/0.1392, allocations: 20.49 MB / 0.5762 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006194/0.1454, allocations: 4.299 MB / 0.5804 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005436/0.1459, allocations: 27.75 kB / 0.5804 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008615/0.1468, allocations: 322 kB / 0.5807 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.1486, allocations: 0.8745 MB / 0.5816 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.1507, allocations: 0.8953 MB / 0.5824 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.1529, allocations: 1.793 MB / 0.5842 GB, free: 8.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006396/0.1536, allocations: 417.3 kB / 0.5846 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.1553, allocations: 0.9457 MB / 0.5855 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009473/0.1563, allocations: 0.6773 MB / 0.5862 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1564, allocations: 63.98 kB / 0.5862 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007424/0.1571, allocations: 315.6 kB / 0.5865 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.1574, allocations: 267.1 kB / 0.5868 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.1578, allocations: 390.2 kB / 0.5872 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.1592, allocations: 1.086 MB / 0.5882 GB, free: 4.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1592, allocations: 0 / 0.5882 GB, free: 4.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1592, allocations: 0 / 0.5882 GB, free: 4.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1592, allocations: 4 kB / 0.5882 GB, free: 4.586 MB / 446.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.002214/0.1614, allocations: 1.063 MB / 0.5893 GB, free: 3.473 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1615, allocations: 16.02 kB / 0.5893 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.668e-05/0.1615, allocations: 13.19 kB / 0.5893 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.1616, allocations: 98.69 kB / 0.5894 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.162, allocations: 92.42 kB / 0.5895 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008331/0.1628, allocations: 0.537 MB / 0.59 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.1629, allocations: 104.9 kB / 0.5901 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-05/0.163, allocations: 55.89 kB / 0.5901 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.1643, allocations: 0.8097 MB / 0.5909 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.1643, allocations: 7.938 kB / 0.5909 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.1644, allocations: 23.98 kB / 0.591 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/0.1644, allocations: 40.98 kB / 0.591 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1656, allocations: 0.6361 MB / 0.5916 GB, free: 0.9141 MB / 446.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.2109/0.3765, allocations: 4.209 MB / 0.5957 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3775, allocations: 395.2 kB / 0.5961 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.3779, allocations: 194 kB / 0.5963 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004038/0.3783, allocations: 0.4977 MB / 0.5968 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.3783, allocations: 48.77 kB / 0.5968 GB, free: 33.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.116e-06/0.3783, allocations: 3.203 kB / 0.5968 GB, free: 33.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003269/0.3816, allocations: 1.533 MB / 0.5983 GB, free: 33.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.3816, allocations: 138.6 kB / 0.5985 GB, free: 33.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.3823, allocations: 0.5715 MB / 0.599 GB, free: 33.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.3824, allocations: 38.23 kB / 0.5991 GB, free: 33.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.3826, allocations: 361.6 kB / 0.5994 GB, free: 33.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3827, allocations: 176.5 kB / 0.5996 GB, free: 32.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.3829, allocations: 136.4 kB / 0.5997 GB, free: 32.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.383, allocations: 378.7 kB / 0.6001 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.3835, allocations: 222.8 kB / 0.6003 GB, free: 32.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/0.384, allocations: 0.5179 MB / 0.6008 GB, free: 32.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.3849, allocations: 0.7778 MB / 0.6015 GB, free: 31.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3849, allocations: 8.281 kB / 0.6015 GB, free: 31.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001807/0.3868, allocations: 0.9327 MB / 0.6025 GB, free: 31.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3868, allocations: 9.031 kB / 0.6025 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.3868, allocations: 12.84 kB / 0.6025 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.3879, allocations: 264.6 kB / 0.6027 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.3883, allocations: 125.2 kB / 0.6028 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008505/0.3892, allocations: 0.8701 MB / 0.6037 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3897, allocations: 27.5 kB / 0.6037 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.481e-05/0.3897, allocations: 38.08 kB / 0.6038 GB, free: 30.35 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.0003087/0.39, allocations: 245.9 kB / 0.604 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.3902, allocations: 72.11 kB / 0.6041 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.3916, allocations: 0.7069 MB / 0.6048 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.3916, allocations: 5.844 kB / 0.6048 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3916, allocations: 5.016 kB / 0.6048 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.3916, allocations: 4.719 kB / 0.6048 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.3937, allocations: 1.398 MB / 0.6061 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.3937, allocations: 2.344 kB / 0.6061 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/0.3947, allocations: 189.1 kB / 0.6063 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.3949, allocations: 67.62 kB / 0.6064 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.395, allocations: 12.42 kB / 0.6064 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.3967, allocations: 2.982 MB / 0.6093 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.3967, allocations: 7.609 kB / 0.6093 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.3983, allocations: 0.9998 MB / 0.6103 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.3986, allocations: 204 kB / 0.6105 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.3987, allocations: 18.19 kB / 0.6105 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.399, allocations: 14.67 kB / 0.6105 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.3991, allocations: 38.73 kB / 0.6106 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.3992, allocations: 19.17 kB / 0.6106 GB, free: 25.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005487/0.3997, allocations: 423.3 kB / 0.611 GB, free: 25.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3997, allocations: 0 / 0.611 GB, free: 25.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009714/0.4007, allocations: 207 kB / 0.6112 GB, free: 25.1 MB / 446.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.001904/0.4026, allocations: 1.661 MB / 0.6128 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.4038, allocations: 0.5796 MB / 0.6134 GB, free: 23.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4038, allocations: 0 / 0.6134 GB, free: 23.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.4051, allocations: 474.4 kB / 0.6138 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.4068, allocations: 385.2 kB / 0.6142 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009627/0.4164, allocations: 6.554 MB / 0.6206 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.4169, allocations: 0.9369 MB / 0.6215 GB, free: 18.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008366/0.4177, allocations: 206.6 kB / 0.6217 GB, free: 18.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.418, allocations: 230.5 kB / 0.6219 GB, free: 18.68 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.418, allocations: 3.5 kB / 0.6219 GB, free: 18.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/0.4659, allocations: 22.27 MB / 0.6437 GB, free: 1.832 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.42, allocations: 11.38 kB / 0.6437 GB, free: 1.828 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.565172411035746]