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.001363/0.001363, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.0009579/0.0009579, allocations: 166.7 kB / 24.99 MB, free: 8.789 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.9911/0.9911, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2698/0.2698, allocations: 32.8 MB / 294.6 MB, free: 1.309 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.[0-9,]+.|a.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|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.[0-9,]+.|a.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|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.813e-06/1.813e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.792e-05/3.973e-05, allocations: 6.25 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003011/0.003051, allocations: 1.724 MB / 377.8 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.004408, allocations: 0.88 MB / 378.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.004468, allocations: 0 / 378.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.004704, allocations: 35.72 kB / 378.7 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.004878, allocations: 51.67 kB / 378.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.005247, allocations: 139.5 kB / 378.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.005406, allocations: 143.2 kB / 379 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.005451, allocations: 5.641 kB / 379 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.005541, allocations: 75.73 kB / 379.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.799e-05/0.005639, allocations: 67.8 kB / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.005657, allocations: 4 kB / 379.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.005878, allocations: 155.7 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.005946, allocations: 39.86 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.005993, allocations: 39.84 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.006281, allocations: 239.1 kB / 379.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.006287, allocations: 4 kB / 379.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006288, allocations: 0 / 379.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.006294, allocations: 0 / 379.6 MB, free: 1.367 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.0005195/0.006814, allocations: 499.7 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.006853, allocations: 8.031 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006489/0.007502, allocations: 132.5 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.007689, allocations: 168.3 kB / 380.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.007705, allocations: 12.36 kB / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.007732, allocations: 24.36 kB / 380.4 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.008104, allocations: 218.7 kB / 380.7 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.008112, allocations: 192 / 380.7 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.008133, allocations: 8.359 kB / 380.7 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.008172, allocations: 23.92 kB / 380.7 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.008366, allocations: 135.8 kB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.009272, allocations: 0.5554 MB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.009555, allocations: 106.9 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/0.009628, allocations: 35.8 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.009659, allocations: 7.938 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.00969, allocations: 41.39 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.009692, allocations: 0 / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003933/0.01009, allocations: 145.5 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003517/0.01044, allocations: 55.41 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.01056, allocations: 193.9 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.01058, allocations: 29.7 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.01067, allocations: 194.8 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.0107, allocations: 39.69 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.01077, allocations: 59.33 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.0109, allocations: 0.4922 MB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.01098, allocations: 27.97 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.01108, allocations: 108 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.01125, allocations: 145.3 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01125, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002596/0.01151, allocations: 173.4 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.01154, allocations: 8 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01154, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.01156, allocations: 4 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.01186, allocations: 71.94 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009292/0.01279, allocations: 2.703 MB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.01289, allocations: 15.92 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.01292, allocations: 19.97 kB / 386 MB, free: 10.6 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.0001167/0.01304, allocations: 164.5 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.01307, allocations: 15.89 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.01339, allocations: 162.7 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.01339, allocations: 4 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.0134, allocations: 3.938 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.0134, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.01358, allocations: 196.5 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01358, allocations: 3.938 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.01375, allocations: 63.94 kB / 386.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01376, allocations: 0 / 386.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.01377, allocations: 11.98 kB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.01481, allocations: 2.684 MB / 389.3 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.01482, allocations: 3.938 kB / 389.3 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.0151, allocations: 279.7 kB / 389.6 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.01512, allocations: 7.953 kB / 389.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.01514, allocations: 0 / 389.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.988e-05/0.01523, allocations: 12.17 kB / 389.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.01528, allocations: 19.91 kB / 389.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.0153, allocations: 7.984 kB / 389.6 MB, free: 6.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.01535, allocations: 147.1 kB / 389.8 MB, free: 6.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01535, allocations: 0 / 389.8 MB, free: 6.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.01564, allocations: 63.83 kB / 389.8 MB, free: 6.609 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.000263/0.0159, allocations: 135.1 kB / 390 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.01624, allocations: 139.5 kB / 390.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.01625, allocations: 4 kB / 390.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.0164, allocations: 92.05 kB / 390.2 MB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.01662, allocations: 15.98 kB / 390.2 MB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.01743, allocations: 336.3 kB / 390.5 MB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.01748, allocations: 79.31 kB / 390.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.01759, allocations: 52.95 kB / 390.7 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.01766, allocations: 28.47 kB / 390.7 MB, free: 5.691 MB / 362.7 MB Notification: Performance of SimCode: time 2.425e-06/0.01767, allocations: 0 / 390.7 MB, free: 5.691 MB / 362.7 MB Notification: Performance of Templates: time 0.004612/0.02228, allocations: 2.727 MB / 393.4 MB, free: 3.012 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4236241958569735]