Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.698/1.698, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 111.4 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4856/0.4856, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002893, allocations: 8 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4693, allocations: 63.24 MB / 0.5193 GB, free: 43.7 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.541/9.011, allocations: 3.433 GB / 3.952 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/9.011, allocations: 95.92 kB / 3.952 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.357/11.37, allocations: 462.3 MB / 4.404 GB, free: 68.17 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.126e-06/11.37, allocations: 2.594 kB / 4.404 GB, free: 68.17 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.01e-05/11.37, allocations: 26.94 kB / 4.404 GB, free: 68.17 MB / 0.5417 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.00712/11.38, allocations: 1.989 MB / 4.406 GB, free: 67.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/11.38, allocations: 10.16 kB / 4.406 GB, free: 67.46 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/11.38, allocations: 129.4 kB / 4.406 GB, free: 67.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/11.38, allocations: 115 kB / 4.406 GB, free: 67.37 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/11.38, allocations: 0.7472 MB / 4.407 GB, free: 67.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/11.38, allocations: 60.73 kB / 4.407 GB, free: 67.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/11.38, allocations: 70.67 kB / 4.407 GB, free: 67.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/11.38, allocations: 1.24 MB / 4.408 GB, free: 67.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/11.38, allocations: 0 / 4.408 GB, free: 67.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/11.38, allocations: 31.61 kB / 4.408 GB, free: 67.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/11.38, allocations: 72.03 kB / 4.408 GB, free: 67.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/11.38, allocations: 1.37 MB / 4.409 GB, free: 67.01 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007735/11.39, allocations: 4.886 MB / 4.414 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/11.39, allocations: 0.8073 MB / 4.415 GB, free: 65 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/11.39, allocations: 0.7868 MB / 4.416 GB, free: 64.15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/11.39, allocations: 40.22 kB / 4.416 GB, free: 64.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=53): time 2.425e-06/11.39, allocations: 0 / 4.416 GB, free: 64.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53): time 0.002047/11.39, allocations: 1.178 MB / 4.417 GB, free: 64.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/11.39, allocations: 107.9 kB / 4.417 GB, free: 63.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/11.4, allocations: 0.8855 MB / 4.418 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.826e-05/11.4, allocations: 37.77 kB / 4.418 GB, free: 63.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/11.4, allocations: 458.5 kB / 4.418 GB, free: 63.58 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/11.4, allocations: 184.1 kB / 4.419 GB, free: 63.49 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/11.4, allocations: 20.62 kB / 4.419 GB, free: 63.49 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.948e-05/11.4, allocations: 346.5 kB / 4.419 GB, free: 63.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/11.4, allocations: 446.4 kB / 4.419 GB, free: 63.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/11.4, allocations: 0.566 MB / 4.42 GB, free: 63.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008166/11.4, allocations: 0.5127 MB / 4.42 GB, free: 63.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/11.4, allocations: 0 / 4.42 GB, free: 63.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001863/11.4, allocations: 1.215 MB / 4.422 GB, free: 62.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/11.4, allocations: 0.967 MB / 4.422 GB, free: 61.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/11.4, allocations: 2.562 kB / 4.422 GB, free: 61.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/11.4, allocations: 7.688 kB / 4.422 GB, free: 61.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/11.4, allocations: 204.1 kB / 4.423 GB, free: 61.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/11.4, allocations: 3.781 kB / 4.423 GB, free: 61.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/11.4, allocations: 142.4 kB / 4.423 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/11.4, allocations: 43.36 kB / 4.423 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/11.4, allocations: 2.5 kB / 4.423 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001769/11.4, allocations: 1.078 MB / 4.424 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/11.4, allocations: 3.062 kB / 4.424 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/11.4, allocations: 3.938 kB / 4.424 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/11.41, allocations: 198.4 kB / 4.424 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/11.41, allocations: 11.45 kB / 4.424 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/11.41, allocations: 115.8 kB / 4.424 GB, free: 61.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/11.41, allocations: 45.84 kB / 4.424 GB, free: 61.86 MB / 0.5417 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.0004796/11.41, allocations: 361.9 kB / 4.425 GB, free: 61.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/11.41, allocations: 99.42 kB / 4.425 GB, free: 61.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/11.41, allocations: 1.14 MB / 4.426 GB, free: 61.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/11.41, allocations: 5.781 kB / 4.426 GB, free: 61.51 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/11.41, allocations: 0 / 4.426 GB, free: 61.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/11.41, allocations: 0 / 4.426 GB, free: 61.51 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/11.41, allocations: 1.815 MB / 4.428 GB, free: 61.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/11.41, allocations: 2.312 kB / 4.428 GB, free: 61.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/11.41, allocations: 113.8 kB / 4.428 GB, free: 61.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/11.41, allocations: 4.344 kB / 4.428 GB, free: 61.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/11.41, allocations: 16.94 kB / 4.428 GB, free: 61.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/11.41, allocations: 10.16 kB / 4.428 GB, free: 61.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/11.41, allocations: 5.969 kB / 4.428 GB, free: 61.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/11.41, allocations: 1.002 MB / 4.429 GB, free: 60.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/11.41, allocations: 227.1 kB / 4.429 GB, free: 60.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/11.41, allocations: 15.61 kB / 4.429 GB, free: 60.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000728/11.41, allocations: 52.61 kB / 4.429 GB, free: 60.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/11.41, allocations: 51.66 kB / 4.429 GB, free: 60.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.59e-05/11.41, allocations: 40.42 kB / 4.429 GB, free: 60.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001102/11.42, allocations: 0.7492 MB / 4.43 GB, free: 60.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/11.42, allocations: 0.8125 kB / 4.43 GB, free: 60.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004457/11.42, allocations: 1.324 MB / 4.431 GB, free: 60.3 MB / 0.5417 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.006532/11.43, allocations: 3.876 MB / 4.435 GB, free: 58.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002973/11.43, allocations: 1.485 MB / 4.436 GB, free: 58.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/11.43, allocations: 3.562 kB / 4.436 GB, free: 58.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005936/11.43, allocations: 365.4 kB / 4.437 GB, free: 58.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/11.43, allocations: 481 kB / 4.437 GB, free: 58.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/11.44, allocations: 4.542 MB / 4.442 GB, free: 55.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/11.44, allocations: 1.064 MB / 4.443 GB, free: 54.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001761/11.44, allocations: 0.5968 MB / 4.443 GB, free: 54.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000621/11.44, allocations: 347 kB / 4.444 GB, free: 54.85 MB / 0.5417 GB Notification: Performance of SimCode: time 1.472e-06/11.44, allocations: 0 / 4.444 GB, free: 54.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/11.54, allocations: 55.19 MB / 4.497 GB, free: 52.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/11.55, allocations: 227.4 kB / 4.498 GB, free: 52.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.615/16.16, allocations: 0 / 4.498 GB, free: 52.7 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat