Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.00172/0.00172, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.00211/0.00211, allocations: 208.2 kB / 23.72 MB, free: 4.527 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.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 46.96 MB / 360.9 MB, free: 4.051 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+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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003128/0.3177, allocations: 1.797 MB / 0.5624 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004157/0.3219, allocations: 2.638 MB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.3219, allocations: 7.938 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.3222, allocations: 43.77 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.3225, allocations: 83.56 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.324, allocations: 0.7278 MB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.3243, allocations: 242.7 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.3244, allocations: 14.42 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.3246, allocations: 111.4 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.3248, allocations: 127.4 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3248, allocations: 8 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.3259, allocations: 0.6394 MB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.326, allocations: 75.61 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3261, allocations: 91.36 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3272, allocations: 0.7784 MB / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3272, allocations: 0 / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3272, allocations: 0 / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3272, allocations: 0 / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009924/0.3282, allocations: 0.6095 MB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3283, allocations: 12.03 kB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.489e-05/0.3284, allocations: 82.64 kB / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.3284, allocations: 28.75 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3287, allocations: 189.3 kB / 0.5687 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3287, allocations: 16.64 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.3288, allocations: 31.94 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.3295, allocations: 463.9 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3296, allocations: 4 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.3296, allocations: 15.97 kB / 0.5692 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.159e-05/0.3296, allocations: 44.97 kB / 0.5693 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008523/0.3305, allocations: 0.5465 MB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.3324, allocations: 1.036 MB / 0.5708 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.3331, allocations: 270.3 kB / 0.5711 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3333, allocations: 88.8 kB / 0.5712 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.3333, allocations: 11.92 kB / 0.5712 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3333, allocations: 38.5 kB / 0.5712 GB, free: 9.211 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.3333, allocations: 0 / 0.5712 GB, free: 9.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.000756/0.3341, allocations: 333.3 kB / 0.5715 GB, free: 8.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.3342, allocations: 55.41 kB / 0.5716 GB, free: 8.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3343, allocations: 150.1 kB / 0.5717 GB, free: 8.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3343, allocations: 29.7 kB / 0.5717 GB, free: 8.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3344, allocations: 196.1 kB / 0.5719 GB, free: 8.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.3345, allocations: 95.59 kB / 0.572 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3346, allocations: 73.64 kB / 0.5721 GB, free: 8.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3348, allocations: 326.8 kB / 0.5724 GB, free: 7.922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.335, allocations: 83.92 kB / 0.5725 GB, free: 7.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.3352, allocations: 183 kB / 0.5727 GB, free: 7.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.3357, allocations: 298.8 kB / 0.5729 GB, free: 7.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3357, allocations: 0 / 0.5729 GB, free: 7.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006043/0.3363, allocations: 321.3 kB / 0.5732 GB, free: 6.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3364, allocations: 12.06 kB / 0.5733 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3364, allocations: 4 kB / 0.5733 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3364, allocations: 4 kB / 0.5733 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.3369, allocations: 131.9 kB / 0.5734 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.3383, allocations: 2.356 MB / 0.5757 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.3385, allocations: 47.7 kB / 0.5757 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.3386, allocations: 12 kB / 0.5758 GB, free: 4.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.3388, allocations: 169.7 kB / 0.5759 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3388, allocations: 15.91 kB / 0.5759 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007881/0.3396, allocations: 374.3 kB / 0.5763 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3396, allocations: 4 kB / 0.5763 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3396, allocations: 0 / 0.5763 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3396, allocations: 7.922 kB / 0.5763 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.34, allocations: 308.5 kB / 0.5766 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.34, allocations: 0 / 0.5766 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.3405, allocations: 111.9 kB / 0.5767 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3405, allocations: 7.938 kB / 0.5767 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3405, allocations: 15.94 kB / 0.5767 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.3419, allocations: 2.356 MB / 0.579 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3419, allocations: 0 / 0.579 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.3425, allocations: 379.5 kB / 0.5794 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.3425, allocations: 19.78 kB / 0.5794 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.3426, allocations: 8 kB / 0.5794 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.3427, allocations: 11.98 kB / 0.5794 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.3428, allocations: 19.97 kB / 0.5794 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.3428, allocations: 16.17 kB / 0.5795 GB, free: 368 kB / 414.1 MB Notification: Performance of sorting global known variables: time 8.678e-05/0.3429, allocations: 106.4 kB / 0.5796 GB, free: 264 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3429, allocations: 0 / 0.5796 GB, free: 264 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007791/0.3437, allocations: 246.8 kB / 0.5798 GB, free: 16 kB / 414.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001704/0.3454, allocations: 1.164 MB / 0.5809 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007776/0.3461, allocations: 283.7 kB / 0.5812 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3461, allocations: 0 / 0.5812 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.3466, allocations: 176.4 kB / 0.5814 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.347, allocations: 17.62 kB / 0.5814 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.3507, allocations: 2.604 MB / 0.5839 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3509, allocations: 193.8 kB / 0.5841 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.3511, allocations: 97.72 kB / 0.5842 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.3513, allocations: 87.41 kB / 0.5843 GB, free: 11.22 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3513, allocations: 4 kB / 0.5843 GB, free: 11.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.3891, allocations: 9.5 MB / 0.5936 GB, free: 1.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.55, allocations: 15.75 kB / 0.5936 GB, free: 1.875 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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: 15.837829924013931]