Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.001268/0.001268, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001605/0.001605, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.46/1.46, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2222/0.2222, allocations: 46.89 MB / 361.1 MB, free: 4.652 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-beta.om/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.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 84.14 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3344, allocations: 65.98 MB / 0.5612 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5622/0.8967, allocations: 217.2 MB / 0.7734 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008838/0.9055, allocations: 8.571 MB / 0.7817 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008497/0.9064, allocations: 26.12 kB / 0.7818 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.9074, allocations: 0.4897 MB / 0.7822 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005785/0.9132, allocations: 2.869 MB / 0.785 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008522/0.9217, allocations: 4.258 MB / 0.7892 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.9244, allocations: 2.654 MB / 0.7918 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008112/0.9252, allocations: 0.6297 MB / 0.7924 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.9269, allocations: 1.05 MB / 0.7934 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.9285, allocations: 1.225 MB / 0.7946 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.9287, allocations: 114.4 kB / 0.7947 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.9411, allocations: 7.937 MB / 0.8025 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006804/0.9418, allocations: 484.2 kB / 0.8029 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008698/0.9427, allocations: 0.6061 MB / 0.8035 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.9532, allocations: 5.446 MB / 0.8089 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.9532, allocations: 3.938 kB / 0.8089 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9532, allocations: 3.125 kB / 0.8089 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.9532, allocations: 0.875 kB / 0.8089 GB, free: 14.98 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.005498/0.9587, allocations: 2.239 MB / 0.8111 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9588, allocations: 9.031 kB / 0.8111 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.9592, allocations: 126.8 kB / 0.8112 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.9605, allocations: 0.7441 MB / 0.8119 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.9605, allocations: 56.56 kB / 0.812 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.9606, allocations: 72.53 kB / 0.812 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.9626, allocations: 1.253 MB / 0.8133 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.9626, allocations: 5.062 kB / 0.8133 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.9627, allocations: 37.39 kB / 0.8133 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.696e-05/0.9628, allocations: 77.27 kB / 0.8134 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.9649, allocations: 1.389 MB / 0.8147 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00809/0.973, allocations: 4.889 MB / 0.8195 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.9747, allocations: 0.7971 MB / 0.8203 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.9753, allocations: 374.6 kB / 0.8206 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/0.976, allocations: 0.7888 MB / 0.8214 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.9761, allocations: 46.34 kB / 0.8214 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/0.9761, allocations: 0.7812 kB / 0.8214 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002371/0.9784, allocations: 1.217 MB / 0.8226 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.9785, allocations: 112.2 kB / 0.8227 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.9798, allocations: 0.9856 MB / 0.8237 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.9799, allocations: 38.77 kB / 0.8237 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.9803, allocations: 468.2 kB / 0.8242 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.9805, allocations: 195.6 kB / 0.8244 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.9808, allocations: 194.5 kB / 0.8246 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.981, allocations: 339 kB / 0.8249 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008589/0.9819, allocations: 484.7 kB / 0.8253 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.9829, allocations: 0.6007 MB / 0.8259 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.9846, allocations: 1.006 MB / 0.8269 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.9846, allocations: 5 kB / 0.8269 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002428/0.9871, allocations: 1.272 MB / 0.8282 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.9871, allocations: 4 kB / 0.8282 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.9871, allocations: 5.062 kB / 0.8282 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.9871, allocations: 11.94 kB / 0.8282 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/0.9881, allocations: 202.3 kB / 0.8284 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.9881, allocations: 4 kB / 0.8284 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/0.989, allocations: 120.1 kB / 0.8285 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.9891, allocations: 43.98 kB / 0.8285 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/0.9902, allocations: 0.6744 MB / 0.8292 GB, free: 100 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009753/0.9912, allocations: 0.5856 MB / 0.8298 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001647/0.9928, allocations: 0.9637 MB / 0.8307 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.9928, allocations: 0.875 kB / 0.8307 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002284/0.9951, allocations: 1.225 MB / 0.8319 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.9951, allocations: 10.5 kB / 0.8319 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9952, allocations: 5.062 kB / 0.8319 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.9952, allocations: 8 kB / 0.8319 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008998/0.9961, allocations: 209.4 kB / 0.8321 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.9961, allocations: 11.98 kB / 0.8321 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/0.9969, allocations: 72.31 kB / 0.8322 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.997, allocations: 43.98 kB / 0.8323 GB, free: 12.94 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.9973, allocations: 229.6 kB / 0.8325 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.9975, allocations: 107.3 kB / 0.8326 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.9997, allocations: 1.185 MB / 0.8337 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.9997, allocations: 3.984 kB / 0.8337 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9997, allocations: 4 kB / 0.8337 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/1, allocations: 184.3 kB / 0.8339 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/1, allocations: 8 kB / 0.8339 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/1.001, allocations: 31.97 kB / 0.834 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/1.001, allocations: 40.52 kB / 0.834 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00156/1.002, allocations: 0.8102 MB / 0.8348 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001565/1.004, allocations: 0.9559 MB / 0.8357 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005698/1.005, allocations: 324.3 kB / 0.836 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001066/1.006, allocations: 0.7531 MB / 0.8368 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of Backend: time 3.41e-07/1.006, allocations: 0 / 0.8368 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00821/1.014, allocations: 2.961 MB / 0.8397 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003919/1.018, allocations: 2.29 MB / 0.8419 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of Templates: time 0.08225/1.1, allocations: 55.02 MB / 0.8956 GB, free: 12.36 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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: 7.712432703003287]