Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 78.67 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2903/0.2903, allocations: 43.5 MB / 359.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.67e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5017/0.6298, allocations: 87.06 MB / 0.5579 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.6301, allocations: 78.33 kB / 0.558 GB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02515/0.6553, allocations: 5.351 MB / 0.5632 GB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6554, allocations: 0 / 0.5632 GB, free: 11.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.6554, allocations: 4 kB / 0.5632 GB, free: 11.89 MB / 378.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.0006132/0.656, allocations: 402.3 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.6561, allocations: 15.97 kB / 0.5636 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.6561, allocations: 34.55 kB / 0.5636 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.6562, allocations: 7.953 kB / 0.5637 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.6564, allocations: 171.9 kB / 0.5638 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.6564, allocations: 7.688 kB / 0.5638 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.6564, allocations: 8 kB / 0.5638 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.6566, allocations: 70.89 kB / 0.5639 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.6567, allocations: 3.938 kB / 0.5639 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6567, allocations: 3.984 kB / 0.5639 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6567, allocations: 0 / 0.5639 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.6568, allocations: 57.61 kB / 0.564 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.6571, allocations: 198.2 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.6573, allocations: 56.25 kB / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.155e-05/0.6574, allocations: 47.41 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.119e-05/0.6575, allocations: 19.42 kB / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.6575, allocations: 31.09 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.6575, allocations: 0 / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.03583/0.6934, allocations: 1.413 MB / 0.5657 GB, free: 9.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.6935, allocations: 63.34 kB / 0.5657 GB, free: 9.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.6937, allocations: 115.1 kB / 0.5658 GB, free: 9.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.6937, allocations: 28.95 kB / 0.5659 GB, free: 9.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.6938, allocations: 158 kB / 0.566 GB, free: 8.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.6939, allocations: 42.75 kB / 0.5661 GB, free: 8.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.694, allocations: 3.25 kB / 0.5661 GB, free: 8.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.6941, allocations: 318.1 kB / 0.5664 GB, free: 8.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.6944, allocations: 77.36 kB / 0.5664 GB, free: 8.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.6947, allocations: 85.11 kB / 0.5665 GB, free: 8.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.6951, allocations: 68.58 kB / 0.5666 GB, free: 8.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6951, allocations: 0 / 0.5666 GB, free: 8.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007461/0.6959, allocations: 211.3 kB / 0.5668 GB, free: 8.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6959, allocations: 7.438 kB / 0.5668 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.6959, allocations: 0 / 0.5668 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.6959, allocations: 4 kB / 0.5668 GB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.697, allocations: 71.86 kB / 0.5669 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.697, allocations: 0 / 0.5669 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008075/0.6978, allocations: 51.17 kB / 0.5669 GB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.6979, allocations: 7.984 kB / 0.5669 GB, free: 8.199 MB / 378.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.0001515/0.6981, allocations: 106.7 kB / 0.567 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.6981, allocations: 7.906 kB / 0.567 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.6992, allocations: 260.8 kB / 0.5673 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6992, allocations: 4 kB / 0.5673 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.6992, allocations: 0 / 0.5673 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6993, allocations: 3.984 kB / 0.5673 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.7032, allocations: 0.7252 MB / 0.568 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.7033, allocations: 0 / 0.568 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009621/0.7043, allocations: 74.91 kB / 0.5681 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.7043, allocations: 0 / 0.5681 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.7043, allocations: 15.92 kB / 0.5681 GB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.7044, allocations: 4 kB / 0.5681 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7044, allocations: 4 kB / 0.5681 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008825/0.7053, allocations: 356.3 kB / 0.5684 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.7055, allocations: 111.8 kB / 0.5685 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.7055, allocations: 0 / 0.5685 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008333/0.7064, allocations: 43.58 kB / 0.5686 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.7064, allocations: 8 kB / 0.5686 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.7065, allocations: 11.98 kB / 0.5686 GB, free: 6.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.7066, allocations: 102.3 kB / 0.5687 GB, free: 6.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7066, allocations: 0 / 0.5687 GB, free: 6.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008774/0.7075, allocations: 175.5 kB / 0.5689 GB, free: 6.332 MB / 378.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.002352/0.7099, allocations: 1.257 MB / 0.5701 GB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.7106, allocations: 180.2 kB / 0.5703 GB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7106, allocations: 0 / 0.5703 GB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.711, allocations: 99.56 kB / 0.5704 GB, free: 4.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.7113, allocations: 11.19 kB / 0.5704 GB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.7157, allocations: 0.4998 MB / 0.5709 GB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.7162, allocations: 0.7003 MB / 0.5715 GB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.7165, allocations: 39.28 kB / 0.5716 GB, free: 3.645 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7165, allocations: 0 / 0.5716 GB, free: 3.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.637/3.354, allocations: 5.038 MB / 0.5765 GB, free: 14.61 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat