Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001874/0.001874, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001932/0.001932, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.595/1.595, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3289/0.3289, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: 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_4.0.0_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_4.0.0_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 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.131e-05, allocations: 2.312 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003447/0.003478, allocations: 1.696 MB / 377 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.005238, allocations: 0.8646 MB / 377.9 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.005295, allocations: 11.94 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.005542, allocations: 35.78 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.005749, allocations: 51.67 kB / 378 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.006197, allocations: 135.4 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.006443, allocations: 143.2 kB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.006496, allocations: 13.61 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.006658, allocations: 71.77 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.006821, allocations: 63.78 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.006846, allocations: 4 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.007191, allocations: 163.7 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.573e-05/0.007287, allocations: 39.84 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.007359, allocations: 39.86 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.007813, allocations: 247.1 kB / 378.9 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.007819, allocations: 4 kB / 378.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00782, allocations: 0 / 378.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.007826, allocations: 0 / 378.9 MB, free: 1.371 MB / 346.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.0007754/0.008601, allocations: 491.4 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.008641, allocations: 8.031 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.009683, allocations: 140.5 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.009981, allocations: 168.3 kB / 379.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.01, allocations: 8.375 kB / 379.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.01004, allocations: 16.38 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.01063, allocations: 253.9 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01064, allocations: 192 / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.01067, allocations: 4.375 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.01072, allocations: 27.92 kB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006446/0.01136, allocations: 239.8 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.01278, allocations: 0.6021 MB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.01329, allocations: 107 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.01348, allocations: 39.7 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.01352, allocations: 4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.01356, allocations: 41.42 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.01356, allocations: 4 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007925/0.01435, allocations: 169.5 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.01441, allocations: 51.41 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.0146, allocations: 205.9 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.01464, allocations: 29.69 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.01478, allocations: 190.8 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.01482, allocations: 39.69 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.01494, allocations: 55.33 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002967/0.01523, allocations: 0.5 MB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.01544, allocations: 47.95 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.01572, allocations: 117.5 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.0162, allocations: 165.3 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0162, allocations: 0 / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006041/0.01681, allocations: 197.3 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.01683, allocations: 4 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.01684, allocations: 4 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.01685, allocations: 0 / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.01731, allocations: 79.92 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.01942, allocations: 2.699 MB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.0196, allocations: 23.88 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.01963, allocations: 11.98 kB / 385.5 MB, free: 10.32 MB / 362.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.0198, allocations: 172.6 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.01987, allocations: 19.89 kB / 385.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.02052, allocations: 186.7 kB / 385.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.02052, allocations: 3.984 kB / 385.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.02053, allocations: 3.938 kB / 385.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.02053, allocations: 0 / 385.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.02082, allocations: 188.5 kB / 386.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.02082, allocations: 0 / 386.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.02117, allocations: 63.88 kB / 386.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.02118, allocations: 7.984 kB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.0212, allocations: 11.98 kB / 386.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.02295, allocations: 2.688 MB / 388.9 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.02295, allocations: 3.938 kB / 388.9 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.02355, allocations: 283.7 kB / 389.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.02357, allocations: 15.89 kB / 389.2 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.02361, allocations: 4.188 kB / 389.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.02376, allocations: 4 kB / 389.2 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.02385, allocations: 19.91 kB / 389.2 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.02387, allocations: 7.984 kB / 389.2 MB, free: 6.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.02398, allocations: 154.1 kB / 389.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02398, allocations: 0 / 389.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.02437, allocations: 67.77 kB / 389.4 MB, free: 6.285 MB / 362.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.0002934/0.02466, allocations: 127.1 kB / 389.5 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.02537, allocations: 159.5 kB / 389.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02537, allocations: 0 / 389.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.02576, allocations: 95.98 kB / 389.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.02607, allocations: 35.91 kB / 389.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.02684, allocations: 312.6 kB / 390.1 MB, free: 5.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.02698, allocations: 118.2 kB / 390.2 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.02717, allocations: 56.94 kB / 390.3 MB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.02726, allocations: 28.47 kB / 390.3 MB, free: 5.316 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02726, allocations: 0 / 390.3 MB, free: 5.316 MB / 362.7 MB Notification: Performance of Templates: time 0.007461/0.03472, allocations: 2.728 MB / 393.1 MB, free: 2.633 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.164940758957528]