Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.001531/0.001531, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.00174/0.00174, allocations: 219.5 kB / 24.49 MB, free: 3.93 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2296/0.2296, allocations: 46.96 MB / 361.6 MB, free: 4.121 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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.1.|volume.medium.T|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.1.|volume.medium.T|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.89 kB / 0.4974 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02935/0.3523, allocations: 22.82 MB / 0.5841 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006987/0.3593, allocations: 4.056 MB / 0.5881 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006601/0.36, allocations: 31.69 kB / 0.5881 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008944/0.3609, allocations: 294.1 kB / 0.5884 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.3651, allocations: 1.657 MB / 0.59 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.3686, allocations: 1.358 MB / 0.5913 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.3714, allocations: 1.879 MB / 0.5932 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007222/0.3721, allocations: 421.5 kB / 0.5936 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005797/0.3779, allocations: 3.121 MB / 0.5966 GB, free: 452 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.3803, allocations: 1.36 MB / 0.598 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.3805, allocations: 64 kB / 0.598 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.3831, allocations: 1.239 MB / 0.5992 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.3834, allocations: 267.2 kB / 0.5995 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004859/0.3839, allocations: 338.5 kB / 0.5998 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.3861, allocations: 1.37 MB / 0.6011 GB, free: 11.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3861, allocations: 4 kB / 0.6012 GB, free: 11.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3861, allocations: 0 / 0.6012 GB, free: 11.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3862, allocations: 0 / 0.6012 GB, free: 11.8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002171/0.3883, allocations: 1.072 MB / 0.6022 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3884, allocations: 8.031 kB / 0.6022 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/0.3894, allocations: 148.4 kB / 0.6023 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009936/0.3904, allocations: 486.7 kB / 0.6028 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.3905, allocations: 156.1 kB / 0.603 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/0.3906, allocations: 51.98 kB / 0.603 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.3922, allocations: 1.158 MB / 0.6041 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.3923, allocations: 11.95 kB / 0.6042 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/0.3923, allocations: 20 kB / 0.6042 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.3924, allocations: 40.92 kB / 0.6042 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.3936, allocations: 0.6009 MB / 0.6048 GB, free: 7.824 MB / 446.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.004731/0.3983, allocations: 3.489 MB / 0.6082 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.399, allocations: 306.7 kB / 0.6085 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.3992, allocations: 148.7 kB / 0.6086 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.3993, allocations: 27.97 kB / 0.6087 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.3994, allocations: 42.5 kB / 0.6087 GB, free: 3.672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.3994, allocations: 0 / 0.6087 GB, free: 3.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.003991/0.4034, allocations: 1.377 MB / 0.6101 GB, free: 2.254 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.4035, allocations: 132.5 kB / 0.6102 GB, free: 2.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009339/0.4044, allocations: 0.5807 MB / 0.6107 GB, free: 1.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.4044, allocations: 33.7 kB / 0.6108 GB, free: 1.461 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.4048, allocations: 404 kB / 0.6112 GB, free: 1.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.405, allocations: 138.9 kB / 0.6113 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.4053, allocations: 154.5 kB / 0.6114 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.4055, allocations: 366.8 kB / 0.6118 GB, free: 412 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.4061, allocations: 201.9 kB / 0.612 GB, free: 208 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.4071, allocations: 0.5812 MB / 0.6126 GB, free: 15.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.4084, allocations: 0.7054 MB / 0.6132 GB, free: 14.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4084, allocations: 4 kB / 0.6132 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00172/0.4101, allocations: 0.8837 MB / 0.6141 GB, free: 13.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4101, allocations: 8 kB / 0.6141 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4101, allocations: 12 kB / 0.6141 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.4114, allocations: 284.9 kB / 0.6144 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.4118, allocations: 119.8 kB / 0.6145 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.4131, allocations: 1.393 MB / 0.6159 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.4136, allocations: 40.05 kB / 0.6159 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/0.4136, allocations: 40 kB / 0.616 GB, free: 11.79 MB / 462.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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.414, allocations: 241.5 kB / 0.6162 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4141, allocations: 67.61 kB / 0.6162 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.4157, allocations: 0.7039 MB / 0.6169 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4157, allocations: 0 / 0.6169 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4157, allocations: 0 / 0.6169 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.416, allocations: 111.5 kB / 0.617 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.957e-05/0.4161, allocations: 8 kB / 0.617 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.4163, allocations: 15.98 kB / 0.6171 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.4164, allocations: 27.7 kB / 0.6171 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00139/0.4178, allocations: 0.5956 MB / 0.6177 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001105/0.4189, allocations: 0.7613 MB / 0.6184 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002806/0.4192, allocations: 163.9 kB / 0.6186 GB, free: 9.039 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004783/0.4197, allocations: 374.8 kB / 0.6189 GB, free: 8.676 MB / 462.1 MB Notification: Performance of Backend: time 2.91e-07/0.4197, allocations: 0 / 0.6189 GB, free: 8.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.4216, allocations: 0.724 MB / 0.6196 GB, free: 7.949 MB / 462.1 MB Notification: Performance of SimCode: time 0.002857/0.4244, allocations: 1.904 MB / 0.6215 GB, free: 6.008 MB / 462.1 MB Notification: Performance of Templates: time 0.02868/0.4531, allocations: 16.4 MB / 0.6375 GB, free: 5.875 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.479867761023343]