Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002055/0.002055, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002806/0.002806, allocations: 161.6 kB / 24.27 MB, free: 172 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.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3606/0.3606, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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: 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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.852e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.00527/0.005309, allocations: 1.662 MB / 379 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.008004, allocations: 0.845 MB / 379.8 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.008108, allocations: 0 / 379.8 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.008473, allocations: 27.78 kB / 379.8 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.008811, allocations: 59.67 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.009663, allocations: 139.4 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.01005, allocations: 147.2 kB / 380.2 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.995e-05/0.01012, allocations: 9.641 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.01039, allocations: 71.73 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.01061, allocations: 67.8 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.01065, allocations: 4 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005455/0.0112, allocations: 159.7 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.01134, allocations: 43.84 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.01145, allocations: 39.84 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007147/0.01217, allocations: 243.2 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.01217, allocations: 0 / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.47e-06/0.01218, allocations: 3.984 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.01219, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.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.001293/0.01348, allocations: 397.4 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.633e-05/0.01355, allocations: 8.031 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.01558, allocations: 140.5 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.01604, allocations: 173.4 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.01607, allocations: 12.38 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.01614, allocations: 16.36 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.01735, allocations: 317.8 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.01736, allocations: 192 / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.01741, allocations: 8.359 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/0.01748, allocations: 23.92 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.01892, allocations: 327.7 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.02136, allocations: 0.564 MB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.02261, allocations: 218.3 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.02314, allocations: 80.81 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.02318, allocations: 0 / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.02323, allocations: 38.56 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.02323, allocations: 7.938 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001852/0.02509, allocations: 289.4 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.02515, allocations: 51.41 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.02539, allocations: 142 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.02544, allocations: 29.7 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.02561, allocations: 144.1 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.02568, allocations: 35.69 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.02586, allocations: 49.67 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.02613, allocations: 330.8 kB / 384.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.02664, allocations: 79.91 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.02726, allocations: 144.7 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.02838, allocations: 222.6 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.02839, allocations: 3.984 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001362/0.02975, allocations: 269.2 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.02978, allocations: 4.219 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.02981, allocations: 8 kB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.02984, allocations: 0 / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/0.03059, allocations: 83.86 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.03269, allocations: 1.789 MB / 386.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.03306, allocations: 19.88 kB / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.03311, allocations: 15.98 kB / 386.8 MB, free: 9.152 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.0002803/0.03339, allocations: 146 kB / 386.9 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.03349, allocations: 7.953 kB / 386.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.0348, allocations: 266.4 kB / 387.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.03481, allocations: 3.984 kB / 387.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.03482, allocations: 7.938 kB / 387.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.03482, allocations: 0 / 387.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.03532, allocations: 193.2 kB / 387.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.03533, allocations: 0 / 387.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.03591, allocations: 67.92 kB / 387.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.03592, allocations: 0 / 387.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.03597, allocations: 11.98 kB / 387.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.03787, allocations: 1.782 MB / 389.2 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.03788, allocations: 11.81 kB / 389.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.03917, allocations: 307.3 kB / 389.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.03922, allocations: 11.91 kB / 389.6 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.03927, allocations: 3.984 kB / 389.6 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.03961, allocations: 11.98 kB / 389.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.03973, allocations: 23.84 kB / 389.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.03978, allocations: 11.97 kB / 389.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.03994, allocations: 110.5 kB / 389.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03994, allocations: 0 / 389.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006876/0.04062, allocations: 63.77 kB / 389.8 MB, free: 6.004 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.0004816/0.04111, allocations: 131.1 kB / 389.9 MB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.0426, allocations: 235.6 kB / 390.2 MB, free: 5.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.0426, allocations: 0 / 390.2 MB, free: 5.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007783/0.04338, allocations: 127.8 kB / 390.3 MB, free: 5.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.04393, allocations: 19.97 kB / 390.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.0456, allocations: 363.5 kB / 390.7 MB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.04588, allocations: 122.2 kB / 390.8 MB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.04617, allocations: 64.95 kB / 390.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.04634, allocations: 32.45 kB / 390.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of SimCode: time 1.001e-06/0.04634, allocations: 4 kB / 390.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of Templates: time 0.01139/0.05773, allocations: 2.725 MB / 393.6 MB, free: 2.211 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.2427035650471225]