Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002214/0.002214, allocations: 107.5 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00287/0.00287, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3654/0.3654, allocations: 34.25 MB / 295.2 MB, free: 0.625 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.859e-05, allocations: 4.141 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003204/0.003232, allocations: 1.701 MB / 378.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.004975, allocations: 0.8723 MB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.005032, allocations: 3.938 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.0053, allocations: 35.78 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.005518, allocations: 47.73 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.006031, allocations: 135.4 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.006311, allocations: 155.2 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.006356, allocations: 5.641 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.006488, allocations: 71.73 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.006626, allocations: 63.8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.00665, allocations: 8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005911/0.007241, allocations: 159.7 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.007327, allocations: 43.83 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.007394, allocations: 39.88 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.007843, allocations: 243.1 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007846, allocations: 0 / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007848, allocations: 0 / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.007852, allocations: 0 / 380.8 MB, free: 15.29 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.0007569/0.008609, allocations: 0.4915 MB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.008645, allocations: 8.031 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.00972, allocations: 136.5 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.01003, allocations: 168.3 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.01005, allocations: 16.36 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.0101, allocations: 8.375 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.0107, allocations: 250 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.01071, allocations: 8.172 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.01074, allocations: 4.375 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/0.01079, allocations: 23.92 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006658/0.01145, allocations: 231.8 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01289, allocations: 0.5983 MB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.01343, allocations: 111 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.01362, allocations: 43.69 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.01366, allocations: 4.031 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.01369, allocations: 37.39 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.01369, allocations: 0 / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008158/0.01451, allocations: 173.5 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.01456, allocations: 55.34 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.01474, allocations: 204.1 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.01477, allocations: 29.7 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.01491, allocations: 194.8 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.01498, allocations: 43.67 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.01509, allocations: 55.33 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.01536, allocations: 0.5 MB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.01556, allocations: 35.97 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.01584, allocations: 124.2 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.01635, allocations: 165.3 kB / 384.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01635, allocations: 0 / 384.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006487/0.017, allocations: 193.3 kB / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.01702, allocations: 8.219 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.01703, allocations: 8 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.01705, allocations: 4 kB / 384.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.0175, allocations: 71.94 kB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.01934, allocations: 2.703 MB / 387.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.01953, allocations: 15.89 kB / 387.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.01956, allocations: 16.16 kB / 387.5 MB, free: 8.242 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.0004432/0.02001, allocations: 180.6 kB / 387.7 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.02007, allocations: 7.953 kB / 387.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006431/0.02071, allocations: 182.5 kB / 387.9 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.02072, allocations: 4 kB / 387.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.02072, allocations: 7.938 kB / 387.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02073, allocations: 3.984 kB / 387.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.02104, allocations: 184.5 kB / 388 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02104, allocations: 0 / 388 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.02146, allocations: 67.88 kB / 388.1 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.02147, allocations: 0 / 388.1 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.02151, allocations: 15.97 kB / 388.1 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.02325, allocations: 2.688 MB / 390.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.02325, allocations: 3.938 kB / 390.8 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.02389, allocations: 283.7 kB / 391.1 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.02391, allocations: 15.84 kB / 391.1 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.02394, allocations: 4 kB / 391.1 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.02411, allocations: 7.984 kB / 391.1 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.02418, allocations: 15.91 kB / 391.1 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.02421, allocations: 11.98 kB / 391.2 MB, free: 4.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.02432, allocations: 152 kB / 391.3 MB, free: 4.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02432, allocations: 4.062 kB / 391.3 MB, free: 4.266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.02471, allocations: 63.77 kB / 391.4 MB, free: 4.203 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.000301/0.02501, allocations: 123.1 kB / 391.5 MB, free: 4.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007447/0.02575, allocations: 167.6 kB / 391.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02576, allocations: 0 / 391.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.02616, allocations: 99.55 kB / 391.7 MB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.02646, allocations: 19.97 kB / 391.8 MB, free: 3.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/0.02729, allocations: 315.1 kB / 392.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.02744, allocations: 126.1 kB / 392.2 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.02763, allocations: 52.95 kB / 392.2 MB, free: 3.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.02774, allocations: 28.47 kB / 392.3 MB, free: 3.234 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02774, allocations: 0 / 392.3 MB, free: 3.234 MB / 362.7 MB Notification: Performance of Templates: time 0.007773/0.03551, allocations: 2.744 MB / 395 MB, free: 0.5391 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.223316455958411]