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.001167/0.001167, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.413/1.413, allocations: 221.3 MB / 236 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.0009029, allocations: 89.86 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.478e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1668, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.434/8.601, allocations: 3.439 GB / 3.941 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/8.601, allocations: 88.14 kB / 3.941 GB, free: 61.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.697/10.3, allocations: 464.5 MB / 4.395 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.615e-06/10.3, allocations: 0 / 4.395 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.879e-05/10.3, allocations: 24 kB / 4.395 GB, free: 16.5 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.006315/10.3, allocations: 1.874 MB / 4.396 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/10.3, allocations: 12.03 kB / 4.396 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/10.3, allocations: 126.8 kB / 4.397 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004722/10.31, allocations: 114.8 kB / 4.397 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/10.31, allocations: 0.7459 MB / 4.397 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/10.31, allocations: 57.98 kB / 4.397 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/10.31, allocations: 67.98 kB / 4.398 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/10.31, allocations: 1.206 MB / 4.399 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/10.31, allocations: 0 / 4.399 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/10.31, allocations: 31.98 kB / 4.399 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.402e-05/10.31, allocations: 77.95 kB / 4.399 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/10.31, allocations: 1.32 MB / 4.4 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007424/10.32, allocations: 4.864 MB / 4.405 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/10.32, allocations: 0.7897 MB / 4.406 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/10.32, allocations: 373.9 kB / 4.406 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005862/10.32, allocations: 0.7835 MB / 4.407 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/10.32, allocations: 43 kB / 4.407 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/10.32, allocations: 0 / 4.407 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.001338/10.32, allocations: 0.8072 MB / 4.408 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/10.32, allocations: 107.2 kB / 4.408 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/10.32, allocations: 0.8795 MB / 4.409 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/10.32, allocations: 41.7 kB / 4.409 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/10.32, allocations: 447.4 kB / 4.409 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/10.32, allocations: 197.1 kB / 4.409 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/10.32, allocations: 16 kB / 4.409 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001074/10.32, allocations: 337.9 kB / 4.41 GB, free: 500 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/10.32, allocations: 425.8 kB / 4.41 GB, free: 76 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4257/10.75, allocations: 0.5313 MB / 4.41 GB, free: 66.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/10.75, allocations: 0.4916 MB / 4.411 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/10.75, allocations: 3.578 kB / 4.411 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002539/10.75, allocations: 1.156 MB / 4.412 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002583/10.75, allocations: 0.9699 MB / 4.413 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/10.75, allocations: 2.625 kB / 4.413 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/10.75, allocations: 7.719 kB / 4.413 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/10.76, allocations: 198.7 kB / 4.413 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/10.76, allocations: 6.234 kB / 4.413 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/10.76, allocations: 134.5 kB / 4.413 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/10.76, allocations: 50.86 kB / 4.413 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/10.76, allocations: 3.719 kB / 4.413 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002124/10.76, allocations: 1.014 MB / 4.414 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/10.76, allocations: 3.562 kB / 4.414 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/10.76, allocations: 10.58 kB / 4.414 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/10.76, allocations: 197.1 kB / 4.415 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/10.76, allocations: 7.75 kB / 4.415 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/10.76, allocations: 118.1 kB / 4.415 GB, free: 65.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/10.76, allocations: 47.92 kB / 4.415 GB, free: 65.14 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 () * 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.0002949/10.76, allocations: 150 kB / 4.415 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/10.76, allocations: 94.81 kB / 4.415 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/10.76, allocations: 1.1 MB / 4.416 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/10.76, allocations: 2.469 kB / 4.416 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/10.76, allocations: 5.188 kB / 4.416 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/10.76, allocations: 2.719 kB / 4.416 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/10.77, allocations: 1.773 MB / 4.418 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/10.77, allocations: 2.531 kB / 4.418 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/10.77, allocations: 109.4 kB / 4.418 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-05/10.77, allocations: 5 kB / 4.418 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/10.77, allocations: 19.58 kB / 4.418 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/10.77, allocations: 5.031 kB / 4.418 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/10.77, allocations: 13.19 kB / 4.418 GB, free: 64.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/10.77, allocations: 0.951 MB / 4.419 GB, free: 64.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/10.77, allocations: 238.2 kB / 4.419 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/10.77, allocations: 14.31 kB / 4.419 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008734/10.77, allocations: 47.97 kB / 4.419 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/10.77, allocations: 45.52 kB / 4.419 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/10.77, allocations: 38.27 kB / 4.419 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001364/10.77, allocations: 0.7424 MB / 4.42 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/10.77, allocations: 0 / 4.42 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006248/10.78, allocations: 1.311 MB / 4.421 GB, free: 63.83 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 () * 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.01138/10.79, allocations: 3.81 MB / 4.425 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004034/10.79, allocations: 1.442 MB / 4.426 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/10.79, allocations: 1.25 kB / 4.426 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006879/10.79, allocations: 340.6 kB / 4.427 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/10.8, allocations: 489.1 kB / 4.427 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/10.8, allocations: 1.867 MB / 4.429 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/10.81, allocations: 1.067 MB / 4.43 GB, free: 61.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003457/10.81, allocations: 0.6984 MB / 4.431 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007548/10.81, allocations: 336.9 kB / 4.431 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of SimCode: time 1.412e-06/10.81, allocations: 0 / 4.431 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/10.92, allocations: 59.35 MB / 4.489 GB, free: 59.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/10.92, allocations: 211.1 kB / 4.489 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.272/15.2, allocations: 4 kB / 4.489 GB, free: 59.11 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