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.0007994/0.0007993, allocations: 93.78 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009423/0.0009424, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 227.7 MB / 246.8 MB, free: 9.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1819/0.1819, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002312/0.0002312, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09163, allocations: 63.57 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.3907/0.4824, allocations: 212.8 MB / 0.6797 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.4945, allocations: 8.789 MB / 0.6883 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009121/0.4955, allocations: 27.75 kB / 0.6883 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.4968, allocations: 425.8 kB / 0.6887 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006628/0.5034, allocations: 2.522 MB / 0.6912 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008859/0.5123, allocations: 3.62 MB / 0.6947 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003878/0.5162, allocations: 3.864 MB / 0.6985 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.5173, allocations: 0.6163 MB / 0.6991 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.519, allocations: 0.864 MB / 0.6999 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.5208, allocations: 1.145 MB / 0.701 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.521, allocations: 52 kB / 0.7011 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01259/0.5336, allocations: 8.129 MB / 0.709 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005504/0.5342, allocations: 410.8 kB / 0.7094 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007605/0.535, allocations: 0.5694 MB / 0.71 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.2596/0.7946, allocations: 5.49 MB / 0.7153 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7946, allocations: 0.625 kB / 0.7153 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7946, allocations: 2.625 kB / 0.7153 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.661e-05/0.7947, allocations: 2.969 kB / 0.7153 GB, free: 10.64 MB / 0.5294 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.008024/0.8027, allocations: 1.962 MB / 0.7173 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.8028, allocations: 9.75 kB / 0.7173 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003857/0.8032, allocations: 128.3 kB / 0.7174 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007662/0.8039, allocations: 115.4 kB / 0.7175 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.8054, allocations: 0.7016 MB / 0.7182 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.8055, allocations: 57.38 kB / 0.7182 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.8057, allocations: 75.84 kB / 0.7183 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/0.8091, allocations: 1.249 MB / 0.7195 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.8091, allocations: 2.781 kB / 0.7195 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.8093, allocations: 34.39 kB / 0.7196 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.8094, allocations: 77.28 kB / 0.7196 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.813, allocations: 1.406 MB / 0.721 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009962/0.823, allocations: 4.902 MB / 0.7258 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.8245, allocations: 0.8491 MB / 0.7266 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.8251, allocations: 401.9 kB / 0.727 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000455/0.8256, allocations: 0.7853 MB / 0.7278 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.8256, allocations: 47.83 kB / 0.7278 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.023e-06/0.8256, allocations: 0 / 0.7278 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.001994/0.8276, allocations: 1.23 MB / 0.729 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.8277, allocations: 112.6 kB / 0.7291 GB, free: 6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.8287, allocations: 0.9874 MB / 0.7301 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/0.8288, allocations: 40.11 kB / 0.7301 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.829, allocations: 458 kB / 0.7306 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.8291, allocations: 184.8 kB / 0.7307 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.8293, allocations: 71.39 kB / 0.7308 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002491/0.8295, allocations: 341 kB / 0.7311 GB, free: 21.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.8302, allocations: 484.3 kB / 0.7316 GB, free: 21.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.831, allocations: 0.6084 MB / 0.7322 GB, free: 21.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.8324, allocations: 1.011 MB / 0.7332 GB, free: 20.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.8324, allocations: 1.469 kB / 0.7332 GB, free: 20.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00198/0.8344, allocations: 1.284 MB / 0.7344 GB, free: 20.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/0.8345, allocations: 176.7 kB / 0.7346 GB, free: 20.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8345, allocations: 4.469 kB / 0.7346 GB, free: 20.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8345, allocations: 9.594 kB / 0.7346 GB, free: 20.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.8353, allocations: 202.4 kB / 0.7348 GB, free: 20.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.8354, allocations: 9.375 kB / 0.7348 GB, free: 20.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/0.8363, allocations: 140 kB / 0.735 GB, free: 20.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.8364, allocations: 47.84 kB / 0.735 GB, free: 20.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/0.8364, allocations: 7.156 kB / 0.735 GB, free: 20.57 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001729/0.8381, allocations: 1.122 MB / 0.7361 GB, free: 20.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8382, allocations: 2.531 kB / 0.7361 GB, free: 20.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.8382, allocations: 9.922 kB / 0.7361 GB, free: 20.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.839, allocations: 199.7 kB / 0.7363 GB, free: 20.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.839, allocations: 12.66 kB / 0.7363 GB, free: 20.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.8396, allocations: 110 kB / 0.7364 GB, free: 20.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/0.8397, allocations: 47.89 kB / 0.7365 GB, free: 20.5 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003751/0.8401, allocations: 362.8 kB / 0.7368 GB, free: 20.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.8403, allocations: 97.38 kB / 0.7369 GB, free: 20.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.8421, allocations: 1.19 MB / 0.7381 GB, free: 20.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.8421, allocations: 8.312 kB / 0.7381 GB, free: 20.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8421, allocations: 0 / 0.7381 GB, free: 20.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.8421, allocations: 3.938 kB / 0.7381 GB, free: 20.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.8443, allocations: 1.864 MB / 0.7399 GB, free: 19.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8443, allocations: 2.969 kB / 0.7399 GB, free: 19.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.8448, allocations: 120 kB / 0.74 GB, free: 19.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.8448, allocations: 6.875 kB / 0.74 GB, free: 19.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.8448, allocations: 18.97 kB / 0.74 GB, free: 19.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.8448, allocations: 8.344 kB / 0.74 GB, free: 19.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8448, allocations: 3.219 kB / 0.7401 GB, free: 19.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.846, allocations: 0.9353 MB / 0.741 GB, free: 19.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.8463, allocations: 231.1 kB / 0.7412 GB, free: 19.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.8464, allocations: 15.31 kB / 0.7412 GB, free: 19.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.8471, allocations: 54.94 kB / 0.7413 GB, free: 19.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.8472, allocations: 41.36 kB / 0.7413 GB, free: 19.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.8473, allocations: 37.55 kB / 0.7413 GB, free: 19.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008129/0.8481, allocations: 0.7583 MB / 0.7421 GB, free: 19.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8481, allocations: 0 / 0.7421 GB, free: 19.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002886/0.851, allocations: 1.168 MB / 0.7432 GB, free: 18.98 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003924/0.855, allocations: 2.485 MB / 0.7456 GB, free: 17.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.8572, allocations: 1.546 MB / 0.7471 GB, free: 17.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8572, allocations: 3.812 kB / 0.7471 GB, free: 17.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.8577, allocations: 375.1 kB / 0.7475 GB, free: 17.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.8603, allocations: 0.5048 MB / 0.748 GB, free: 17.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.8725, allocations: 9.942 MB / 0.7577 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.8731, allocations: 1.046 MB / 0.7587 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001767/0.8748, allocations: 0.743 MB / 0.7595 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.8753, allocations: 345.1 kB / 0.7598 GB, free: 13.78 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.8753, allocations: 4 kB / 0.7598 GB, free: 13.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06128/0.9366, allocations: 43.48 MB / 0.8023 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.9368, allocations: 255.1 kB / 0.8025 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/4.051, allocations: 4 kB / 0.8025 GB, free: 14.48 MB / 0.5762 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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches