Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.001719/0.001719, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001999/0.001999, allocations: 205.1 kB / 23.72 MB, free: 4.391 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.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.2263/0.2263, allocations: 46.95 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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 75.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.308, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003117/0.3111, allocations: 1.651 MB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3127, allocations: 0.8423 MB / 0.5632 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.3128, allocations: 3.938 kB / 0.5632 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.313, allocations: 27.84 kB / 0.5632 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.3132, allocations: 55.73 kB / 0.5632 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.3137, allocations: 139.5 kB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.314, allocations: 135.3 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.314, allocations: 9.438 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.4e-05/0.3141, allocations: 59.77 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3143, allocations: 71.69 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3143, allocations: 4 kB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.3146, allocations: 167.7 kB / 0.5638 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.3147, allocations: 35.83 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.3148, allocations: 55.67 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.3152, allocations: 225.1 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3152, allocations: 3.938 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3152, allocations: 0 / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3152, allocations: 0 / 0.5641 GB, free: 0.5586 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007009/0.3159, allocations: 409.4 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3159, allocations: 12.03 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.316, allocations: 46.73 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.3171, allocations: 116.7 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.3174, allocations: 178.1 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3174, allocations: 8.375 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.3174, allocations: 12.38 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.3181, allocations: 317.5 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3181, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.3181, allocations: 11.94 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.3182, allocations: 19.98 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.319, allocations: 323.6 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.3204, allocations: 0.6172 MB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.3211, allocations: 214.3 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.3214, allocations: 84.91 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3214, allocations: 7.938 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.3215, allocations: 34.56 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.3215, allocations: 0 / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001015/0.3225, allocations: 297.2 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.3225, allocations: 51.41 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3228, allocations: 195.2 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.3228, allocations: 25.7 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3229, allocations: 151.7 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3229, allocations: 31.7 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.323, allocations: 49.67 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3232, allocations: 322.8 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.3235, allocations: 87.89 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.3238, allocations: 133.3 kB / 0.5677 GB, free: 12.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.3245, allocations: 230.9 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3245, allocations: 0 / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000794/0.3252, allocations: 273.3 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3253, allocations: 11.94 kB / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3253, allocations: 3.938 kB / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3253, allocations: 7.938 kB / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.3257, allocations: 83.92 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.3269, allocations: 1.778 MB / 0.57 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.3271, allocations: 27.89 kB / 0.5701 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.3272, allocations: 19.97 kB / 0.5701 GB, free: 10.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.3273, allocations: 137.8 kB / 0.5702 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.3274, allocations: 19.84 kB / 0.5702 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/0.3282, allocations: 270.7 kB / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3282, allocations: 0 / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3282, allocations: 0 / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3282, allocations: 0 / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.3285, allocations: 220.7 kB / 0.5707 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3285, allocations: 0 / 0.5707 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.3289, allocations: 71.81 kB / 0.5708 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3289, allocations: 4 kB / 0.5708 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3289, allocations: 8.062 kB / 0.5708 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.3301, allocations: 1.789 MB / 0.5725 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3301, allocations: 0 / 0.5725 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.3308, allocations: 315.2 kB / 0.5728 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.3309, allocations: 23.92 kB / 0.5728 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3309, allocations: 0 / 0.5728 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.3311, allocations: 8.266 kB / 0.5728 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.3311, allocations: 19.97 kB / 0.5729 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.3312, allocations: 7.984 kB / 0.5729 GB, free: 7.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.3313, allocations: 140.9 kB / 0.573 GB, free: 6.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3313, allocations: 0 / 0.573 GB, free: 6.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.3317, allocations: 63.81 kB / 0.5731 GB, free: 6.906 MB / 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.3329, allocations: 0.8722 MB / 0.5739 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000891/0.3338, allocations: 239.6 kB / 0.5741 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3338, allocations: 0 / 0.5741 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.3342, allocations: 136.6 kB / 0.5743 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3345, allocations: 16.12 kB / 0.5743 GB, free: 5.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/0.3383, allocations: 2.342 MB / 0.5766 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.3384, allocations: 118.6 kB / 0.5767 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.3386, allocations: 61.05 kB / 0.5768 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3387, allocations: 59.39 kB / 0.5768 GB, free: 2.906 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3387, allocations: 4 kB / 0.5768 GB, free: 2.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.3736, allocations: 5.428 MB / 0.5821 GB, free: 13.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.79, allocations: 15.23 kB / 0.5821 GB, free: 13.61 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.957092079799622]