Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001739/0.001739, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002257/0.002257, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.316/2.316, allocations: 227.3 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3583/0.3583, allocations: 46.1 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 75.72 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2038, allocations: 62.43 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.02063/0.2245, allocations: 12.96 MB / 492.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.2364, allocations: 5.742 MB / 498.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008366/0.2373, allocations: 19.88 kB / 498.7 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009051/0.2383, allocations: 171 kB / 498.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.2407, allocations: 0.6535 MB / 499.5 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005128/0.2458, allocations: 1.295 MB / 0.489 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002568/0.2484, allocations: 1.731 MB / 0.4907 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000657/0.2491, allocations: 269.5 kB / 0.491 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.2503, allocations: 450.2 kB / 0.4914 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009728/0.2512, allocations: 458.4 kB / 0.4918 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.2514, allocations: 20 kB / 0.4919 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.2546, allocations: 1.061 MB / 0.4929 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002893/0.2549, allocations: 155.5 kB / 0.4931 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.2554, allocations: 254.7 kB / 0.4933 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.2575, allocations: 0.9278 MB / 0.4942 GB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2576, allocations: 0 / 0.4942 GB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2576, allocations: 0 / 0.4942 GB, free: 11.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.2576, allocations: 4 kB / 0.4942 GB, free: 11.51 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002513/0.2601, allocations: 0.9482 MB / 0.4951 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.2602, allocations: 16.03 kB / 0.4951 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.2606, allocations: 60.36 kB / 0.4952 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008451/0.2614, allocations: 437.5 kB / 0.4956 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.2615, allocations: 28.55 kB / 0.4956 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.2616, allocations: 24 kB / 0.4957 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.2628, allocations: 0.5263 MB / 0.4962 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2628, allocations: 3.938 kB / 0.4962 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.2629, allocations: 15.98 kB / 0.4962 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.125e-05/0.2629, allocations: 28.55 kB / 0.4962 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.264, allocations: 469.9 kB / 0.4967 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.2685, allocations: 2.249 MB / 0.4989 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.2692, allocations: 250.5 kB / 0.4991 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.2695, allocations: 128.8 kB / 0.4992 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/0.2712, allocations: 1.018 MB / 0.5002 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.2718, allocations: 224.4 kB / 0.5004 GB, free: 4.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 3.366e-06/0.2718, allocations: 0 / 0.5004 GB, free: 4.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001069/0.2729, allocations: 384.8 kB / 0.5008 GB, free: 4.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.2731, allocations: 247.2 kB / 0.501 GB, free: 4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009855/0.2741, allocations: 0.5136 MB / 0.5015 GB, free: 3.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.2741, allocations: 29.7 kB / 0.5016 GB, free: 3.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.2745, allocations: 299 kB / 0.5019 GB, free: 3.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.376e-05/0.2746, allocations: 55.3 kB / 0.5019 GB, free: 3.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.2748, allocations: 93.58 kB / 0.502 GB, free: 2.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.275, allocations: 358.8 kB / 0.5023 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.2754, allocations: 137.2 kB / 0.5025 GB, free: 2.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/0.276, allocations: 317.9 kB / 0.5028 GB, free: 2.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008154/0.2768, allocations: 451.8 kB / 0.5032 GB, free: 1.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.2768, allocations: 8 kB / 0.5032 GB, free: 1.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001316/0.2782, allocations: 0.531 MB / 0.5037 GB, free: 1.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.2782, allocations: 38.28 kB / 0.5038 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.2783, allocations: 8 kB / 0.5038 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.2783, allocations: 8 kB / 0.5038 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.2788, allocations: 79.84 kB / 0.5039 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.2788, allocations: 11.98 kB / 0.5039 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.2795, allocations: 59.42 kB / 0.5039 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.2796, allocations: 16 kB / 0.5039 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005663/0.2802, allocations: 268.5 kB / 0.5042 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005273/0.2807, allocations: 319 kB / 0.5045 GB, free: 168 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3945/0.6753, allocations: 451.9 kB / 0.5049 GB, free: 42.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.206e-06/0.6753, allocations: 0.8438 kB / 0.5049 GB, free: 42.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001482/0.6768, allocations: 0.5249 MB / 0.5055 GB, free: 42.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.6769, allocations: 37.23 kB / 0.5055 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6769, allocations: 5.219 kB / 0.5055 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6769, allocations: 6.219 kB / 0.5055 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.6774, allocations: 77.95 kB / 0.5056 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.6775, allocations: 11.83 kB / 0.5056 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/0.6782, allocations: 48.2 kB / 0.5056 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.6783, allocations: 21.12 kB / 0.5057 GB, free: 42.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.0002771/0.6786, allocations: 248.3 kB / 0.5059 GB, free: 42.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.6787, allocations: 53.88 kB / 0.5059 GB, free: 42.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.6797, allocations: 357.1 kB / 0.5063 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6797, allocations: 2.594 kB / 0.5063 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.6798, allocations: 1.875 kB / 0.5063 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.6798, allocations: 0.6094 kB / 0.5063 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007756/0.6806, allocations: 420.6 kB / 0.5067 GB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6806, allocations: 1.891 kB / 0.5067 GB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.6808, allocations: 26.56 kB / 0.5067 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.6808, allocations: 4 kB / 0.5067 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.6808, allocations: 7.312 kB / 0.5067 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6808, allocations: 1.672 kB / 0.5067 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.6809, allocations: 4.562 kB / 0.5067 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.6817, allocations: 360.3 kB / 0.5071 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.6819, allocations: 126.1 kB / 0.5072 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.682, allocations: 12.23 kB / 0.5072 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.6824, allocations: 19.06 kB / 0.5072 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.6825, allocations: 12.72 kB / 0.5072 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.6825, allocations: 7.922 kB / 0.5072 GB, free: 41.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007383/0.6833, allocations: 378.7 kB / 0.5076 GB, free: 41.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6833, allocations: 1.219 kB / 0.5076 GB, free: 41.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001904/0.6852, allocations: 433.7 kB / 0.508 GB, free: 41.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001446/0.6867, allocations: 422.8 kB / 0.5084 GB, free: 41.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.6883, allocations: 0.6678 MB / 0.5091 GB, free: 41.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6883, allocations: 1.375 kB / 0.5091 GB, free: 41.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.6886, allocations: 185.8 kB / 0.5093 GB, free: 41.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.6901, allocations: 202.4 kB / 0.5094 GB, free: 41.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.6922, allocations: 0.9865 MB / 0.5104 GB, free: 40.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.6927, allocations: 0.843 MB / 0.5112 GB, free: 39.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.6929, allocations: 45.89 kB / 0.5113 GB, free: 39.76 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6929, allocations: 0 / 0.5113 GB, free: 39.76 MB / 382.1 MB Notification: Performance of Templates: time 0.0362/0.7291, allocations: 10.18 MB / 0.5212 GB, free: 36.78 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches