Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001855/0.001855, allocations: 113.9 kB / 19.13 MB, free: 3.922 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.002239/0.002239, allocations: 208.9 kB / 22.08 MB, free: 0.9727 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.475/1.475, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.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.2295/0.2295, allocations: 46.16 MB / 351.8 MB, free: 14.3 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 81.44 kB / 490.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1155, allocations: 62.45 MB / 0.5404 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0551/0.1707, allocations: 44.1 MB / 0.5834 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006996/0.1777, allocations: 4.374 MB / 0.5877 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000732/0.1785, allocations: 23.88 kB / 0.5877 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.1796, allocations: 318 kB / 0.588 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.182, allocations: 0.8472 MB / 0.5888 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.1847, allocations: 0.9066 MB / 0.5897 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002657/0.1874, allocations: 1.793 MB / 0.5915 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009764/0.1884, allocations: 461.3 kB / 0.5919 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3966/0.585, allocations: 44.56 MB / 0.6354 GB, free: 6.781 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0164/0.6014, allocations: 7.97 MB / 0.6432 GB, free: 4.348 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.6017, allocations: 57.91 kB / 0.6433 GB, free: 4.348 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02252/0.6242, allocations: 10.68 MB / 0.6537 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005951/0.6249, allocations: 260.6 kB / 0.654 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.6256, allocations: 394.2 kB / 0.6543 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.6274, allocations: 1.09 MB / 0.6554 GB, free: 14.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6274, allocations: 0 / 0.6554 GB, free: 14.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6274, allocations: 3.531 kB / 0.6554 GB, free: 14.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.6275, allocations: 0 / 0.6554 GB, free: 14.96 MB / 478.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.002269/0.6297, allocations: 1.072 MB / 0.6565 GB, free: 14.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.6298, allocations: 11.53 kB / 0.6565 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/0.6301, allocations: 86.09 kB / 0.6565 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.631, allocations: 0.5465 MB / 0.6571 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.6311, allocations: 101 kB / 0.6572 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/0.6312, allocations: 52 kB / 0.6572 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.6326, allocations: 0.826 MB / 0.658 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.6326, allocations: 0 / 0.658 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.6327, allocations: 21.72 kB / 0.6581 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/0.6327, allocations: 40.73 kB / 0.6581 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.6339, allocations: 0.6422 MB / 0.6587 GB, free: 12.06 MB / 478.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.005691/0.6396, allocations: 4.22 MB / 0.6628 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009333/0.6406, allocations: 425.3 kB / 0.6632 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.6411, allocations: 208 kB / 0.6634 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/0.6416, allocations: 0.4975 MB / 0.6639 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.6417, allocations: 46.34 kB / 0.664 GB, free: 6.344 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.6417, allocations: 0 / 0.664 GB, free: 6.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003478/0.6452, allocations: 1.539 MB / 0.6655 GB, free: 4.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.6453, allocations: 136.5 kB / 0.6656 GB, free: 4.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007694/0.6461, allocations: 0.5719 MB / 0.6662 GB, free: 4.012 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.6461, allocations: 41.7 kB / 0.6662 GB, free: 3.965 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.6465, allocations: 357.4 kB / 0.6665 GB, free: 3.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.6467, allocations: 167.2 kB / 0.6667 GB, free: 3.449 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.6469, allocations: 146.6 kB / 0.6668 GB, free: 3.301 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.6471, allocations: 378.7 kB / 0.6672 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.6475, allocations: 221.9 kB / 0.6674 GB, free: 2.707 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.6482, allocations: 0.5184 MB / 0.6679 GB, free: 2.062 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.6494, allocations: 0.7836 MB / 0.6687 GB, free: 1.191 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6494, allocations: 0 / 0.6687 GB, free: 1.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001924/0.6513, allocations: 0.9362 MB / 0.6696 GB, free: 308 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.6514, allocations: 12 kB / 0.6696 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.6514, allocations: 17.23 kB / 0.6696 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.6525, allocations: 264.2 kB / 0.6699 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.653, allocations: 126.2 kB / 0.67 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.6541, allocations: 0.8643 MB / 0.6708 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.6545, allocations: 24 kB / 0.6709 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.6546, allocations: 39.98 kB / 0.6709 GB, free: 14.96 MB / 494.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.0003876/0.655, allocations: 246.7 kB / 0.6711 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6551, allocations: 71.58 kB / 0.6712 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.6567, allocations: 0.7103 MB / 0.6719 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.6567, allocations: 4 kB / 0.6719 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.6567, allocations: 0 / 0.6719 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.6567, allocations: 11.94 kB / 0.6719 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.659, allocations: 1.407 MB / 0.6733 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.659, allocations: 5.25 kB / 0.6733 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.66, allocations: 194.6 kB / 0.6735 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.6603, allocations: 52.92 kB / 0.6735 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.6603, allocations: 19.98 kB / 0.6736 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.6633, allocations: 2.978 MB / 0.6765 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6633, allocations: 3.375 kB / 0.6765 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.665, allocations: 1.005 MB / 0.6774 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.6653, allocations: 200.6 kB / 0.6776 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.6654, allocations: 12 kB / 0.6777 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.6658, allocations: 16.06 kB / 0.6777 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.6659, allocations: 39.89 kB / 0.6777 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.666, allocations: 27.36 kB / 0.6777 GB, free: 7.633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000568/0.6665, allocations: 419 kB / 0.6781 GB, free: 7.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6666, allocations: 0 / 0.6781 GB, free: 7.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008145/0.6674, allocations: 211.7 kB / 0.6783 GB, free: 7.016 MB / 494.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.0005453/0.6679, allocations: 226.3 kB / 0.6785 GB, free: 6.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.6692, allocations: 0.607 MB / 0.6791 GB, free: 6.234 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6692, allocations: 2.656 kB / 0.6791 GB, free: 6.234 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.6704, allocations: 472.8 kB / 0.6796 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.6721, allocations: 387.1 kB / 0.68 GB, free: 5.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.6746, allocations: 1.466 MB / 0.6814 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.6752, allocations: 0.9346 MB / 0.6823 GB, free: 2.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.6755, allocations: 67.42 kB / 0.6824 GB, free: 2.922 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6755, allocations: 0 / 0.6824 GB, free: 2.922 MB / 494.1 MB Notification: Performance of Templates: time 0.02372/0.6992, allocations: 15.64 MB / 0.6976 GB, free: 3.418 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 10.559695061994717]