Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001441/0.001441, allocations: 92.22 kB / 20.21 MB, free: 4.227 MB / 18.57 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.001582/0.001582, allocations: 157.7 kB / 23.52 MB, free: 0.9219 MB / 18.57 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.39/1.39, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2184/0.2184, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/3.009e-05, allocations: 2.312 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02111/0.02114, allocations: 18.48 MB / 365.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007602/0.02874, allocations: 3.979 MB / 369.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007653/0.02951, allocations: 31.69 kB / 369.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.03071, allocations: 321.8 kB / 369.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.03331, allocations: 0.901 MB / 370.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.03614, allocations: 0.9463 MB / 371.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.03903, allocations: 1.832 MB / 373.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009301/0.03996, allocations: 418.8 kB / 373.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.04267, allocations: 1.164 MB / 375 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.04403, allocations: 0.6232 MB / 375.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.04423, allocations: 60 kB / 375.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009788/0.04521, allocations: 283.5 kB / 376 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004317/0.04564, allocations: 287.1 kB / 376.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005235/0.04617, allocations: 279.3 kB / 376.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.04808, allocations: 1.126 MB / 377.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.04809, allocations: 0 / 377.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04809, allocations: 4 kB / 377.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.0481, allocations: 0 / 377.6 MB, free: 10.97 MB / 314.7 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.002635/0.05073, allocations: 0.9834 MB / 378.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.05078, allocations: 8.031 kB / 378.6 MB, free: 9.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/0.05128, allocations: 156.2 kB / 378.8 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.05229, allocations: 0.498 MB / 379.3 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.05248, allocations: 156.4 kB / 379.4 MB, free: 9.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.05262, allocations: 56.36 kB / 379.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.0544, allocations: 1.094 MB / 380.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.05443, allocations: 7.938 kB / 380.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.05451, allocations: 23.98 kB / 380.6 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.841e-05/0.05458, allocations: 40.98 kB / 380.7 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.05582, allocations: 0.64 MB / 381.3 MB, free: 7.09 MB / 314.7 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.005548/0.06137, allocations: 3.345 MB / 384.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.06237, allocations: 401.5 kB / 385 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.06275, allocations: 197.4 kB / 385.2 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.06305, allocations: 56.3 kB / 385.3 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.0631, allocations: 38.89 kB / 385.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.0631, allocations: 0 / 385.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.004767/0.06786, allocations: 1.467 MB / 386.8 MB, free: 1.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.06799, allocations: 132.5 kB / 386.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/0.06886, allocations: 0.5182 MB / 387.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.06892, allocations: 33.7 kB / 387.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.06928, allocations: 368.4 kB / 387.8 MB, free: 344 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.06948, allocations: 170.5 kB / 388 MB, free: 172 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.06974, allocations: 142.6 kB / 388.1 MB, free: 24 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002588/0.07, allocations: 370.7 kB / 388.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.07044, allocations: 225.9 kB / 388.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.07125, allocations: 0.5994 MB / 389.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.07255, allocations: 0.7728 MB / 390.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.07256, allocations: 7.938 kB / 390.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002236/0.0748, allocations: 0.9666 MB / 391.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.07482, allocations: 8 kB / 391.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.07484, allocations: 8 kB / 391.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.07606, allocations: 270.3 kB / 391.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.07653, allocations: 127.8 kB / 391.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.07776, allocations: 0.8685 MB / 392.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.07831, allocations: 24 kB / 392.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.07838, allocations: 35.98 kB / 392.4 MB, free: 11.43 MB / 330.7 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.0004501/0.07883, allocations: 257.5 kB / 392.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.07903, allocations: 75.62 kB / 392.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.08065, allocations: 0.7062 MB / 393.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.08067, allocations: 11.94 kB / 393.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.08067, allocations: 0 / 393.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.08068, allocations: 0 / 393.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.08314, allocations: 1.251 MB / 394.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.08315, allocations: 0 / 394.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.0842, allocations: 191.8 kB / 394.9 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.0845, allocations: 61 kB / 394.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.08456, allocations: 12 kB / 395 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.08766, allocations: 2.734 MB / 397.7 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.08766, allocations: 0 / 397.7 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.08954, allocations: 1.003 MB / 398.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.08985, allocations: 123.7 kB / 398.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.914e-05/0.08995, allocations: 15.94 kB / 398.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.09034, allocations: 19.98 kB / 398.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.09045, allocations: 39.88 kB / 398.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.09051, allocations: 19.98 kB / 398.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004966/0.09101, allocations: 350.8 kB / 399.2 MB, free: 4.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09101, allocations: 3.938 kB / 399.2 MB, free: 4.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008821/0.09189, allocations: 203.9 kB / 399.4 MB, free: 4.059 MB / 330.7 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.0006719/0.09256, allocations: 237.5 kB / 399.7 MB, free: 3.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.09397, allocations: 0.592 MB / 400.3 MB, free: 3.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.09397, allocations: 0 / 400.3 MB, free: 3.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.09528, allocations: 471.1 kB / 400.7 MB, free: 2.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.09687, allocations: 325.5 kB / 401.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.09945, allocations: 1.32 MB / 402.4 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.09989, allocations: 345 kB / 402.7 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006889/0.1006, allocations: 198.9 kB / 402.9 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.1008, allocations: 64.42 kB / 403 MB, free: 484 kB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1008, allocations: 0 / 403 MB, free: 484 kB / 330.7 MB Notification: Performance of Templates: time 0.02716/0.1279, allocations: 13.88 MB / 416.8 MB, free: 2.676 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.468024011934176]