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.001354/0.001354, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.001181/0.001181, allocations: 94.48 kB / 281.6 MB, free: 5.328 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.2033/0.2033, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.16e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.799/8.948, allocations: 3.439 GB / 3.933 GB, free: 56.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/8.949, allocations: 87.2 kB / 3.933 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.623/10.57, allocations: 459.3 MB / 4.382 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/10.57, allocations: 0 / 4.382 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.211e-05/10.57, allocations: 24 kB / 4.382 GB, free: 6.887 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.006124/10.58, allocations: 1.878 MB / 4.384 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/10.58, allocations: 15.98 kB / 4.384 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004334/10.58, allocations: 114.8 kB / 4.384 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/10.58, allocations: 0.742 MB / 4.385 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/10.58, allocations: 24 kB / 4.385 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/10.58, allocations: 40 kB / 4.385 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001841/10.58, allocations: 1.203 MB / 4.386 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/10.58, allocations: 1.102 MB / 4.387 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/10.58, allocations: 0 / 4.387 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/10.58, allocations: 3.938 kB / 4.387 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-05/10.58, allocations: 73.95 kB / 4.387 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.38/10.96, allocations: 4.659 MB / 4.392 GB, free: 68.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/10.97, allocations: 0.7608 MB / 4.392 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/10.97, allocations: 357.2 kB / 4.393 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006071/10.97, allocations: 0.785 MB / 4.393 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/10.97, allocations: 45.05 kB / 4.393 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.825e-06/10.97, allocations: 0 / 4.393 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002801/10.97, allocations: 0.8584 MB / 4.394 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/10.97, allocations: 117.3 kB / 4.394 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/10.97, allocations: 0.6056 MB / 4.395 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/10.97, allocations: 27.42 kB / 4.395 GB, free: 67.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/10.97, allocations: 465 kB / 4.395 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/10.97, allocations: 181.6 kB / 4.396 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/10.97, allocations: 0 / 4.396 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001534/10.97, allocations: 383.9 kB / 4.396 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007176/10.97, allocations: 415.8 kB / 4.396 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008191/10.97, allocations: 0.5282 MB / 4.397 GB, free: 66.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/10.98, allocations: 0.8531 MB / 4.398 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/10.98, allocations: 0.9062 kB / 4.398 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004358/10.98, allocations: 1.466 MB / 4.399 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003791/10.98, allocations: 0.9689 MB / 4.4 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/10.98, allocations: 1.484 kB / 4.4 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/10.98, allocations: 11.95 kB / 4.4 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009181/10.98, allocations: 202.2 kB / 4.4 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/10.98, allocations: 13.88 kB / 4.4 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/10.98, allocations: 94.53 kB / 4.4 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/10.98, allocations: 45.73 kB / 4.4 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/10.98, allocations: 3.875 kB / 4.4 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003521/10.99, allocations: 1.283 MB / 4.402 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/10.99, allocations: 6.438 kB / 4.402 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/10.99, allocations: 7.156 kB / 4.402 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/10.99, allocations: 201.8 kB / 4.402 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/10.99, allocations: 7.219 kB / 4.402 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/10.99, allocations: 72.48 kB / 4.402 GB, free: 65.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/10.99, allocations: 44.95 kB / 4.402 GB, free: 65.56 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.000418/10.99, allocations: 122.1 kB / 4.402 GB, free: 65.45 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002424/10.99, allocations: 0.8425 MB / 4.403 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/10.99, allocations: 78.97 kB / 4.403 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/10.99, allocations: 1.106 MB / 4.404 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/10.99, allocations: 3.344 kB / 4.404 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/10.99, allocations: 0 / 4.404 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/10.99, allocations: 3.844 kB / 4.404 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/11, allocations: 1.716 MB / 4.406 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/11, allocations: 2.953 kB / 4.406 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/11, allocations: 114.6 kB / 4.406 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/11, allocations: 4.594 kB / 4.406 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/11, allocations: 14.17 kB / 4.406 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/11, allocations: 5.312 kB / 4.406 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/11, allocations: 2.469 kB / 4.406 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/11, allocations: 0.9767 MB / 4.407 GB, free: 64.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/11, allocations: 203.9 kB / 4.407 GB, free: 64.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/11, allocations: 4.328 kB / 4.407 GB, free: 64.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/11, allocations: 41.72 kB / 4.407 GB, free: 64.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/11, allocations: 40.59 kB / 4.407 GB, free: 64.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-05/11, allocations: 38.67 kB / 4.407 GB, free: 64.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007524/11, allocations: 0.5211 MB / 4.408 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/11, allocations: 0 / 4.408 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004643/11.01, allocations: 1.291 MB / 4.409 GB, free: 64.23 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.007374/11.01, allocations: 3.993 MB / 4.413 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002955/11.02, allocations: 1.376 MB / 4.414 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/11.02, allocations: 3.125 kB / 4.414 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000488/11.02, allocations: 327.2 kB / 4.415 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/11.02, allocations: 323.4 kB / 4.415 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/11.02, allocations: 1.761 MB / 4.417 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/11.02, allocations: 1.07 MB / 4.418 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001678/11.03, allocations: 0.5868 MB / 4.418 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/11.03, allocations: 325.5 kB / 4.418 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/11.03, allocations: 0 / 4.418 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07691/11.1, allocations: 41.77 MB / 4.459 GB, free: 60.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/11.1, allocations: 191.8 kB / 4.459 GB, free: 60.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.526/14.63, allocations: 0 / 4.459 GB, free: 60.18 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