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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008708/0.0008708, allocations: 96.84 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009606/0.0009607, allocations: 208.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003113, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 63.46 MB / 481.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5499/0.6908, allocations: 171.3 MB / 0.6376 GB, free: 9.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.7037, allocations: 8.404 MB / 0.6458 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009911/0.7048, allocations: 35.75 kB / 0.6458 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.706, allocations: 378.2 kB / 0.6462 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007218/0.7132, allocations: 2.139 MB / 0.6482 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009501/0.7227, allocations: 2.906 MB / 0.6511 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.726, allocations: 1.426 MB / 0.6525 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.7274, allocations: 0.6011 MB / 0.6531 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.7296, allocations: 0.8726 MB / 0.6539 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.7317, allocations: 0.7986 MB / 0.6547 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.7319, allocations: 52 kB / 0.6547 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/0.7474, allocations: 6.643 MB / 0.6612 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.7486, allocations: 379 kB / 0.6616 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006956/0.7494, allocations: 233.2 kB / 0.6618 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.7598, allocations: 3.384 MB / 0.6651 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.7599, allocations: 0 / 0.6651 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.135e-06/0.7599, allocations: 3.938 kB / 0.6651 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.7599, allocations: 0 / 0.6651 GB, free: 13.56 MB / 0.4981 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.005762/0.7657, allocations: 1.918 MB / 0.667 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.7657, allocations: 8.031 kB / 0.667 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002169/0.766, allocations: 130.8 kB / 0.6671 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004056/0.7664, allocations: 122.7 kB / 0.6672 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.7676, allocations: 0.6759 MB / 0.6679 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.7677, allocations: 61.94 kB / 0.668 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.7678, allocations: 73.86 kB / 0.668 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.7699, allocations: 1.24 MB / 0.6692 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.7699, allocations: 0 / 0.6692 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.77, allocations: 31.98 kB / 0.6693 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.7701, allocations: 77.94 kB / 0.6694 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.7724, allocations: 1.401 MB / 0.6707 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008467/0.7808, allocations: 4.954 MB / 0.6756 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.7825, allocations: 0.843 MB / 0.6764 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.7833, allocations: 0.7834 MB / 0.6771 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.7833, allocations: 46.98 kB / 0.6772 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/0.7833, allocations: 0 / 0.6772 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.00224/0.7856, allocations: 1.22 MB / 0.6784 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.7857, allocations: 111.2 kB / 0.6785 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.7869, allocations: 0.9855 MB / 0.6795 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-05/0.787, allocations: 37.7 kB / 0.6795 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.7874, allocations: 459.2 kB / 0.6799 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.7876, allocations: 189.4 kB / 0.6801 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.7876, allocations: 12 kB / 0.6801 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7878, allocations: 338 kB / 0.6804 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/0.7886, allocations: 469.7 kB / 0.6809 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/0.7894, allocations: 0.5855 MB / 0.6815 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008815/0.7903, allocations: 0.5417 MB / 0.682 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.7903, allocations: 4 kB / 0.682 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002127/0.7925, allocations: 1.262 MB / 0.6832 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004553/0.7929, allocations: 1.142 MB / 0.6843 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.7929, allocations: 0 / 0.6843 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.793, allocations: 8 kB / 0.6843 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.7938, allocations: 203.7 kB / 0.6845 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.7939, allocations: 4 kB / 0.6845 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009663/0.7948, allocations: 134.7 kB / 0.6847 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.795, allocations: 55.91 kB / 0.6847 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.795, allocations: 4 kB / 0.6847 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/0.7969, allocations: 1.112 MB / 0.6858 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.7969, allocations: 4 kB / 0.6858 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.7969, allocations: 15.92 kB / 0.6858 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000845/0.7977, allocations: 212 kB / 0.686 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.7978, allocations: 11.98 kB / 0.6861 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.7986, allocations: 106.9 kB / 0.6862 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.7987, allocations: 47.97 kB / 0.6862 GB, free: 7.102 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (101): * Single equations (assignments): 101 * 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.0006052/0.7993, allocations: 364.8 kB / 0.6865 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.7995, allocations: 94.88 kB / 0.6866 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.8016, allocations: 1.197 MB / 0.6878 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.8016, allocations: 7.953 kB / 0.6878 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.8016, allocations: 0 / 0.6878 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.8016, allocations: 3.984 kB / 0.6878 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.8045, allocations: 1.87 MB / 0.6896 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8046, allocations: 0 / 0.6896 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.8051, allocations: 120.1 kB / 0.6898 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.8051, allocations: 4 kB / 0.6898 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.8051, allocations: 16 kB / 0.6898 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.8052, allocations: 7.938 kB / 0.6898 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8052, allocations: 0 / 0.6898 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.8067, allocations: 1.029 MB / 0.6908 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.8071, allocations: 243.7 kB / 0.691 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.8073, allocations: 12 kB / 0.691 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/0.808, allocations: 47.95 kB / 0.6911 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.8081, allocations: 44.34 kB / 0.6911 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.17e-05/0.8082, allocations: 39.97 kB / 0.6912 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001049/0.8093, allocations: 0.7492 MB / 0.6919 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.5e-07/0.8093, allocations: 0 / 0.6919 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003491/0.8128, allocations: 1.167 MB / 0.693 GB, free: 15.87 MB / 0.5294 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.005191/0.818, allocations: 3.122 MB / 0.6961 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.8208, allocations: 1.538 MB / 0.6976 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.8208, allocations: 384 / 0.6976 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006325/0.8215, allocations: 378.2 kB / 0.6979 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.8241, allocations: 488.4 kB / 0.6984 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/0.8303, allocations: 4.76 MB / 0.7031 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.831, allocations: 1.067 MB / 0.7041 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002014/0.833, allocations: 0.668 MB / 0.7048 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.8336, allocations: 355.3 kB / 0.7051 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of SimCode: time 2.003e-06/0.8336, allocations: 0 / 0.7051 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3183/1.152, allocations: 42.48 MB / 0.7466 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/1.152, allocations: 231.7 kB / 0.7468 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/4.312, allocations: 0 / 0.7468 GB, free: 171.5 MB / 0.5294 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