Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001822/0.001822, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002147/0.002147, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 44.94 MB / 359.6 MB, free: 6.082 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.0024/0.0024, allocations: 67.89 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3322, allocations: 65.47 MB / 0.5582 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02419/0.3564, allocations: 18.68 MB / 0.5764 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007493/0.3639, allocations: 3.999 MB / 0.5803 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008056/0.3647, allocations: 27.75 kB / 0.5804 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.3661, allocations: 306 kB / 0.5807 GB, free: 428 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.3689, allocations: 0.8788 MB / 0.5815 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.3715, allocations: 0.9302 MB / 0.5824 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.3742, allocations: 1.813 MB / 0.5842 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007401/0.3749, allocations: 397.5 kB / 0.5846 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.3771, allocations: 0.9613 MB / 0.5855 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.3783, allocations: 0.6616 MB / 0.5862 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.3785, allocations: 60 kB / 0.5862 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008139/0.3793, allocations: 275.6 kB / 0.5865 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.3796, allocations: 275.1 kB / 0.5867 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000431/0.38, allocations: 318.7 kB / 0.5871 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.3817, allocations: 1.084 MB / 0.5881 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3817, allocations: 0 / 0.5881 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3817, allocations: 0 / 0.5881 GB, free: 8.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3817, allocations: 0 / 0.5881 GB, free: 8.777 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.002246/0.3839, allocations: 1.005 MB / 0.5891 GB, free: 7.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.384, allocations: 8.031 kB / 0.5891 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003487/0.3843, allocations: 92.42 kB / 0.5892 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009507/0.3853, allocations: 470.8 kB / 0.5896 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.3854, allocations: 156.4 kB / 0.5898 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.3855, allocations: 56.31 kB / 0.5898 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.387, allocations: 1.076 MB / 0.5909 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.387, allocations: 3.938 kB / 0.5909 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.3871, allocations: 24 kB / 0.5909 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.3872, allocations: 40.97 kB / 0.591 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.3883, allocations: 0.6399 MB / 0.5916 GB, free: 5.008 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.004873/0.3932, allocations: 3.337 MB / 0.5948 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/0.3941, allocations: 389.5 kB / 0.5952 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.3945, allocations: 193.4 kB / 0.5954 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.3948, allocations: 52.28 kB / 0.5954 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.3948, allocations: 46.89 kB / 0.5955 GB, free: 0.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.3948, allocations: 0 / 0.5955 GB, free: 0.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003383/0.3982, allocations: 1.459 MB / 0.5969 GB, free: 15.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3983, allocations: 136.5 kB / 0.597 GB, free: 15.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000683/0.399, allocations: 0.5182 MB / 0.5976 GB, free: 14.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.399, allocations: 33.7 kB / 0.5976 GB, free: 14.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.3993, allocations: 372.3 kB / 0.5979 GB, free: 14.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.3995, allocations: 170.5 kB / 0.5981 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.3997, allocations: 138.6 kB / 0.5982 GB, free: 13.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.3999, allocations: 370.7 kB / 0.5986 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.4003, allocations: 225.9 kB / 0.5988 GB, free: 13.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/0.4011, allocations: 0.5954 MB / 0.5994 GB, free: 12.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.4022, allocations: 0.7835 MB / 0.6001 GB, free: 11.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4022, allocations: 4 kB / 0.6002 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001937/0.4042, allocations: 0.9257 MB / 0.6011 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.4042, allocations: 11.98 kB / 0.6011 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.4042, allocations: 15.94 kB / 0.6011 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.4053, allocations: 261.2 kB / 0.6013 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.4058, allocations: 127.8 kB / 0.6015 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.4069, allocations: 0.8713 MB / 0.6023 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.4074, allocations: 28 kB / 0.6023 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.4075, allocations: 35.98 kB / 0.6024 GB, free: 9.402 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.0003649/0.4078, allocations: 237.5 kB / 0.6026 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.408, allocations: 63.62 kB / 0.6027 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.4094, allocations: 0.7119 MB / 0.6033 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4094, allocations: 8 kB / 0.6034 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4094, allocations: 0 / 0.6034 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4094, allocations: 0 / 0.6034 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.4117, allocations: 1.239 MB / 0.6046 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4117, allocations: 0 / 0.6046 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009842/0.4127, allocations: 191.8 kB / 0.6048 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.4129, allocations: 57.02 kB / 0.6048 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.413, allocations: 19.92 kB / 0.6048 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.4157, allocations: 2.738 MB / 0.6075 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4157, allocations: 4.031 kB / 0.6075 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4174, allocations: 0.9973 MB / 0.6085 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.4178, allocations: 123.4 kB / 0.6086 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.4179, allocations: 12 kB / 0.6086 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.4182, allocations: 12 kB / 0.6086 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.4183, allocations: 39.92 kB / 0.6087 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.4184, allocations: 20.12 kB / 0.6087 GB, free: 2.621 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004891/0.4188, allocations: 354.8 kB / 0.609 GB, free: 2.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4188, allocations: 0 / 0.609 GB, free: 2.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008333/0.4197, allocations: 203.8 kB / 0.6092 GB, free: 2.078 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.000428/0.4201, allocations: 225.9 kB / 0.6094 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.4214, allocations: 0.5852 MB / 0.61 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4214, allocations: 0 / 0.61 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.4226, allocations: 459.7 kB / 0.6104 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.4241, allocations: 313.8 kB / 0.6107 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.4268, allocations: 1.461 MB / 0.6122 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.4272, allocations: 337.1 kB / 0.6125 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.4275, allocations: 63.42 kB / 0.6125 GB, free: 14.56 MB / 462.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4275, allocations: 3.938 kB / 0.6125 GB, free: 14.56 MB / 462.1 MB Notification: Performance of Templates: time 0.02433/0.4518, allocations: 15.18 MB / 0.6274 GB, free: 15.48 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.352705856319517]