Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 205 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 90.77 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 45.14 MB / 383.3 MB, free: 496 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.143e-05/1.158e-05, allocations: 4 kB / 452.6 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 63.24 MB / 0.5038 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4972, allocations: 88.57 MB / 0.5903 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4975, allocations: 71.45 kB / 0.5903 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01599/0.5135, allocations: 5.17 MB / 0.5954 GB, free: 10.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.5136, allocations: 0 / 0.5954 GB, free: 10.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004747/0.5141, allocations: 401.6 kB / 0.5958 GB, free: 9.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5141, allocations: 8.031 kB / 0.5958 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.5142, allocations: 12.62 kB / 0.5958 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.5144, allocations: 186.2 kB / 0.596 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.5144, allocations: 3.906 kB / 0.596 GB, free: 9.504 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.5145, allocations: 4 kB / 0.596 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/0.5146, allocations: 48.92 kB / 0.596 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.5147, allocations: 60.17 kB / 0.5961 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5147, allocations: 4 kB / 0.5961 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.5147, allocations: 0 / 0.5961 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5147, allocations: 0 / 0.5961 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.5149, allocations: 166.4 kB / 0.5962 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/0.515, allocations: 57.19 kB / 0.5963 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.5151, allocations: 42.3 kB / 0.5963 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.5151, allocations: 15.48 kB / 0.5964 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.5152, allocations: 34.56 kB / 0.5964 GB, free: 9.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.5152, allocations: 0 / 0.5964 GB, free: 9.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.02222/0.5374, allocations: 1.921 MB / 0.5983 GB, free: 7.266 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.5375, allocations: 55.41 kB / 0.5983 GB, free: 7.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.5376, allocations: 111.3 kB / 0.5984 GB, free: 7.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.5377, allocations: 29.7 kB / 0.5984 GB, free: 7.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.5377, allocations: 88.25 kB / 0.5985 GB, free: 6.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.5378, allocations: 38.83 kB / 0.5986 GB, free: 6.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.5378, allocations: 0 / 0.5986 GB, free: 6.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5379, allocations: 322.6 kB / 0.5989 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.5381, allocations: 73.17 kB / 0.5989 GB, free: 6.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.5382, allocations: 73.86 kB / 0.599 GB, free: 6.527 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.5397, allocations: 264.4 kB / 0.5993 GB, free: 6.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5398, allocations: 0 / 0.5993 GB, free: 6.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001776/0.5415, allocations: 394.2 kB / 0.5996 GB, free: 5.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5416, allocations: 6.5 kB / 0.5997 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5416, allocations: 0 / 0.5997 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5416, allocations: 4 kB / 0.5997 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/0.5422, allocations: 67.92 kB / 0.5997 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.5422, allocations: 3.938 kB / 0.5997 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.5427, allocations: 39.97 kB / 0.5998 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.5427, allocations: 7.984 kB / 0.5998 GB, free: 5.863 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.969e-05/0.5428, allocations: 105 kB / 0.5999 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.5429, allocations: 15.75 kB / 0.5999 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.5449, allocations: 448.7 kB / 0.6003 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.545, allocations: 0 / 0.6003 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.545, allocations: 0 / 0.6003 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.545, allocations: 7.984 kB / 0.6003 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.5485, allocations: 0.881 MB / 0.6012 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5485, allocations: 0 / 0.6012 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.5491, allocations: 71.97 kB / 0.6013 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.5491, allocations: 0 / 0.6013 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.5491, allocations: 7.984 kB / 0.6013 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5491, allocations: 7.906 kB / 0.6013 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5491, allocations: 0 / 0.6013 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001812/0.551, allocations: 0.5241 MB / 0.6018 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.5511, allocations: 110 kB / 0.6019 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.5511, allocations: 4.078 kB / 0.6019 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.5516, allocations: 43.91 kB / 0.6019 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.5517, allocations: 7.984 kB / 0.6019 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.5517, allocations: 6.625 kB / 0.6019 GB, free: 3.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.969e-05/0.5518, allocations: 94.83 kB / 0.602 GB, free: 3.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006205/0.5524, allocations: 174.9 kB / 0.6022 GB, free: 3.512 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006727/0.5531, allocations: 266.1 kB / 0.6025 GB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.5535, allocations: 183.2 kB / 0.6026 GB, free: 3.133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5535, allocations: 0 / 0.6026 GB, free: 3.133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.5536, allocations: 87.59 kB / 0.6027 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.5539, allocations: 13 kB / 0.6027 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.5562, allocations: 417.2 kB / 0.6031 GB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/0.5567, allocations: 0.7417 MB / 0.6038 GB, free: 1.898 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5567, allocations: 0 / 0.6038 GB, free: 1.898 MB / 394.7 MB Notification: Performance of Templates: time 0.01378/0.5705, allocations: 7.617 MB / 0.6113 GB, free: 10.31 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches