Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 111.3 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 192.8 kB / 22.98 MB, free: 5.074 MB / 14.72 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.594/1.594, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 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.2466/0.2466, allocations: 44.24 MB / 330.2 MB, free: 9.551 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 71.89 kB / 468 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2181, allocations: 61.03 MB / 0.5166 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3844/0.6025, allocations: 44.46 MB / 0.56 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008141/0.6106, allocations: 4.403 MB / 0.5643 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.6121, allocations: 31.41 kB / 0.5643 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.6136, allocations: 333.4 kB / 0.5647 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.6168, allocations: 0.8823 MB / 0.5655 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.6198, allocations: 0.9265 MB / 0.5664 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003216/0.623, allocations: 1.809 MB / 0.5682 GB, free: 416 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007938/0.6238, allocations: 399 kB / 0.5686 GB, free: 248 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1102/0.734, allocations: 44.2 MB / 0.6117 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01887/0.7529, allocations: 7.932 MB / 0.6195 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002614/0.7531, allocations: 60 kB / 0.6195 GB, free: 9.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02535/0.7785, allocations: 10.6 MB / 0.6299 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007222/0.7792, allocations: 267.2 kB / 0.6301 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007866/0.78, allocations: 386.2 kB / 0.6305 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.7823, allocations: 1.094 MB / 0.6316 GB, free: 12.69 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7823, allocations: 0 / 0.6316 GB, free: 12.69 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7823, allocations: 0 / 0.6316 GB, free: 12.69 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.7823, allocations: 0 / 0.6316 GB, free: 12.69 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.002638/0.7849, allocations: 0.999 MB / 0.6326 GB, free: 11.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.785, allocations: 8.031 kB / 0.6326 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.7854, allocations: 92.45 kB / 0.6327 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/0.7863, allocations: 482.7 kB / 0.6331 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.7864, allocations: 96.97 kB / 0.6332 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.7865, allocations: 56.36 kB / 0.6333 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.788, allocations: 0.8174 MB / 0.6341 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.788, allocations: 7.875 kB / 0.6341 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.7881, allocations: 28.94 kB / 0.6341 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.7882, allocations: 44.97 kB / 0.6341 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.7895, allocations: 0.6439 MB / 0.6348 GB, free: 9.285 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.006134/0.7956, allocations: 4.178 MB / 0.6388 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.7966, allocations: 399.7 kB / 0.6392 GB, free: 4.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.797, allocations: 197.4 kB / 0.6394 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.7973, allocations: 56.27 kB / 0.6395 GB, free: 4.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.7973, allocations: 42.89 kB / 0.6395 GB, free: 4.129 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.7973, allocations: 0 / 0.6395 GB, free: 4.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.004082/0.8014, allocations: 1.45 MB / 0.6409 GB, free: 2.637 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.8016, allocations: 140.5 kB / 0.6411 GB, free: 2.469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009521/0.8026, allocations: 0.5694 MB / 0.6416 GB, free: 1.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.8026, allocations: 33.7 kB / 0.6416 GB, free: 1.848 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.803, allocations: 363.9 kB / 0.642 GB, free: 1.488 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.8032, allocations: 174.5 kB / 0.6422 GB, free: 1.316 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.8034, allocations: 138.6 kB / 0.6423 GB, free: 1.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.8036, allocations: 382.7 kB / 0.6427 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.804, allocations: 217.9 kB / 0.6429 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007937/0.8048, allocations: 0.5318 MB / 0.6434 GB, free: 15.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.8061, allocations: 0.7679 MB / 0.6441 GB, free: 15.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.8061, allocations: 7.938 kB / 0.6441 GB, free: 15 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002178/0.8083, allocations: 0.9341 MB / 0.6451 GB, free: 14.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.8084, allocations: 15.98 kB / 0.6451 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.8084, allocations: 12 kB / 0.6451 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.8095, allocations: 261.1 kB / 0.6453 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.81, allocations: 123.8 kB / 0.6455 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.8112, allocations: 0.8645 MB / 0.6463 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.8117, allocations: 27.81 kB / 0.6463 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.8118, allocations: 43.98 kB / 0.6464 GB, free: 12.7 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.0003934/0.8122, allocations: 237.5 kB / 0.6466 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.8123, allocations: 67.58 kB / 0.6467 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.8138, allocations: 0.7214 MB / 0.6474 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.8138, allocations: 8 kB / 0.6474 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.8138, allocations: 0 / 0.6474 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.8138, allocations: 3.984 kB / 0.6474 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.8164, allocations: 1.375 MB / 0.6487 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.8164, allocations: 7.922 kB / 0.6487 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.8175, allocations: 192 kB / 0.6489 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/0.8178, allocations: 52.8 kB / 0.649 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.8178, allocations: 25 kB / 0.649 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002857/0.8207, allocations: 2.777 MB / 0.6517 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8207, allocations: 4.062 kB / 0.6517 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.8224, allocations: 1.013 MB / 0.6527 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.8228, allocations: 131.4 kB / 0.6528 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-05/0.8228, allocations: 8.812 kB / 0.6528 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.8232, allocations: 19.98 kB / 0.6528 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.8233, allocations: 39.81 kB / 0.6529 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.8234, allocations: 24.05 kB / 0.6529 GB, free: 5.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006401/0.824, allocations: 427 kB / 0.6533 GB, free: 5.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.824, allocations: 0 / 0.6533 GB, free: 5.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008531/0.8249, allocations: 207.9 kB / 0.6535 GB, free: 5.027 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.0005315/0.8254, allocations: 224.4 kB / 0.6537 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.8266, allocations: 0.5854 MB / 0.6543 GB, free: 4.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8266, allocations: 0 / 0.6543 GB, free: 4.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.8278, allocations: 478 kB / 0.6547 GB, free: 3.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.8294, allocations: 368.9 kB / 0.6551 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.8318, allocations: 1.432 MB / 0.6565 GB, free: 1.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/0.8325, allocations: 0.9306 MB / 0.6574 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006547/0.8331, allocations: 210.5 kB / 0.6576 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.8333, allocations: 67.42 kB / 0.6577 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.8333, allocations: 0 / 0.6577 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of Templates: time 0.02838/0.8617, allocations: 15.87 MB / 0.6732 GB, free: 0.8594 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.513522133231163]