Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 100.5 kB / 16.27 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 188.6 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 223.1 MB, free: 12.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2051/0.2051, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 71.66 kB / 382.9 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1017, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00304/0.1048, allocations: 1.788 MB / 442.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1068, allocations: 1.376 MB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1069, allocations: 8 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1072, allocations: 47.75 kB / 443.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.1075, allocations: 43.62 kB / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.1081, allocations: 247 kB / 444.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1082, allocations: 99.47 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.1083, allocations: 9.062 kB / 444.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1084, allocations: 55.7 kB / 444.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.1085, allocations: 51.72 kB / 444.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1085, allocations: 4 kB / 444.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006154/0.1092, allocations: 0.4951 MB / 444.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.1092, allocations: 11.92 kB / 444.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.1093, allocations: 55.66 kB / 444.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.1098, allocations: 347.1 kB / 445.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1098, allocations: 0 / 445.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1098, allocations: 0 / 445.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1098, allocations: 0 / 445.3 MB, free: 2.129 MB / 318.1 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.0005066/0.1104, allocations: 440.1 kB / 445.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.1104, allocations: 11.97 kB / 445.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1105, allocations: 46.73 kB / 445.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.1105, allocations: 12.84 kB / 445.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1106, allocations: 172.2 kB / 445.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1107, allocations: 12.38 kB / 445.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1107, allocations: 19.88 kB / 446 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.111, allocations: 137.5 kB / 446.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.111, allocations: 0 / 446.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.111, allocations: 4 kB / 446.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.111, allocations: 4 kB / 446.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.1113, allocations: 147.9 kB / 446.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.112, allocations: 0.5182 MB / 446.8 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1123, allocations: 106.6 kB / 446.9 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1124, allocations: 48.83 kB / 446.9 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1125, allocations: 4 kB / 446.9 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.1125, allocations: 30.56 kB / 447 MB, free: 256 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.1125, allocations: 4 kB / 447 MB, free: 252 kB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004367/0.1129, allocations: 157.5 kB / 447.1 MB, free: 88 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.113, allocations: 59.34 kB / 447.2 MB, free: 16 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1131, allocations: 121.7 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1131, allocations: 25.7 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.1132, allocations: 111.7 kB / 447.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.1132, allocations: 43.44 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.1133, allocations: 37.7 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1134, allocations: 326.8 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1135, allocations: 35.97 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.1137, allocations: 77.12 kB / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.114, allocations: 121 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.114, allocations: 3.938 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003855/0.1144, allocations: 165.3 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1144, allocations: 8 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1144, allocations: 0 / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1145, allocations: 4 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.1147, allocations: 43.97 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004169/0.1151, allocations: 0.5978 MB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1153, allocations: 15.84 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1153, allocations: 8 kB / 448.9 MB, free: 14.19 MB / 334.1 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.1154, allocations: 121.8 kB / 449 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.1154, allocations: 7.906 kB / 449 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.1159, allocations: 166.3 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1159, allocations: 4 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1159, allocations: 3.938 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1159, allocations: 3.984 kB / 449.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.1162, allocations: 213.5 kB / 449.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1162, allocations: 4 kB / 449.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.1164, allocations: 43.97 kB / 449.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1165, allocations: 0 / 449.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1165, allocations: 7.984 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003354/0.1168, allocations: 0.5898 MB / 450 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1168, allocations: 0 / 450 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.1173, allocations: 291.5 kB / 450.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.1174, allocations: 96.97 kB / 450.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1175, allocations: 4 kB / 450.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1176, allocations: 12 kB / 450.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.1176, allocations: 11.92 kB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1177, allocations: 12.05 kB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.017e-05/0.1177, allocations: 91.22 kB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1177, allocations: 0 / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004303/0.1182, allocations: 75.86 kB / 450.6 MB, free: 12.33 MB / 334.1 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.1193, allocations: 0.9074 MB / 451.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.1198, allocations: 136.4 kB / 451.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1198, allocations: 0 / 451.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.12, allocations: 71.89 kB / 451.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1204, allocations: 11.59 kB / 451.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.1228, allocations: 1.728 MB / 453.5 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.1231, allocations: 0.7041 MB / 454.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.522e-05/0.1232, allocations: 12.56 kB / 454.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.1233, allocations: 35.42 kB / 454.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1233, allocations: 0 / 454.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.1509, allocations: 3.718 MB / 457.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.13, allocations: 8.125 kB / 458 MB, free: 4.902 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches