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.001152/0.001152, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001148/0.001148, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 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.067/1.067, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] 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.1824/0.1824, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 180] 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.[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_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.[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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.888e-05, allocations: 5.891 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002832/0.002861, allocations: 1.719 MB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.004244, allocations: 0.8723 MB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.004334, allocations: 3.938 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.004622, allocations: 27.84 kB / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.004845, allocations: 59.61 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.005381, allocations: 139.4 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.005584, allocations: 143.2 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.005634, allocations: 9.578 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.00574, allocations: 75.8 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.005857, allocations: 63.8 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.005874, allocations: 4 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.006198, allocations: 155.7 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.00628, allocations: 39.84 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.006351, allocations: 43.84 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.006767, allocations: 239.1 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.006771, allocations: 0 / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006773, allocations: 0 / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.006778, allocations: 0 / 383.6 MB, free: 19.14 MB / 314.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.0005244/0.007303, allocations: 495.7 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.007344, allocations: 12.03 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007156/0.00806, allocations: 116.5 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.00825, allocations: 160.3 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.008271, allocations: 12.36 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.008299, allocations: 16.38 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.008654, allocations: 198.7 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.008665, allocations: 4.188 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.008685, allocations: 384 / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.008723, allocations: 27.92 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.008885, allocations: 101 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.009779, allocations: 0.5266 MB / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.01004, allocations: 90.97 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.0101, allocations: 31.7 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.01012, allocations: 4.094 kB / 385.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.01014, allocations: 45.33 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.01014, allocations: 0 / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003507/0.01049, allocations: 129.5 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.01051, allocations: 51.41 kB / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.0106, allocations: 203.8 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.01061, allocations: 25.7 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.01068, allocations: 194.8 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.0107, allocations: 47.67 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/0.01078, allocations: 59.31 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.01084, allocations: 0.4961 MB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.01091, allocations: 19.97 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.011, allocations: 101.5 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.01116, allocations: 133.7 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01117, allocations: 0 / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002794/0.01144, allocations: 165.4 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01146, allocations: 8 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01147, allocations: 0 / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.01148, allocations: 4 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.01177, allocations: 71.94 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005505/0.01233, allocations: 2.699 MB / 389.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.01246, allocations: 24.11 kB / 389.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.01249, allocations: 15.98 kB / 389.8 MB, free: 12.56 MB / 314.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 9.404e-05/0.01258, allocations: 168.5 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.01263, allocations: 7.953 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.01292, allocations: 158.3 kB / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01292, allocations: 0 / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01292, allocations: 0 / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01293, allocations: 3.938 kB / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.01311, allocations: 145.1 kB / 390.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01311, allocations: 0 / 390.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.01333, allocations: 71.88 kB / 390.4 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.01334, allocations: 3.984 kB / 390.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.01335, allocations: 11.98 kB / 390.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004471/0.0138, allocations: 2.695 MB / 393.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.0138, allocations: 0 / 393.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.01406, allocations: 267.7 kB / 393.4 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.01408, allocations: 11.91 kB / 393.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.0141, allocations: 0 / 393.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01421, allocations: 12.17 kB / 393.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.01426, allocations: 15.97 kB / 393.4 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.01428, allocations: 7.984 kB / 393.4 MB, free: 8.844 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.01432, allocations: 147.1 kB / 393.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01432, allocations: 0 / 393.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000366/0.01469, allocations: 67.75 kB / 393.6 MB, free: 8.633 MB / 314.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.000233/0.01492, allocations: 127.1 kB / 393.7 MB, free: 8.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.01527, allocations: 129.4 kB / 393.9 MB, free: 8.371 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01527, allocations: 0 / 393.9 MB, free: 8.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.01544, allocations: 99.92 kB / 394 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.01571, allocations: 15.98 kB / 394 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.01649, allocations: 319.9 kB / 394.3 MB, free: 7.914 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.743e-05/0.01654, allocations: 83.31 kB / 394.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.01665, allocations: 36.97 kB / 394.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01676, allocations: 98.16 kB / 394.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01676, allocations: 0 / 394.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of Templates: time 0.005923/0.02268, allocations: 3.035 MB / 397.5 MB, free: 4.719 MB / 314.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","",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.716346561908722]