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.001323/0.001323, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002357/0.002357, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.453/1.453, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2338/0.2338, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 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 0.001928/0.001928, allocations: 67.89 kB / 0.491 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1237, allocations: 65.99 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003172/0.1269, allocations: 1.813 MB / 0.5572 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.1291, allocations: 1.41 MB / 0.5585 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.1291, allocations: 4 kB / 0.5586 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.1293, allocations: 43.77 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.1295, allocations: 51.61 kB / 0.5586 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.13, allocations: 259 kB / 0.5589 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1302, allocations: 103.5 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.1302, allocations: 9.109 kB / 0.559 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.1304, allocations: 51.72 kB / 0.559 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.1305, allocations: 51.77 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1305, allocations: 4 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007298/0.1312, allocations: 0.5107 MB / 0.5596 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.1313, allocations: 19.91 kB / 0.5596 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.1313, allocations: 39.67 kB / 0.5597 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.1319, allocations: 358.8 kB / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1319, allocations: 0 / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1319, allocations: 4 kB / 0.56 GB, free: 1.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1319, allocations: 0 / 0.56 GB, free: 1.082 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006161/0.1325, allocations: 458.4 kB / 0.5604 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1325, allocations: 12.03 kB / 0.5604 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/0.1326, allocations: 46.73 kB / 0.5605 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1326, allocations: 8.891 kB / 0.5605 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1328, allocations: 176.2 kB / 0.5607 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1328, allocations: 12.38 kB / 0.5607 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.1328, allocations: 15.94 kB / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.1331, allocations: 137.6 kB / 0.5608 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1331, allocations: 0 / 0.5608 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1331, allocations: 7.984 kB / 0.5608 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1331, allocations: 8 kB / 0.5608 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.1335, allocations: 132 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009242/0.1344, allocations: 0.5221 MB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1347, allocations: 94.59 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1348, allocations: 48.83 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1349, allocations: 0 / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1349, allocations: 30.56 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.1349, allocations: 0 / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005371/0.1354, allocations: 173.7 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.1355, allocations: 59.41 kB / 0.5619 GB, free: 14.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1356, allocations: 117.7 kB / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1356, allocations: 25.7 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.1357, allocations: 119.7 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.1357, allocations: 35.69 kB / 0.5622 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1358, allocations: 33.7 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1359, allocations: 330.8 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1361, allocations: 35.97 kB / 0.5625 GB, free: 14.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.1362, allocations: 77.06 kB / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.1365, allocations: 136.9 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1365, allocations: 0 / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003692/0.1369, allocations: 157.5 kB / 0.5629 GB, free: 13.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1369, allocations: 8 kB / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1369, allocations: 0 / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1369, allocations: 0 / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.1372, allocations: 47.97 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004258/0.1376, allocations: 0.6056 MB / 0.5635 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1377, allocations: 4 kB / 0.5635 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.1377, allocations: 8 kB / 0.5635 GB, free: 13.14 MB / 430.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.0001216/0.1378, allocations: 131.9 kB / 0.5637 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1379, allocations: 7.953 kB / 0.5637 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.1383, allocations: 174.3 kB / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.1383, allocations: 4 kB / 0.5638 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1383, allocations: 3.938 kB / 0.5639 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1383, allocations: 3.984 kB / 0.5639 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.1386, allocations: 213.6 kB / 0.5641 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1386, allocations: 3.984 kB / 0.5641 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.1388, allocations: 43.92 kB / 0.5641 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1388, allocations: 0 / 0.5641 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1388, allocations: 7.984 kB / 0.5641 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003677/0.1392, allocations: 0.586 MB / 0.5647 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1392, allocations: 0 / 0.5647 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.1397, allocations: 307 kB / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.1398, allocations: 96.95 kB / 0.5651 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1398, allocations: 4 kB / 0.5651 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.14, allocations: 11.98 kB / 0.5651 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.14, allocations: 7.984 kB / 0.5651 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.14, allocations: 8 kB / 0.5651 GB, free: 11.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.909e-05/0.1401, allocations: 83.28 kB / 0.5652 GB, free: 11.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1401, allocations: 0 / 0.5652 GB, free: 11.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.1404, allocations: 79.67 kB / 0.5653 GB, free: 11.27 MB / 430.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.001083/0.1415, allocations: 0.9037 MB / 0.5661 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004197/0.1419, allocations: 119.9 kB / 0.5663 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.142, allocations: 4.312 kB / 0.5663 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.1422, allocations: 67.89 kB / 0.5663 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1425, allocations: 8 kB / 0.5663 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.1447, allocations: 1.739 MB / 0.568 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1451, allocations: 0.7039 MB / 0.5687 GB, free: 7.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.086e-05/0.1451, allocations: 16.55 kB / 0.5687 GB, free: 7.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.1452, allocations: 35.42 kB / 0.5688 GB, free: 7.512 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1452, allocations: 192 / 0.5688 GB, free: 7.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.1746, allocations: 3.92 MB / 0.5726 GB, free: 3.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.06, allocations: 16.11 kB / 0.5726 GB, free: 3.809 MB / 430.1 MB " [Timeout remaining time 647] (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/jenkins1/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/jenkins1/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: 16.13847280596383]