Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001354/0.001354, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.001565/0.001565, allocations: 170.3 kB / 23.95 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8972/0.8972, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2345/0.2345, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_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_4_1_0_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 2.965e-06/2.965e-06, allocations: 4 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.542e-05, allocations: 6.219 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.1622/0.1622, allocations: 1.776 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1635, allocations: 1.282 MB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.1635, allocations: 0 / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.1637, allocations: 43.22 kB / 445.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1639, allocations: 55.38 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.1642, allocations: 250.8 kB / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.862e-05/0.1643, allocations: 115.5 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.1643, allocations: 4.062 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1645, allocations: 72.98 kB / 445.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.1645, allocations: 39.42 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1646, allocations: 5.781 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.1648, allocations: 309.7 kB / 446.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.1649, allocations: 17.14 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.1649, allocations: 33.44 kB / 446.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1652, allocations: 338.2 kB / 446.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1652, allocations: 0 / 446.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1652, allocations: 0 / 446.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1652, allocations: 0 / 446.5 MB, free: 42.69 MB / 410.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.0003461/0.1655, allocations: 369.1 kB / 446.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1656, allocations: 14.03 kB / 446.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.1656, allocations: 46.25 kB / 446.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.1656, allocations: 14.41 kB / 447 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.239e-05/0.1657, allocations: 115.5 kB / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1657, allocations: 10.03 kB / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1657, allocations: 9.625 kB / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1659, allocations: 157.7 kB / 447.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1659, allocations: 0 / 447.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1659, allocations: 6.438 kB / 447.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1659, allocations: 6.094 kB / 447.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.1661, allocations: 135.6 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.1666, allocations: 431.1 kB / 447.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1668, allocations: 100.7 kB / 447.9 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.1668, allocations: 55.14 kB / 448 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1669, allocations: 3.938 kB / 448 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.1669, allocations: 33.47 kB / 448 MB, free: 41.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1669, allocations: 0 / 448 MB, free: 41.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002785/0.1672, allocations: 162.9 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.1672, allocations: 55.41 kB / 448.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.686e-05/0.1672, allocations: 122.2 kB / 448.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.1672, allocations: 25.7 kB / 448.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.1673, allocations: 116.3 kB / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.1673, allocations: 38.55 kB / 448.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1673, allocations: 36.28 kB / 448.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.617e-05/0.1673, allocations: 321.1 kB / 448.9 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.1674, allocations: 38.17 kB / 448.9 MB, free: 40.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1675, allocations: 79.75 kB / 449 MB, free: 40.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1676, allocations: 127.4 kB / 449.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1676, allocations: 0 / 449.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001699/0.1678, allocations: 167.8 kB / 449.3 MB, free: 40.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1678, allocations: 5.812 kB / 449.3 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1678, allocations: 0 / 449.3 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1678, allocations: 2.938 kB / 449.3 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1679, allocations: 52.44 kB / 449.3 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000145/0.1681, allocations: 0.588 MB / 449.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.1681, allocations: 13.12 kB / 449.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1681, allocations: 14.06 kB / 449.9 MB, free: 40.1 MB / 410.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 5.072e-05/0.1682, allocations: 124 kB / 450.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.1682, allocations: 6.859 kB / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.1684, allocations: 177.2 kB / 450.2 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1684, allocations: 4 kB / 450.2 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1684, allocations: 0 / 450.2 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1684, allocations: 2.812 kB / 450.2 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1686, allocations: 177.3 kB / 450.4 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1686, allocations: 2.906 kB / 450.4 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1687, allocations: 43.05 kB / 450.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.1687, allocations: 0 / 450.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1687, allocations: 10.72 kB / 450.5 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001414/0.1688, allocations: 0.5933 MB / 451.1 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1688, allocations: 4.094 kB / 451.1 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1691, allocations: 292.8 kB / 451.4 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.1691, allocations: 17.19 kB / 451.4 MB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1691, allocations: 9 kB / 451.4 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.1692, allocations: 6.281 kB / 451.4 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.1692, allocations: 16.11 kB / 451.4 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1692, allocations: 2.688 kB / 451.4 MB, free: 38.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.1693, allocations: 94.88 kB / 451.5 MB, free: 38.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1693, allocations: 4.062 kB / 451.5 MB, free: 38.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.1695, allocations: 81.94 kB / 451.6 MB, free: 38.79 MB / 410.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.0005417/0.17, allocations: 0.8932 MB / 452.5 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.1703, allocations: 131.6 kB / 452.6 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1703, allocations: 0 / 452.6 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.1704, allocations: 68.61 kB / 452.7 MB, free: 38.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.1706, allocations: 24.42 kB / 452.7 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1717, allocations: 1.692 MB / 454.4 MB, free: 36.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.758e-05/0.1718, allocations: 89.14 kB / 454.5 MB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.215e-05/0.1718, allocations: 23.81 kB / 454.5 MB, free: 36.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.1719, allocations: 40.47 kB / 454.5 MB, free: 36.47 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1719, allocations: 0 / 454.5 MB, free: 36.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.1894, allocations: 4.524 MB / 459.1 MB, free: 35.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.759, allocations: 5.156 kB / 459.1 MB, free: 35.39 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.787810161709785]