Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 111.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 198.1 kB / 23.72 MB, free: 4.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.96 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.002397/0.002397, allocations: 79.81 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.402, allocations: 66.09 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003566/0.4055, allocations: 1.803 MB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.4103, allocations: 2.634 MB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.4105, allocations: 4 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.4108, allocations: 39.77 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.4111, allocations: 91.5 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.4133, allocations: 0.7355 MB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.4137, allocations: 238.7 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.249e-05/0.4138, allocations: 14.42 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.4141, allocations: 111.5 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.4144, allocations: 123.4 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.4144, allocations: 12 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.4158, allocations: 0.6004 MB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.4159, allocations: 75.67 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.416, allocations: 87.36 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.4173, allocations: 0.7822 MB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4173, allocations: 4 kB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4173, allocations: 0 / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4173, allocations: 0 / 0.5679 GB, free: 12.69 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.001137/0.4185, allocations: 0.6096 MB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.4185, allocations: 8.031 kB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.4186, allocations: 74.7 kB / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.4187, allocations: 32.75 kB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.4191, allocations: 181.2 kB / 0.5688 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.4191, allocations: 24.64 kB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.4191, allocations: 24 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.4199, allocations: 467.9 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4199, allocations: 3.938 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.42, allocations: 23.97 kB / 0.5693 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/0.4201, allocations: 44.97 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.421, allocations: 0.5464 MB / 0.5699 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.423, allocations: 1.036 MB / 0.5709 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.4237, allocations: 273 kB / 0.5711 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.4239, allocations: 88.73 kB / 0.5712 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.424, allocations: 15.92 kB / 0.5712 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.424, allocations: 34.56 kB / 0.5713 GB, free: 9.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.424, allocations: 0 / 0.5713 GB, free: 9.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007679/0.4248, allocations: 333.3 kB / 0.5716 GB, free: 8.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.4248, allocations: 59.34 kB / 0.5716 GB, free: 8.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.425, allocations: 150.1 kB / 0.5718 GB, free: 8.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.425, allocations: 29.7 kB / 0.5718 GB, free: 8.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.4252, allocations: 192.2 kB / 0.572 GB, free: 8.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.943e-05/0.4252, allocations: 95.59 kB / 0.5721 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.623e-05/0.4253, allocations: 69.64 kB / 0.5722 GB, free: 8.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4255, allocations: 326.8 kB / 0.5725 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.4257, allocations: 91.92 kB / 0.5726 GB, free: 7.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.426, allocations: 178.9 kB / 0.5727 GB, free: 7.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.4265, allocations: 290.9 kB / 0.573 GB, free: 7.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4265, allocations: 4 kB / 0.573 GB, free: 7.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006379/0.4271, allocations: 325.1 kB / 0.5733 GB, free: 6.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.4271, allocations: 8 kB / 0.5733 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.4271, allocations: 3.938 kB / 0.5733 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4272, allocations: 8 kB / 0.5733 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.4278, allocations: 131.9 kB / 0.5735 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.4295, allocations: 2.36 MB / 0.5758 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.4297, allocations: 35.7 kB / 0.5758 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.4298, allocations: 23.94 kB / 0.5758 GB, free: 4.18 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.0002483/0.43, allocations: 169.7 kB / 0.576 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.4301, allocations: 19.84 kB / 0.576 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.4309, allocations: 370.6 kB / 0.5764 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.4309, allocations: 4 kB / 0.5764 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4309, allocations: 4 kB / 0.5764 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.4309, allocations: 11.86 kB / 0.5764 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.4314, allocations: 296.5 kB / 0.5767 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4314, allocations: 4 kB / 0.5767 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.4319, allocations: 123.9 kB / 0.5768 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.4319, allocations: 4 kB / 0.5768 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.4319, allocations: 8 kB / 0.5768 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.4334, allocations: 2.36 MB / 0.5791 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4334, allocations: 3.938 kB / 0.5791 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.434, allocations: 375.3 kB / 0.5795 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.4341, allocations: 19.78 kB / 0.5795 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.4341, allocations: 8.375 kB / 0.5795 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.4342, allocations: 15.98 kB / 0.5795 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.4343, allocations: 15.97 kB / 0.5795 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.4343, allocations: 15.98 kB / 0.5795 GB, free: 220 kB / 414.1 MB Notification: Performance of sorting global known variables: time 7.742e-05/0.4344, allocations: 101.5 kB / 0.5796 GB, free: 120 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4344, allocations: 0 / 0.5796 GB, free: 120 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000791/0.4352, allocations: 246.8 kB / 0.5799 GB, free: 15.88 MB / 430.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.00205/0.4372, allocations: 1.168 MB / 0.581 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008006/0.438, allocations: 284.3 kB / 0.5813 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.438, allocations: 4 kB / 0.5813 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.4385, allocations: 171.8 kB / 0.5814 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.4389, allocations: 13.88 kB / 0.5815 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.4427, allocations: 2.592 MB / 0.584 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.4429, allocations: 193.8 kB / 0.5842 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.4432, allocations: 105.7 kB / 0.5843 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.4434, allocations: 91.41 kB / 0.5844 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4434, allocations: 0 / 0.5844 GB, free: 11.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04758/0.491, allocations: 9.393 MB / 0.5935 GB, free: 1.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.96, allocations: 7.844 kB / 0.5935 GB, free: 1.816 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 16.283460329286754]