Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009008/0.0009007, allocations: 96.36 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 171.5 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.315/0.315, allocations: 43.55 MB / 314.5 MB, free: 9.039 MB / 254.1 MB 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.0004935/0.0004936, allocations: 12 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 58.85 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.0108/0.1266, allocations: 10.76 MB / 453.5 MB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2192/0.3458, allocations: 4.742 MB / 458.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006694/0.3466, allocations: 16.66 kB / 458.3 MB, free: 36.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.3472, allocations: 171.8 kB / 458.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.3486, allocations: 0.5669 MB / 459 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.3516, allocations: 1.193 MB / 460.2 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009927/0.3526, allocations: 0.6827 MB / 460.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.353, allocations: 260.5 kB / 461.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006151/0.3536, allocations: 413.2 kB / 461.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.354, allocations: 303.4 kB / 461.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.3541, allocations: 19.78 kB / 461.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.3557, allocations: 0.9577 MB / 462.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.3559, allocations: 133.2 kB / 462.9 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.356, allocations: 118.3 kB / 463 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009855/0.357, allocations: 0.9167 MB / 464 MB, free: 36.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.357, allocations: 0 / 464 MB, free: 36.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.357, allocations: 0 / 464 MB, free: 36.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.357, allocations: 0 / 464 MB, free: 36.46 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.001314/0.3583, allocations: 0.8497 MB / 464.8 MB, free: 35.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3584, allocations: 11.73 kB / 464.8 MB, free: 35.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.3586, allocations: 58.73 kB / 464.9 MB, free: 35.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.3591, allocations: 422 kB / 465.3 MB, free: 35.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.3592, allocations: 34.53 kB / 465.3 MB, free: 35.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.3592, allocations: 26.72 kB / 465.4 MB, free: 35.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/0.3599, allocations: 0.514 MB / 465.9 MB, free: 35.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3599, allocations: 0 / 465.9 MB, free: 35.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.36, allocations: 19.41 kB / 465.9 MB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/0.3601, allocations: 30.39 kB / 465.9 MB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.3607, allocations: 468.8 kB / 466.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.3633, allocations: 2.283 MB / 468.7 MB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.3637, allocations: 239.5 kB / 468.9 MB, free: 34.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008953/0.3646, allocations: 1.024 MB / 469.9 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.3648, allocations: 225.5 kB / 470.1 MB, free: 33.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.654e-06/0.3649, allocations: 3.75 kB / 470.1 MB, free: 33.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005782/0.3654, allocations: 464.7 kB / 470.6 MB, free: 33.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.3655, allocations: 239.7 kB / 470.8 MB, free: 32.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.366, allocations: 0.5125 MB / 471.3 MB, free: 32.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.366, allocations: 32.58 kB / 471.4 MB, free: 32.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3662, allocations: 291 kB / 471.7 MB, free: 32.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.3662, allocations: 55.55 kB / 471.7 MB, free: 32.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.3663, allocations: 6.312 kB / 471.7 MB, free: 32.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.3664, allocations: 369.1 kB / 472.1 MB, free: 32.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.3665, allocations: 122.3 kB / 472.2 MB, free: 32.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.3668, allocations: 310.5 kB / 472.5 MB, free: 31.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.367, allocations: 210.8 kB / 472.7 MB, free: 31.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.367, allocations: 2.516 kB / 472.7 MB, free: 31.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006289/0.3677, allocations: 0.5185 MB / 473.2 MB, free: 31.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003081/0.368, allocations: 1.774 MB / 475 MB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.368, allocations: 5.812 kB / 475 MB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.368, allocations: 6.094 kB / 475 MB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.3683, allocations: 84.03 kB / 475.1 MB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3683, allocations: 6.219 kB / 475.1 MB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.3687, allocations: 58.33 kB / 475.2 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.3687, allocations: 18.59 kB / 475.2 MB, free: 29.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.3688, allocations: 7.031 kB / 475.2 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005628/0.3693, allocations: 480.5 kB / 475.7 MB, free: 29.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3693, allocations: 10.59 kB / 475.7 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.3694, allocations: 6.375 kB / 475.7 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3696, allocations: 74.78 kB / 475.7 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3696, allocations: 13.16 kB / 475.8 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.3699, allocations: 55.58 kB / 475.8 MB, free: 29.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.37, allocations: 14.94 kB / 475.8 MB, free: 29.68 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 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.3702, allocations: 303.5 kB / 476.1 MB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.3702, allocations: 55.72 kB / 476.2 MB, free: 29.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.3707, allocations: 370.6 kB / 476.5 MB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3708, allocations: 4.562 kB / 476.5 MB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3708, allocations: 0 / 476.5 MB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3708, allocations: 0 / 476.5 MB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.3711, allocations: 416.8 kB / 476.9 MB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3711, allocations: 0 / 476.9 MB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3712, allocations: 25.8 kB / 477 MB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3712, allocations: 3.812 kB / 477 MB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3713, allocations: 6.906 kB / 477 MB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3713, allocations: 3.422 kB / 477 MB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3713, allocations: 3.984 kB / 477 MB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.3717, allocations: 368.4 kB / 477.4 MB, free: 29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.3718, allocations: 132.2 kB / 477.5 MB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.3719, allocations: 6.938 kB / 477.5 MB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.3721, allocations: 23.47 kB / 477.5 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.3722, allocations: 12.05 kB / 477.5 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3722, allocations: 13.12 kB / 477.5 MB, free: 28.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003377/0.3725, allocations: 367.2 kB / 477.9 MB, free: 28.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3725, allocations: 3.438 kB / 477.9 MB, free: 28.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00106/0.3736, allocations: 420.6 kB / 478.3 MB, free: 28.73 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 (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.0008085/0.3744, allocations: 406.2 kB / 478.7 MB, free: 28.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007549/0.3752, allocations: 0.6625 MB / 479.4 MB, free: 28.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3752, allocations: 0 / 479.4 MB, free: 28.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3754, allocations: 183.1 kB / 479.5 MB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/0.3762, allocations: 199.7 kB / 479.7 MB, free: 28.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3773, allocations: 0.9627 MB / 480.7 MB, free: 27.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3775, allocations: 0.8532 MB / 481.6 MB, free: 27.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004835/0.378, allocations: 167.1 kB / 481.7 MB, free: 27.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.3781, allocations: 46.42 kB / 481.8 MB, free: 27.15 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3781, allocations: 0 / 481.8 MB, free: 27.15 MB / 382.1 MB Notification: Performance of Templates: time 0.02072/0.3989, allocations: 11.34 MB / 493.1 MB, free: 26.29 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches