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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008157/0.0008157, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8416/0.8416, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1295/0.1295, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 406.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.815e-05, allocations: 9.938 kB / 406.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002019/0.002038, allocations: 1.769 MB / 408.7 MB, free: 416 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.003686, allocations: 1.271 MB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.003744, allocations: 0 / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.003935, allocations: 31.83 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.004073, allocations: 59.5 kB / 410 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.004506, allocations: 251 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.004617, allocations: 107.3 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.004653, allocations: 5.312 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.004777, allocations: 67.73 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.004836, allocations: 35.91 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.004849, allocations: 4 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.005196, allocations: 303.3 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.005219, allocations: 23.91 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.005252, allocations: 27.86 kB / 410.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.005592, allocations: 326.9 kB / 411.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.005595, allocations: 4 kB / 411.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005597, allocations: 0 / 411.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005601, allocations: 0 / 411.1 MB, free: 13.9 MB / 394.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.0004111/0.006012, allocations: 365.5 kB / 411.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.00605, allocations: 12.03 kB / 411.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.006085, allocations: 46.73 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.006117, allocations: 8.891 kB / 411.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.202e-05/0.006199, allocations: 133.5 kB / 411.7 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.006211, allocations: 8.375 kB / 411.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.006235, allocations: 8.375 kB / 411.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.006449, allocations: 153.9 kB / 411.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006457, allocations: 3.938 kB / 411.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.006468, allocations: 4 kB / 411.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.006473, allocations: 4 kB / 411.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.006655, allocations: 135.9 kB / 412 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.007295, allocations: 434.8 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.007468, allocations: 90.59 kB / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.007539, allocations: 44.83 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.00756, allocations: 3.938 kB / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.007577, allocations: 42.5 kB / 412.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.007579, allocations: 4 kB / 412.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002989/0.007878, allocations: 161.5 kB / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.007905, allocations: 55.39 kB / 412.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.042e-05/0.007965, allocations: 109.8 kB / 412.9 MB, free: 11.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.007978, allocations: 29.7 kB / 413 MB, free: 11.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.008035, allocations: 123.6 kB / 413.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.008062, allocations: 43.58 kB / 413.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.0081, allocations: 29.72 kB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.008177, allocations: 322.8 kB / 413.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.008246, allocations: 39.97 kB / 413.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/0.008329, allocations: 85.05 kB / 413.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.008485, allocations: 129 kB / 413.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008487, allocations: 0 / 413.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002144/0.008701, allocations: 161.4 kB / 413.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.008715, allocations: 8 kB / 413.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.008719, allocations: 0 / 413.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.008732, allocations: 4 kB / 413.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.008863, allocations: 48.06 kB / 413.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002467/0.00911, allocations: 0.5899 MB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.00917, allocations: 19.91 kB / 414.5 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.009181, allocations: 11.94 kB / 414.6 MB, free: 10.23 MB / 394.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 (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 6.823e-05/0.009249, allocations: 117.8 kB / 414.7 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.009267, allocations: 11.94 kB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.009518, allocations: 178.4 kB / 414.9 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.009521, allocations: 0 / 414.9 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.009525, allocations: 4 kB / 414.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.009528, allocations: 0 / 414.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.009698, allocations: 184.5 kB / 415 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0097, allocations: 3.984 kB / 415 MB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-05/0.0098, allocations: 39.98 kB / 415.1 MB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.009803, allocations: 4 kB / 415.1 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.009813, allocations: 3.984 kB / 415.1 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001879/0.01, allocations: 0.5898 MB / 415.7 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01, allocations: 0 / 415.7 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.01052, allocations: 287.4 kB / 416 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.01056, allocations: 19.97 kB / 416 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.01057, allocations: 3.938 kB / 416 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.899e-05/0.01063, allocations: 12.16 kB / 416 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.01067, allocations: 11.97 kB / 416 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.01068, allocations: 7.938 kB / 416 MB, free: 8.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.01071, allocations: 91.27 kB / 416.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 0 / 416.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.01099, allocations: 75.69 kB / 416.2 MB, free: 8.508 MB / 394.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 (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.0006386/0.01163, allocations: 0.8996 MB / 417.1 MB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01189, allocations: 128 kB / 417.2 MB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01189, allocations: 0 / 417.2 MB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.01198, allocations: 67.89 kB / 417.3 MB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.01224, allocations: 11.94 kB / 417.3 MB, free: 7.375 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.01365, allocations: 1.714 MB / 419 MB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.094e-05/0.01371, allocations: 89.31 kB / 419.1 MB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.323e-05/0.01377, allocations: 28.73 kB / 419.1 MB, free: 5.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.01383, allocations: 36.48 kB / 419.2 MB, free: 5.379 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01383, allocations: 0 / 419.2 MB, free: 5.379 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.03068, allocations: 4.416 MB / 423.6 MB, free: 0.957 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.392, allocations: 4.484 kB / 423.6 MB, free: 0.9531 MB / 394.7 MB " [Timeout remaining time 653] (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 --stepSize=0.0002 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.381981860846281]