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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009512/0.0009513, allocations: 99.61 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 45.14 MB / 383.8 MB, free: 324 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.487e-05/1.488e-05, allocations: 0 / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09867/0.0987, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.481, allocations: 88.64 MB / 0.5909 GB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.4812, allocations: 79.83 kB / 0.591 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01445/0.4957, allocations: 5.449 MB / 0.5963 GB, free: 9.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4957, allocations: 4 kB / 0.5963 GB, free: 9.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4957, allocations: 0 / 0.5963 GB, free: 9.582 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.0004488/0.4962, allocations: 409.8 kB / 0.5967 GB, free: 9.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.4963, allocations: 12.03 kB / 0.5967 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.4963, allocations: 11.86 kB / 0.5967 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.4965, allocations: 173.1 kB / 0.5969 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4965, allocations: 4 kB / 0.5969 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.4965, allocations: 4 kB / 0.5969 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001256/0.4966, allocations: 55.59 kB / 0.597 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.31e-05/0.4967, allocations: 56.19 kB / 0.597 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4968, allocations: 4 kB / 0.597 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.4968, allocations: 0 / 0.597 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4968, allocations: 0 / 0.597 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.497, allocations: 169.2 kB / 0.5972 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.204e-05/0.4971, allocations: 66.88 kB / 0.5973 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.4972, allocations: 38.84 kB / 0.5973 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.4972, allocations: 15.48 kB / 0.5973 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.4973, allocations: 37.8 kB / 0.5973 GB, free: 8.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.4973, allocations: 0 / 0.5973 GB, free: 8.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.02056/0.5178, allocations: 1.853 MB / 0.5991 GB, free: 6.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.5179, allocations: 51.41 kB / 0.5992 GB, free: 6.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.518, allocations: 115.3 kB / 0.5993 GB, free: 6.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.5181, allocations: 25.7 kB / 0.5993 GB, free: 6.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.5181, allocations: 91.36 kB / 0.5994 GB, free: 6.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.5182, allocations: 33.22 kB / 0.5995 GB, free: 6.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.5182, allocations: 4 kB / 0.5995 GB, free: 6.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5184, allocations: 325.8 kB / 0.5998 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.5185, allocations: 71.17 kB / 0.5998 GB, free: 6.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.5187, allocations: 77.05 kB / 0.5999 GB, free: 5.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.52, allocations: 244 kB / 0.6001 GB, free: 5.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.52, allocations: 0 / 0.6001 GB, free: 5.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001491/0.5215, allocations: 382.3 kB / 0.6005 GB, free: 5.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5215, allocations: 4 kB / 0.6005 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5215, allocations: 4 kB / 0.6005 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5216, allocations: 0 / 0.6005 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.5221, allocations: 63.94 kB / 0.6006 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5221, allocations: 3.984 kB / 0.6006 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.5225, allocations: 43.95 kB / 0.6006 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.5225, allocations: 7.984 kB / 0.6006 GB, free: 5.352 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 0.0001087/0.5226, allocations: 111.6 kB / 0.6007 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.5227, allocations: 11.81 kB / 0.6007 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.5244, allocations: 426.5 kB / 0.6012 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5244, allocations: 0 / 0.6012 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5244, allocations: 0 / 0.6012 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5244, allocations: 0 / 0.6012 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.5276, allocations: 0.8659 MB / 0.602 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5276, allocations: 8 kB / 0.602 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.5281, allocations: 64.03 kB / 0.6021 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5281, allocations: 4 kB / 0.6021 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.5281, allocations: 3.984 kB / 0.6021 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5281, allocations: 7.938 kB / 0.6021 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5281, allocations: 0 / 0.6021 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.5297, allocations: 0.5112 MB / 0.6026 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.5298, allocations: 118.4 kB / 0.6027 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.5299, allocations: 7.938 kB / 0.6027 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.5303, allocations: 35.97 kB / 0.6027 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.5303, allocations: 15.92 kB / 0.6028 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.5304, allocations: 7.984 kB / 0.6028 GB, free: 3.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.508e-05/0.5304, allocations: 99.53 kB / 0.6029 GB, free: 3.219 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5305, allocations: 0 / 0.6029 GB, free: 3.219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005658/0.531, allocations: 178.6 kB / 0.603 GB, free: 3.047 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.0006464/0.5317, allocations: 250.1 kB / 0.6033 GB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.532, allocations: 170.3 kB / 0.6034 GB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.532, allocations: 4 kB / 0.6034 GB, free: 2.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.5322, allocations: 97.09 kB / 0.6035 GB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.5324, allocations: 21.22 kB / 0.6035 GB, free: 2.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.5343, allocations: 363.4 kB / 0.6039 GB, free: 2.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.5346, allocations: 0.6963 MB / 0.6046 GB, free: 1.527 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.5349, allocations: 44.41 kB / 0.6046 GB, free: 1.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.535, allocations: 26.98 kB / 0.6046 GB, free: 1.461 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.535, allocations: 0 / 0.6046 GB, free: 1.461 MB / 394.7 MB Notification: Performance of Templates: time 0.009072/0.5441, allocations: 5.381 MB / 0.6099 GB, free: 12.1 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