Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001715/0.001715, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001908/0.001908, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.571/1.571, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2377/0.2377, allocations: 46.93 MB / 357.1 MB, free: 10.3 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 68.08 kB / 0.4914 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1697, allocations: 65.99 MB / 0.5559 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.385/0.5547, allocations: 44.31 MB / 0.5991 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006279/0.561, allocations: 4.388 MB / 0.6034 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009065/0.5619, allocations: 29.47 kB / 0.6034 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.563, allocations: 327.6 kB / 0.6037 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.5656, allocations: 0.8647 MB / 0.6046 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.5685, allocations: 0.8865 MB / 0.6055 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003406/0.5719, allocations: 1.805 MB / 0.6072 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.5731, allocations: 417.7 kB / 0.6076 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1121/0.6852, allocations: 44.68 MB / 0.6513 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02128/0.7065, allocations: 8.015 MB / 0.6591 GB, free: 1.914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000347/0.7068, allocations: 60 kB / 0.6591 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0279/0.7347, allocations: 10.71 MB / 0.6696 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007301/0.7355, allocations: 266.5 kB / 0.6698 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009703/0.7364, allocations: 395 kB / 0.6702 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.7385, allocations: 1.088 MB / 0.6713 GB, free: 5.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7385, allocations: 0 / 0.6713 GB, free: 5.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7385, allocations: 0 / 0.6713 GB, free: 5.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.7385, allocations: 0 / 0.6713 GB, free: 5.422 MB / 494.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.002635/0.7411, allocations: 1.07 MB / 0.6723 GB, free: 4.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7412, allocations: 8.031 kB / 0.6723 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/0.7416, allocations: 93.53 kB / 0.6724 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009837/0.7425, allocations: 0.5406 MB / 0.673 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.7427, allocations: 96.97 kB / 0.673 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.7428, allocations: 51.27 kB / 0.6731 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.7443, allocations: 0.813 MB / 0.6739 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.7443, allocations: 7.938 kB / 0.6739 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.7444, allocations: 26.27 kB / 0.6739 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.62e-05/0.7445, allocations: 40.97 kB / 0.674 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.7457, allocations: 0.6451 MB / 0.6746 GB, free: 1.891 MB / 494.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.005604/0.7513, allocations: 4.223 MB / 0.6787 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.7523, allocations: 396 kB / 0.6791 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.7527, allocations: 196.4 kB / 0.6793 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.7533, allocations: 0.5037 MB / 0.6798 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.7533, allocations: 34.89 kB / 0.6798 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.325e-06/0.7533, allocations: 3.938 kB / 0.6798 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003823/0.7572, allocations: 1.533 MB / 0.6813 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.7573, allocations: 144.5 kB / 0.6814 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/0.7581, allocations: 0.5732 MB / 0.682 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.7582, allocations: 33.7 kB / 0.682 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.7585, allocations: 356.9 kB / 0.6824 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.7587, allocations: 169.1 kB / 0.6825 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.7589, allocations: 138.6 kB / 0.6827 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.7592, allocations: 378.7 kB / 0.683 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.7596, allocations: 221.9 kB / 0.6832 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.7605, allocations: 0.5279 MB / 0.6838 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.7618, allocations: 0.7718 MB / 0.6845 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.7618, allocations: 4 kB / 0.6845 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002122/0.7639, allocations: 0.9358 MB / 0.6854 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.7639, allocations: 19.88 kB / 0.6854 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.7639, allocations: 8.875 kB / 0.6855 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.7652, allocations: 273.3 kB / 0.6857 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.7657, allocations: 115.8 kB / 0.6858 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.7669, allocations: 0.8703 MB / 0.6867 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.7675, allocations: 28 kB / 0.6867 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.7676, allocations: 39.98 kB / 0.6867 GB, free: 4.645 MB / 0.4981 GB 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.0004107/0.768, allocations: 243.8 kB / 0.687 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.7681, allocations: 67.58 kB / 0.687 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.7697, allocations: 0.7174 MB / 0.6877 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.7697, allocations: 4 kB / 0.6877 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.7697, allocations: 0 / 0.6877 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.7697, allocations: 3.984 kB / 0.6877 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.7723, allocations: 1.402 MB / 0.6891 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.7723, allocations: 3.938 kB / 0.6891 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.7734, allocations: 191.5 kB / 0.6893 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.7736, allocations: 58.84 kB / 0.6894 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.7737, allocations: 15.98 kB / 0.6894 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.7766, allocations: 2.982 MB / 0.6923 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.7767, allocations: 4.031 kB / 0.6923 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.7785, allocations: 1.005 MB / 0.6933 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.7789, allocations: 200.7 kB / 0.6935 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.7791, allocations: 16 kB / 0.6935 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.7795, allocations: 12 kB / 0.6935 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.7796, allocations: 39.83 kB / 0.6935 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.7797, allocations: 23.98 kB / 0.6936 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007098/0.7804, allocations: 419 kB / 0.694 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7804, allocations: 0 / 0.694 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001013/0.7814, allocations: 211.8 kB / 0.6942 GB, free: 12.64 MB / 0.5137 GB 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.0005109/0.7819, allocations: 212.5 kB / 0.6944 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.7834, allocations: 0.5923 MB / 0.6949 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7834, allocations: 0 / 0.6949 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.7847, allocations: 475.6 kB / 0.6954 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.7866, allocations: 377.3 kB / 0.6957 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.7893, allocations: 1.421 MB / 0.6971 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.7899, allocations: 0.9462 MB / 0.6981 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007203/0.7907, allocations: 205.3 kB / 0.6983 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.7909, allocations: 55.44 kB / 0.6983 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of SimCode: time 6.02e-07/0.7909, allocations: 0 / 0.6983 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of Templates: time 0.03185/0.8227, allocations: 15.42 MB / 0.7134 GB, free: 9.098 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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: 6.295664377510548]