Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 179.6 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009565/0.0009568, allocations: 95.09 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3847/0.3847, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4389, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.354/9.793, allocations: 3.439 GB / 3.949 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/9.793, allocations: 98.2 kB / 3.949 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.813/11.61, allocations: 465.2 MB / 4.403 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.255e-06/11.61, allocations: 0 / 4.403 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.45e-05/11.61, allocations: 29.34 kB / 4.403 GB, free: 69.41 MB / 0.5261 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.008082/11.61, allocations: 1.973 MB / 4.405 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/11.61, allocations: 11.62 kB / 4.405 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003143/11.62, allocations: 131.8 kB / 4.405 GB, free: 68.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/11.62, allocations: 122 kB / 4.406 GB, free: 68.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/11.62, allocations: 0.7424 MB / 4.406 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/11.62, allocations: 56.28 kB / 4.406 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/11.62, allocations: 79.06 kB / 4.406 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/11.62, allocations: 1.226 MB / 4.408 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/11.62, allocations: 0 / 4.408 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/11.62, allocations: 36.22 kB / 4.408 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.931e-05/11.62, allocations: 70.84 kB / 4.408 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/11.62, allocations: 1.371 MB / 4.409 GB, free: 67.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008883/11.63, allocations: 4.883 MB / 4.414 GB, free: 65.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/11.63, allocations: 0.8127 MB / 4.415 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/11.63, allocations: 0.7804 MB / 4.415 GB, free: 65.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/11.63, allocations: 47.67 kB / 4.415 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/11.63, allocations: 0 / 4.415 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002077/11.63, allocations: 1.182 MB / 4.417 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/11.64, allocations: 108.9 kB / 4.417 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/11.64, allocations: 0.883 MB / 4.418 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.8e-05/11.64, allocations: 38.48 kB / 4.418 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/11.64, allocations: 457.1 kB / 4.418 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/11.64, allocations: 190.7 kB / 4.418 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/11.64, allocations: 16.81 kB / 4.418 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001073/11.64, allocations: 340.9 kB / 4.418 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/11.64, allocations: 452.8 kB / 4.419 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/11.64, allocations: 0.5555 MB / 4.419 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/11.64, allocations: 0.5171 MB / 4.42 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/11.64, allocations: 5.188 kB / 4.42 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002052/11.64, allocations: 1.212 MB / 4.421 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002165/11.64, allocations: 0.9689 MB / 4.422 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/11.64, allocations: 3.781 kB / 4.422 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/11.64, allocations: 11.7 kB / 4.422 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009414/11.64, allocations: 200.5 kB / 4.422 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/11.64, allocations: 7.625 kB / 4.422 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/11.64, allocations: 127 kB / 4.422 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/11.64, allocations: 49.36 kB / 4.422 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/11.64, allocations: 3.438 kB / 4.422 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001748/11.65, allocations: 1.069 MB / 4.424 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/11.65, allocations: 3.938 kB / 4.424 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/11.65, allocations: 7.406 kB / 4.424 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008218/11.65, allocations: 199.1 kB / 4.424 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/11.65, allocations: 10.44 kB / 4.424 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/11.65, allocations: 117.5 kB / 4.424 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/11.65, allocations: 47.78 kB / 4.424 GB, free: 62.55 MB / 0.5261 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 () * Number of clocked 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.0006682/11.65, allocations: 363.8 kB / 4.424 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/11.65, allocations: 96.34 kB / 4.424 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/11.65, allocations: 1.138 MB / 4.425 GB, free: 62.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/11.65, allocations: 10.83 kB / 4.425 GB, free: 62.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/11.65, allocations: 2.594 kB / 4.425 GB, free: 62.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/11.65, allocations: 3.938 kB / 4.425 GB, free: 62.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/11.65, allocations: 1.814 MB / 4.427 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/11.65, allocations: 3.812 kB / 4.427 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/11.65, allocations: 108.6 kB / 4.427 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/11.65, allocations: 7.312 kB / 4.427 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/11.65, allocations: 17.45 kB / 4.427 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/11.65, allocations: 14.92 kB / 4.427 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/11.65, allocations: 3.938 kB / 4.427 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/11.66, allocations: 0.9961 MB / 4.428 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/11.66, allocations: 237.5 kB / 4.429 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/11.66, allocations: 10.44 kB / 4.429 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/11.66, allocations: 48.67 kB / 4.429 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/11.66, allocations: 43.95 kB / 4.429 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.978e-05/11.66, allocations: 38.34 kB / 4.429 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009678/11.66, allocations: 0.7587 MB / 4.429 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/11.66, allocations: 0 / 4.429 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004963/11.66, allocations: 1.303 MB / 4.431 GB, free: 60.81 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.007367/11.67, allocations: 3.845 MB / 4.434 GB, free: 59.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00279/11.67, allocations: 1.48 MB / 4.436 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/11.67, allocations: 3.281 kB / 4.436 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000578/11.67, allocations: 371.8 kB / 4.436 GB, free: 58.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/11.68, allocations: 491.2 kB / 4.437 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/11.68, allocations: 4.516 MB / 4.441 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/11.68, allocations: 1.068 MB / 4.442 GB, free: 54.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001756/11.68, allocations: 0.5986 MB / 4.443 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/11.68, allocations: 343.9 kB / 4.443 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/11.68, allocations: 0 / 4.443 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09417/11.78, allocations: 55.04 MB / 4.497 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/11.78, allocations: 233.8 kB / 4.497 GB, free: 19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.572/16.35, allocations: 0 / 4.497 GB, free: 19 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat