Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009053/0.0009052, allocations: 175.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007122/0.0007123, allocations: 99.94 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.271/0.271, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 12 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09217, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001711/0.09391, allocations: 1.492 MB / 492.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.09556, allocations: 1.272 MB / 493.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.09562, allocations: 0 / 493.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.09579, allocations: 39.69 kB / 493.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.09594, allocations: 39.75 kB / 493.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.09636, allocations: 211.3 kB / 494 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.09647, allocations: 91.47 kB / 494.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.09652, allocations: 9.109 kB / 494.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.09663, allocations: 51.7 kB / 494.1 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.09671, allocations: 43.78 kB / 494.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.09673, allocations: 4 kB / 494.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005904/0.09732, allocations: 487 kB / 494.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.09735, allocations: 15.92 kB / 494.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.09741, allocations: 65.44 kB / 494.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.09771, allocations: 223.8 kB / 495 MB, free: 6.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09772, allocations: 0 / 495 MB, free: 6.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.09773, allocations: 0 / 495 MB, free: 6.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.09774, allocations: 0 / 495 MB, free: 6.727 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004793/0.09822, allocations: 419.3 kB / 495.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.09827, allocations: 12.03 kB / 495.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.09832, allocations: 42.75 kB / 495.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.09835, allocations: 12.75 kB / 495.4 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.09847, allocations: 180.2 kB / 495.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.09849, allocations: 12.38 kB / 495.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.09852, allocations: 15.94 kB / 495.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.09884, allocations: 149.5 kB / 495.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.09886, allocations: 0 / 495.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.09888, allocations: 11.98 kB / 495.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.09889, allocations: 4 kB / 495.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.09919, allocations: 143.8 kB / 495.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.09998, allocations: 0.5182 MB / 496.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1002, allocations: 106.6 kB / 496.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1004, allocations: 56.83 kB / 496.6 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1004, allocations: 0 / 496.6 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1004, allocations: 34.55 kB / 496.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.1005, allocations: 4 kB / 496.7 MB, free: 4.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004598/0.1009, allocations: 173.8 kB / 496.8 MB, free: 4.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.101, allocations: 59.39 kB / 496.9 MB, free: 4.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.101, allocations: 117.8 kB / 497 MB, free: 4.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1011, allocations: 33.64 kB / 497 MB, free: 4.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.1011, allocations: 111.7 kB / 497.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.1012, allocations: 43.39 kB / 497.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.1012, allocations: 0 / 497.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.1013, allocations: 318.8 kB / 497.5 MB, free: 3.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1014, allocations: 51.95 kB / 497.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1015, allocations: 77.12 kB / 497.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.1018, allocations: 141.1 kB / 497.8 MB, free: 3.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1018, allocations: 0 / 497.8 MB, free: 3.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003417/0.1022, allocations: 181.3 kB / 497.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1022, allocations: 7.281 kB / 497.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1022, allocations: 0 / 497.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1022, allocations: 4.156 kB / 498 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1024, allocations: 55.91 kB / 498 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003322/0.1028, allocations: 0.5898 MB / 498.6 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1029, allocations: 19.83 kB / 498.6 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1029, allocations: 8 kB / 498.6 MB, free: 2.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.185e-05/0.103, allocations: 117.9 kB / 498.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.103, allocations: 4 kB / 498.7 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.1035, allocations: 186.1 kB / 498.9 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1035, allocations: 4 kB / 498.9 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1035, allocations: 3.938 kB / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1035, allocations: 0 / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1037, allocations: 209.6 kB / 499.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1037, allocations: 0 / 499.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.1039, allocations: 47.97 kB / 499.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.104, allocations: 0 / 499.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.104, allocations: 4 kB / 499.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002713/0.1042, allocations: 0.5937 MB / 499.8 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1043, allocations: 0 / 499.8 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.1047, allocations: 307.4 kB / 0.4884 GB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.1048, allocations: 100.9 kB / 0.4885 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1048, allocations: 12.06 kB / 0.4885 GB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1049, allocations: 4 kB / 0.4885 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.105, allocations: 7.984 kB / 0.4885 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.105, allocations: 11.98 kB / 0.4885 GB, free: 1.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.1051, allocations: 87.28 kB / 0.4886 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.423e-06/0.1051, allocations: 0 / 0.4886 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.1054, allocations: 79.77 kB / 0.4887 GB, free: 0.8867 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1708/0.2762, allocations: 0.9179 MB / 0.4895 GB, free: 43.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004969/0.2768, allocations: 133.1 kB / 0.4897 GB, free: 43.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2768, allocations: 1.344 kB / 0.4897 GB, free: 43.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.277, allocations: 81.66 kB / 0.4898 GB, free: 43.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2773, allocations: 9.109 kB / 0.4898 GB, free: 43.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2787, allocations: 0.8545 MB / 0.4906 GB, free: 42.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2788, allocations: 0.7021 MB / 0.4913 GB, free: 42.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.2789, allocations: 36.59 kB / 0.4913 GB, free: 42.14 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2789, allocations: 0 / 0.4913 GB, free: 42.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.006/3.285, allocations: 2.749 MB / 0.494 GB, free: 41.97 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches