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.001316/0.001316, allocations: 110 kB / 20.43 MB, free: 1.453 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.001506/0.001506, allocations: 213.5 kB / 23.74 MB, free: 4.66 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2283/0.2283, allocations: 46.92 MB / 360.8 MB, free: 4.18 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.002587/0.002587, allocations: 79.88 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3316, allocations: 66.08 MB / 0.5608 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003563/0.3352, allocations: 1.85 MB / 0.5626 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.3399, allocations: 2.984 MB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.3401, allocations: 8 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.3403, allocations: 55.67 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.3407, allocations: 75.64 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.3425, allocations: 0.7394 MB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.3429, allocations: 242.7 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.21e-05/0.3429, allocations: 14.42 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.3431, allocations: 115.5 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.3433, allocations: 127.4 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.3433, allocations: 8 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.3451, allocations: 1.224 MB / 0.568 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3452, allocations: 79.59 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3453, allocations: 115.2 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.3467, allocations: 0.9382 MB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3467, allocations: 0 / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3467, allocations: 0 / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3467, allocations: 0 / 0.5691 GB, free: 11.7 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.001074/0.3478, allocations: 0.6134 MB / 0.5697 GB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3478, allocations: 12.03 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.074e-05/0.3479, allocations: 70.72 kB / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.3479, allocations: 32.69 kB / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.3482, allocations: 185.3 kB / 0.57 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.3482, allocations: 28.64 kB / 0.57 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.3483, allocations: 24 kB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.349, allocations: 475.8 kB / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.349, allocations: 0 / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.3491, allocations: 11.98 kB / 0.5705 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-05/0.3491, allocations: 44.97 kB / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.35, allocations: 0.5465 MB / 0.5711 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.3519, allocations: 1.276 MB / 0.5723 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.3524, allocations: 262.3 kB / 0.5726 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.3526, allocations: 88.78 kB / 0.5727 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.3527, allocations: 15.92 kB / 0.5727 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3527, allocations: 34.56 kB / 0.5727 GB, free: 7.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.3527, allocations: 4 kB / 0.5727 GB, free: 7.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007316/0.3534, allocations: 341.1 kB / 0.5731 GB, free: 7.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.3535, allocations: 55.41 kB / 0.5731 GB, free: 7.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3537, allocations: 142.1 kB / 0.5732 GB, free: 7.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.3537, allocations: 29.7 kB / 0.5733 GB, free: 7.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3539, allocations: 200.5 kB / 0.5735 GB, free: 7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.3539, allocations: 95.16 kB / 0.5736 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.354, allocations: 69.69 kB / 0.5736 GB, free: 6.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3542, allocations: 326.8 kB / 0.5739 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.3544, allocations: 87.92 kB / 0.574 GB, free: 6.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.3547, allocations: 178.9 kB / 0.5742 GB, free: 6.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.3552, allocations: 290 kB / 0.5745 GB, free: 5.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3552, allocations: 0 / 0.5745 GB, free: 5.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006132/0.3558, allocations: 329.9 kB / 0.5748 GB, free: 5.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3558, allocations: 4 kB / 0.5748 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3558, allocations: 4 kB / 0.5748 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3558, allocations: 4.344 kB / 0.5748 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.3563, allocations: 123.9 kB / 0.5749 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.3578, allocations: 2.368 MB / 0.5772 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.358, allocations: 35.77 kB / 0.5773 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.358, allocations: 16 kB / 0.5773 GB, free: 2.914 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.0002201/0.3583, allocations: 173.7 kB / 0.5774 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.3583, allocations: 20.09 kB / 0.5775 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007781/0.3591, allocations: 366.3 kB / 0.5778 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3591, allocations: 4 kB / 0.5778 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3591, allocations: 0 / 0.5778 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3591, allocations: 7.875 kB / 0.5778 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.3595, allocations: 312.5 kB / 0.5781 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3595, allocations: 4 kB / 0.5781 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.3599, allocations: 103.9 kB / 0.5782 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3599, allocations: 0 / 0.5782 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.36, allocations: 12 kB / 0.5782 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.3614, allocations: 2.36 MB / 0.5805 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3614, allocations: 0 / 0.5805 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.3621, allocations: 375.3 kB / 0.5809 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.3621, allocations: 19.84 kB / 0.5809 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.3621, allocations: 8.156 kB / 0.5809 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3623, allocations: 15.92 kB / 0.5809 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.3623, allocations: 19.91 kB / 0.581 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3623, allocations: 15.98 kB / 0.581 GB, free: 14.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.21e-05/0.3624, allocations: 105.5 kB / 0.5811 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3624, allocations: 0 / 0.5811 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007969/0.3632, allocations: 246.7 kB / 0.5813 GB, free: 14.62 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.001708/0.3649, allocations: 1.168 MB / 0.5824 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000774/0.3657, allocations: 287.6 kB / 0.5827 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3657, allocations: 0 / 0.5827 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.3662, allocations: 175.8 kB / 0.5829 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3665, allocations: 16.06 kB / 0.5829 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.3703, allocations: 2.592 MB / 0.5854 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.3707, allocations: 0.8024 MB / 0.5862 GB, free: 9.379 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002914/0.371, allocations: 101.7 kB / 0.5863 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3712, allocations: 91.41 kB / 0.5864 GB, free: 9.191 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3712, allocations: 0 / 0.5864 GB, free: 9.191 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.4124, allocations: 9.132 MB / 0.5953 GB, free: 192 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.21, allocations: 11.02 kB / 0.5953 GB, free: 184 kB / 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.603219428099692]