Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007569/0.000757, allocations: 96.19 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1927/0.1927, allocations: 45.14 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.879e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.126/7.235, allocations: 3.432 GB / 3.936 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/7.235, allocations: 82.33 kB / 3.937 GB, free: 56.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.422/8.657, allocations: 456.4 MB / 4.382 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.512e-06/8.657, allocations: 4 kB / 4.382 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.853e-05/8.658, allocations: 23.98 kB / 4.382 GB, free: 16.55 MB / 0.5261 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.006372/8.664, allocations: 1.874 MB / 4.384 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/8.664, allocations: 12.03 kB / 4.384 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007525/8.665, allocations: 118.4 kB / 4.384 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/8.667, allocations: 0.746 MB / 4.385 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/8.667, allocations: 28 kB / 4.385 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/8.667, allocations: 40 kB / 4.385 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001863/8.669, allocations: 1.199 MB / 4.386 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/8.67, allocations: 1.101 MB / 4.387 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/8.67, allocations: 7.891 kB / 4.387 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/8.671, allocations: 0 / 4.387 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.273e-05/8.671, allocations: 73.95 kB / 4.387 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007048/8.678, allocations: 4.671 MB / 4.392 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/8.679, allocations: 0.7624 MB / 4.393 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/8.679, allocations: 358 kB / 4.393 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/8.68, allocations: 0.7796 MB / 4.394 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/8.68, allocations: 39 kB / 4.394 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.685e-06/8.68, allocations: 4 kB / 4.394 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002159/8.682, allocations: 0.8542 MB / 4.395 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/8.682, allocations: 111.2 kB / 4.395 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/8.683, allocations: 0.6126 MB / 4.395 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.182e-05/8.683, allocations: 25.7 kB / 4.395 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/8.683, allocations: 466.3 kB / 4.396 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/8.683, allocations: 181.4 kB / 4.396 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/8.683, allocations: 0 / 4.396 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001061/8.684, allocations: 378.7 kB / 4.396 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/8.684, allocations: 418.4 kB / 4.397 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/8.685, allocations: 0.5334 MB / 4.397 GB, free: 456 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/8.688, allocations: 0.9566 MB / 4.398 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/8.688, allocations: 0 / 4.398 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004548/8.693, allocations: 1.576 MB / 4.4 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004129/8.693, allocations: 0.9593 MB / 4.401 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/8.693, allocations: 8 kB / 4.401 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/8.693, allocations: 4 kB / 4.401 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/8.694, allocations: 203.7 kB / 4.401 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/8.694, allocations: 8 kB / 4.401 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009807/8.695, allocations: 99.02 kB / 4.401 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/8.695, allocations: 51.97 kB / 4.401 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/8.695, allocations: 0 / 4.401 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004011/8.699, allocations: 1.396 MB / 4.402 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/8.699, allocations: 0 / 4.402 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/8.699, allocations: 15.94 kB / 4.402 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/8.7, allocations: 195.7 kB / 4.403 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/8.7, allocations: 8 kB / 4.403 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/8.701, allocations: 71.55 kB / 4.403 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/8.701, allocations: 43.97 kB / 4.403 GB, free: 10.78 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002704/8.701, allocations: 120.8 kB / 4.403 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/8.701, allocations: 83 kB / 4.403 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/8.704, allocations: 1.1 MB / 4.404 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/8.704, allocations: 7.953 kB / 4.404 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/8.704, allocations: 4 kB / 4.404 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/8.704, allocations: 3.984 kB / 4.404 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/8.707, allocations: 1.703 MB / 4.406 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/8.707, allocations: 0 / 4.406 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/8.708, allocations: 116.1 kB / 4.406 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/8.708, allocations: 8 kB / 4.406 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/8.708, allocations: 11.98 kB / 4.406 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/8.708, allocations: 4 kB / 4.406 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/8.708, allocations: 7.938 kB / 4.406 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/8.71, allocations: 0.967 MB / 4.407 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/8.71, allocations: 208 kB / 4.407 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/8.71, allocations: 4 kB / 4.407 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007155/8.711, allocations: 43.89 kB / 4.407 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/8.711, allocations: 52.25 kB / 4.407 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-05/8.711, allocations: 31.98 kB / 4.407 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007118/8.712, allocations: 0.5226 MB / 4.408 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/8.712, allocations: 4 kB / 4.408 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003805/8.716, allocations: 1.302 MB / 4.409 GB, free: 4.273 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005113/8.721, allocations: 2.041 MB / 4.411 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002289/8.723, allocations: 1.378 MB / 4.412 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/8.723, allocations: 1.25 kB / 4.412 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004689/8.724, allocations: 329.4 kB / 4.412 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/8.725, allocations: 327.2 kB / 4.413 GB, free: 216 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2835/9.009, allocations: 1.162 MB / 4.414 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/9.009, allocations: 1.073 MB / 4.415 GB, free: 78.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001689/9.011, allocations: 0.5877 MB / 4.416 GB, free: 78.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/9.011, allocations: 82.73 kB / 4.416 GB, free: 78.32 MB / 0.5417 GB Notification: Performance of SimCode: time 7.91e-07/9.011, allocations: 0 / 4.416 GB, free: 78.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.04249/9.054, allocations: 32.48 MB / 4.447 GB, free: 77.52 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches