Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.001786/0.001786, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002092/0.002092, allocations: 217.9 kB / 23.75 MB, free: 4.668 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.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.92 MB / 358.8 MB, free: 6.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003138/0.003138, allocations: 59.91 kB / 0.4931 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3433, allocations: 65.48 MB / 0.5571 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002993/0.3463, allocations: 1.827 MB / 0.5588 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3476, allocations: 0.85 MB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.3477, allocations: 8 kB / 0.5597 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.3479, allocations: 31.77 kB / 0.5597 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.3482, allocations: 79.64 kB / 0.5598 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.3484, allocations: 71.72 kB / 0.5598 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.3485, allocations: 135.4 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.3486, allocations: 9.812 kB / 0.56 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.3488, allocations: 79.69 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3489, allocations: 87.77 kB / 0.5601 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3489, allocations: 4 kB / 0.5602 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3491, allocations: 75.88 kB / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.3492, allocations: 27.84 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.3492, allocations: 43.73 kB / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.3495, allocations: 147.4 kB / 0.5604 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3495, allocations: 0 / 0.5604 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3495, allocations: 0 / 0.5604 GB, free: 4.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3495, allocations: 0 / 0.5604 GB, free: 4.254 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005719/0.3501, allocations: 333.9 kB / 0.5608 GB, free: 3.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3501, allocations: 11.97 kB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.3502, allocations: 42.73 kB / 0.5608 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/0.3505, allocations: 44.75 kB / 0.5608 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.3506, allocations: 130.5 kB / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3507, allocations: 4.375 kB / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3507, allocations: 11.94 kB / 0.561 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.3511, allocations: 180 kB / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3511, allocations: 0 / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3511, allocations: 11.98 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.3511, allocations: 11.98 kB / 0.5612 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.3514, allocations: 131.8 kB / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.3523, allocations: 0.6084 MB / 0.5619 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.3527, allocations: 110.7 kB / 0.562 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3528, allocations: 36.83 kB / 0.562 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3528, allocations: 0 / 0.562 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3528, allocations: 42.42 kB / 0.5621 GB, free: 2.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3528, allocations: 0 / 0.5621 GB, free: 2.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004186/0.3532, allocations: 141.6 kB / 0.5622 GB, free: 2.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3533, allocations: 51.41 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3534, allocations: 122 kB / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3534, allocations: 29.7 kB / 0.5624 GB, free: 2.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.3535, allocations: 132.2 kB / 0.5625 GB, free: 1.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3535, allocations: 19.8 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.3536, allocations: 29.7 kB / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3537, allocations: 326.8 kB / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3538, allocations: 39.95 kB / 0.5629 GB, free: 1.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.354, allocations: 95.62 kB / 0.563 GB, free: 1.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.3542, allocations: 147.5 kB / 0.5632 GB, free: 1.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3542, allocations: 0 / 0.5632 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003233/0.3546, allocations: 153.4 kB / 0.5633 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3546, allocations: 4 kB / 0.5633 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3546, allocations: 4.25 kB / 0.5633 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.3546, allocations: 8 kB / 0.5633 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3548, allocations: 35.97 kB / 0.5634 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3548, allocations: 7.938 kB / 0.5634 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3549, allocations: 23.88 kB / 0.5634 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3549, allocations: 4 kB / 0.5634 GB, free: 0.9336 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001127/0.355, allocations: 129.7 kB / 0.5635 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.355, allocations: 7.953 kB / 0.5635 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.3554, allocations: 137.9 kB / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3554, allocations: 0 / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3554, allocations: 3.938 kB / 0.5637 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3554, allocations: 0 / 0.5637 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.3556, allocations: 168.7 kB / 0.5638 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3556, allocations: 0 / 0.5638 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3557, allocations: 35.97 kB / 0.5639 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3557, allocations: 0 / 0.5639 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3557, allocations: 0 / 0.5639 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3557, allocations: 0 / 0.5639 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3557, allocations: 0 / 0.5639 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.356, allocations: 219.8 kB / 0.5641 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.3561, allocations: 7.891 kB / 0.5641 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3561, allocations: 12 kB / 0.5641 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.3562, allocations: 0 / 0.5641 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.3562, allocations: 7.984 kB / 0.5641 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3562, allocations: 4 kB / 0.5641 GB, free: 136 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.3563, allocations: 95.27 kB / 0.5642 GB, free: 40 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3563, allocations: 0 / 0.5642 GB, free: 40 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3565, allocations: 31.89 kB / 0.5642 GB, free: 8 kB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0006521/0.3572, allocations: 0.7514 MB / 0.565 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.3575, allocations: 100.2 kB / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3575, allocations: 0 / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.3576, allocations: 39.91 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3578, allocations: 7.984 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.3598, allocations: 1.67 MB / 0.5667 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.3601, allocations: 0.7157 MB / 0.5674 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.462e-05/0.3602, allocations: 24.47 kB / 0.5674 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.3603, allocations: 31.42 kB / 0.5675 GB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3603, allocations: 4 kB / 0.5675 GB, free: 12.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.3897, allocations: 2.464 MB / 0.5699 GB, free: 10.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.45, allocations: 7.938 kB / 0.5699 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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: 14.431204627966508]