Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.001804/0.001804, allocations: 114 kB / 20.43 MB, free: 1.457 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.002317/0.002317, allocations: 214.6 kB / 23.74 MB, free: 4.672 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.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2352/0.2352, allocations: 46.93 MB / 360.8 MB, free: 4.148 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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 83.86 kB / 0.4962 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3105, allocations: 66.07 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.00315/0.3137, allocations: 1.864 MB / 0.5626 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.3159, allocations: 1.384 MB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.316, allocations: 7.938 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.3162, allocations: 59.67 kB / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.3165, allocations: 91.55 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.317, allocations: 227.1 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.3175, allocations: 401.8 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.3175, allocations: 16.92 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.3178, allocations: 159.1 kB / 0.5648 GB, free: 56 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.3181, allocations: 179.1 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.3181, allocations: 12 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007299/0.3188, allocations: 471 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.319, allocations: 131.4 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.3192, allocations: 198.6 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.32, allocations: 0.6241 MB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.32, allocations: 0 / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.32, allocations: 0 / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.32, allocations: 0 / 0.5664 GB, free: 14.46 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001151/0.3211, allocations: 0.7229 MB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3212, allocations: 8.031 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.3213, allocations: 102.7 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.849e-05/0.3214, allocations: 56.56 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.3218, allocations: 263.1 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.3218, allocations: 33.31 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.3219, allocations: 43.94 kB / 0.5676 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3229, allocations: 0.7031 MB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3229, allocations: 3.984 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.3229, allocations: 16 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.821e-05/0.323, allocations: 57.28 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.3241, allocations: 0.7195 MB / 0.5691 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.3266, allocations: 1.676 MB / 0.5707 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.3272, allocations: 345.8 kB / 0.571 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.3275, allocations: 137.2 kB / 0.5712 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.3275, allocations: 16.16 kB / 0.5712 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3276, allocations: 34.8 kB / 0.5712 GB, free: 9.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/0.3276, allocations: 0 / 0.5712 GB, free: 9.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001021/0.3286, allocations: 491.7 kB / 0.5717 GB, free: 8.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3286, allocations: 55.41 kB / 0.5717 GB, free: 8.773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.3291, allocations: 457.5 kB / 0.5722 GB, free: 8.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.3292, allocations: 33.7 kB / 0.5722 GB, free: 8.277 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.3294, allocations: 264.1 kB / 0.5724 GB, free: 8.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.3295, allocations: 103.1 kB / 0.5725 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.3296, allocations: 89.45 kB / 0.5726 GB, free: 7.816 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3298, allocations: 342.8 kB / 0.573 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.3301, allocations: 147.9 kB / 0.5731 GB, free: 7.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.3304, allocations: 253.3 kB / 0.5733 GB, free: 7.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006848/0.3311, allocations: 430.2 kB / 0.5737 GB, free: 6.562 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3311, allocations: 7.875 kB / 0.5738 GB, free: 6.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008506/0.332, allocations: 476.8 kB / 0.5742 GB, free: 6.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.332, allocations: 8 kB / 0.5742 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.332, allocations: 4.469 kB / 0.5742 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.332, allocations: 8 kB / 0.5742 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.3326, allocations: 167.8 kB / 0.5744 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.3349, allocations: 3.614 MB / 0.5779 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.3351, allocations: 59.55 kB / 0.578 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.3352, allocations: 23.94 kB / 0.578 GB, free: 2.062 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.3354, allocations: 217.6 kB / 0.5782 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/0.3355, allocations: 39.72 kB / 0.5782 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.3366, allocations: 0.5366 MB / 0.5788 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3366, allocations: 4 kB / 0.5788 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3366, allocations: 0 / 0.5788 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.3366, allocations: 3.984 kB / 0.5788 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.3372, allocations: 432.2 kB / 0.5792 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3372, allocations: 0 / 0.5792 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.3378, allocations: 135.9 kB / 0.5793 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.3378, allocations: 7.984 kB / 0.5793 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.3378, allocations: 12 kB / 0.5793 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.3401, allocations: 3.606 MB / 0.5829 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3401, allocations: 0 / 0.5829 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3412, allocations: 0.6606 MB / 0.5835 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.3414, allocations: 83.67 kB / 0.5836 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.3414, allocations: 11.95 kB / 0.5836 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3416, allocations: 15.92 kB / 0.5836 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.3417, allocations: 31.89 kB / 0.5836 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3418, allocations: 20.06 kB / 0.5837 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004103/0.3422, allocations: 343.1 kB / 0.584 GB, free: 11.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3422, allocations: 0 / 0.584 GB, free: 11.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005382/0.3427, allocations: 167.5 kB / 0.5841 GB, free: 11.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001704/0.3444, allocations: 1.274 MB / 0.5854 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3455, allocations: 427.5 kB / 0.5858 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3455, allocations: 3.938 kB / 0.5858 GB, free: 9.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.3462, allocations: 248.9 kB / 0.586 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.3466, allocations: 45.36 kB / 0.5861 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/0.3531, allocations: 4.882 MB / 0.5908 GB, free: 4.492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.3537, allocations: 0.9014 MB / 0.5917 GB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003768/0.354, allocations: 147 kB / 0.5919 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.3543, allocations: 159.4 kB / 0.592 GB, free: 3.262 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3543, allocations: 0 / 0.592 GB, free: 3.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.3973, allocations: 11.61 MB / 0.6034 GB, free: 7.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.75, allocations: 15.44 kB / 0.6034 GB, free: 7.777 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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: 17.32203097292222]