Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.002105/0.002105, allocations: 92.2 kB / 20.21 MB, free: 4.195 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.002691/0.002691, allocations: 161.3 kB / 23.52 MB, free: 0.8906 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 1.421/1.421, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2265/0.2265, allocations: 32.37 MB / 270 MB, free: 14.86 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.267e-05, allocations: 2.312 kB / 347 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002455/0.002488, allocations: 1.648 MB / 348.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.003752, allocations: 0.8499 MB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.003801, allocations: 4 kB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.004041, allocations: 27.78 kB / 349.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.004215, allocations: 51.67 kB / 349.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.004599, allocations: 139.4 kB / 349.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.004756, allocations: 151.2 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.004796, allocations: 13.56 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.004894, allocations: 67.81 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.004998, allocations: 59.8 kB / 350 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.005019, allocations: 8 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.005263, allocations: 159.7 kB / 350.1 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.005326, allocations: 39.84 kB / 350.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.00538, allocations: 39.86 kB / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.005688, allocations: 247.1 kB / 350.5 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.00569, allocations: 4 kB / 350.5 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005691, allocations: 0 / 350.5 MB, free: 6.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005696, allocations: 0 / 350.5 MB, free: 6.258 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005705/0.006266, allocations: 401.3 kB / 350.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.006306, allocations: 8.031 kB / 350.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.007494, allocations: 140.6 kB / 351 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.007691, allocations: 169.5 kB / 351.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.00771, allocations: 12.38 kB / 351.2 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.00774, allocations: 8.375 kB / 351.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.008305, allocations: 325.9 kB / 351.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.008316, allocations: 192 / 351.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.008345, allocations: 4.375 kB / 351.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.008377, allocations: 27.92 kB / 351.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/0.009044, allocations: 323.6 kB / 351.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.01024, allocations: 0.5717 MB / 352.4 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.01089, allocations: 218.4 kB / 352.6 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.01114, allocations: 84.81 kB / 352.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.01117, allocations: 0 / 352.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.0112, allocations: 34.56 kB / 352.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.0112, allocations: 0 / 352.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009998/0.0122, allocations: 289.3 kB / 353 MB, free: 3.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.01223, allocations: 59.41 kB / 353.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.01232, allocations: 145.8 kB / 353.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.01234, allocations: 25.7 kB / 353.3 MB, free: 3.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.0124, allocations: 148.1 kB / 353.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.01243, allocations: 35.69 kB / 353.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.01251, allocations: 49.67 kB / 353.5 MB, free: 3.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.01256, allocations: 322.8 kB / 353.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.01284, allocations: 87.89 kB / 353.9 MB, free: 2.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.01311, allocations: 142.7 kB / 354 MB, free: 2.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.01364, allocations: 226.9 kB / 354.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.01365, allocations: 0 / 354.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006517/0.01431, allocations: 273.2 kB / 354.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.01432, allocations: 8 kB / 354.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01433, allocations: 0 / 354.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.01435, allocations: 4 kB / 354.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.01479, allocations: 83.86 kB / 354.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005679/0.01536, allocations: 1.789 MB / 356.4 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.01556, allocations: 23.91 kB / 356.4 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.01563, allocations: 19.97 kB / 356.4 MB, free: 15.99 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.0158, allocations: 145.8 kB / 356.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.01586, allocations: 7.953 kB / 356.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008596/0.01672, allocations: 258.4 kB / 356.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.01672, allocations: 4 kB / 356.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.01673, allocations: 3.938 kB / 356.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01674, allocations: 0 / 356.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.01704, allocations: 193.1 kB / 357 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01705, allocations: 4 kB / 357 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.01743, allocations: 67.92 kB / 357.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01743, allocations: 4 kB / 357.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.01746, allocations: 7.984 kB / 357.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.01874, allocations: 1.778 MB / 358.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.01875, allocations: 3.938 kB / 358.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.01955, allocations: 319.5 kB / 359.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.01957, allocations: 15.94 kB / 359.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.0196, allocations: 4 kB / 359.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.01981, allocations: 11.98 kB / 359.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.01989, allocations: 15.91 kB / 359.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.01992, allocations: 11.98 kB / 359.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.02001, allocations: 107.2 kB / 359.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02001, allocations: 0 / 359.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.0204, allocations: 63.83 kB / 359.4 MB, free: 12.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003052/0.02071, allocations: 127 kB / 359.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009121/0.02162, allocations: 231.6 kB / 359.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02162, allocations: 4.438 kB / 359.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.02212, allocations: 135.8 kB / 359.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.02245, allocations: 28.09 kB / 360 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/0.02332, allocations: 354.6 kB / 360.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.02348, allocations: 130.1 kB / 360.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.02369, allocations: 60.39 kB / 360.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.02379, allocations: 36.45 kB / 360.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02379, allocations: 0 / 360.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of Templates: time 0.00757/0.03136, allocations: 2.713 MB / 363.2 MB, free: 9.055 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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: 5.184600356966257]