Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",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.002146/0.002145, allocations: 181.6 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.15/2.15, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001645/0.001644, allocations: 90.64 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.2856/0.2856, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.44e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.89/11.02, allocations: 3.604 GB / 4.077 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/11.02, allocations: 86.36 kB / 4.077 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.947/13.96, allocations: 473.9 MB / 4.54 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.765e-06/13.96, allocations: 0 / 4.54 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001065/13.96, allocations: 27.72 kB / 4.54 GB, free: 74.71 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009005/13.97, allocations: 1.951 MB / 4.541 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/13.97, allocations: 7.969 kB / 4.541 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004949/13.97, allocations: 126.3 kB / 4.542 GB, free: 73.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007562/13.97, allocations: 121.3 kB / 4.542 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/13.98, allocations: 0.7425 MB / 4.542 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/13.98, allocations: 55.81 kB / 4.542 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/13.98, allocations: 70.62 kB / 4.543 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/13.98, allocations: 1.218 MB / 4.544 GB, free: 73.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/13.98, allocations: 3.844 kB / 4.544 GB, free: 73.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/13.98, allocations: 30.39 kB / 4.544 GB, free: 73.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/13.98, allocations: 71.91 kB / 4.544 GB, free: 73.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/13.98, allocations: 1.333 MB / 4.545 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/14, allocations: 4.722 MB / 4.55 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/14, allocations: 0.8148 MB / 4.551 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/14, allocations: 380.5 kB / 4.551 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008691/14, allocations: 0.743 MB / 4.552 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.522e-05/14, allocations: 47.91 kB / 4.552 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 3.636e-06/14, allocations: 0 / 4.552 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.002619/14.01, allocations: 0.8379 MB / 4.553 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/14.01, allocations: 111.7 kB / 4.553 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/14.01, allocations: 0.8579 MB / 4.553 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002313/14.01, allocations: 37.02 kB / 4.553 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/14.01, allocations: 455.5 kB / 4.554 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/14.01, allocations: 193.2 kB / 4.554 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/14.01, allocations: 14.38 kB / 4.554 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/14.01, allocations: 348.9 kB / 4.554 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/14.01, allocations: 426.9 kB / 4.555 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/14.01, allocations: 0.539 MB / 4.555 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/14.01, allocations: 0.4956 MB / 4.556 GB, free: 69.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/14.01, allocations: 0 / 4.556 GB, free: 69.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003044/14.02, allocations: 1.12 MB / 4.557 GB, free: 69.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000263/14.02, allocations: 0.9586 MB / 4.558 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/14.02, allocations: 5.562 kB / 4.558 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.145e-05/14.02, allocations: 10.81 kB / 4.558 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/14.02, allocations: 207.8 kB / 4.558 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/14.02, allocations: 7.875 kB / 4.558 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/14.02, allocations: 140.9 kB / 4.558 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/14.02, allocations: 66.09 kB / 4.558 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/14.02, allocations: 6.531 kB / 4.558 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002837/14.02, allocations: 1.025 MB / 4.559 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/14.02, allocations: 5.625 kB / 4.559 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/14.02, allocations: 7.406 kB / 4.559 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/14.02, allocations: 208.3 kB / 4.56 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/14.02, allocations: 7.469 kB / 4.56 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/14.03, allocations: 92.62 kB / 4.56 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/14.03, allocations: 55.3 kB / 4.56 GB, free: 68.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0003907/14.03, allocations: 150.4 kB / 4.56 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/14.03, allocations: 98.3 kB / 4.56 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/14.03, allocations: 1.206 MB / 4.561 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/14.03, allocations: 11.08 kB / 4.561 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/14.03, allocations: 0 / 4.561 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/14.03, allocations: 3.703 kB / 4.561 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/14.03, allocations: 1.956 MB / 4.563 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/14.03, allocations: 3.812 kB / 4.563 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/14.04, allocations: 131.2 kB / 4.563 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/14.04, allocations: 7.328 kB / 4.563 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/14.04, allocations: 22.31 kB / 4.563 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/14.04, allocations: 9.969 kB / 4.563 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/14.04, allocations: 6.781 kB / 4.563 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/14.04, allocations: 1.104 MB / 4.564 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/14.04, allocations: 211.2 kB / 4.564 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/14.04, allocations: 22.19 kB / 4.565 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/14.04, allocations: 50.59 kB / 4.565 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/14.04, allocations: 49.25 kB / 4.565 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/14.04, allocations: 56.31 kB / 4.565 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001396/14.04, allocations: 0.6791 MB / 4.565 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/14.04, allocations: 4.875 kB / 4.565 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005647/14.05, allocations: 1.355 MB / 4.567 GB, free: 66.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.009774/14.06, allocations: 4.069 MB / 4.571 GB, free: 65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004056/14.06, allocations: 1.491 MB / 4.572 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/14.06, allocations: 3.656 kB / 4.572 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/14.06, allocations: 424.6 kB / 4.572 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/14.07, allocations: 499.6 kB / 4.573 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006692/14.08, allocations: 1.99 MB / 4.575 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/14.08, allocations: 1.07 MB / 4.576 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/14.08, allocations: 392 kB / 4.576 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of SimCode: time 2.034e-06/14.08, allocations: 0 / 4.576 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.627/17.7, allocations: 37.01 MB / 4.612 GB, free: 52.55 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat