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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008293, allocations: 93.03 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 171.5 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1748/0.1748, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002779, allocations: 12.27 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09383, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.3708/0.4647, allocations: 209 MB / 0.6654 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.4761, allocations: 8.784 MB / 0.6739 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.4772, allocations: 31.69 kB / 0.674 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.4785, allocations: 425.8 kB / 0.6744 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005849/0.4843, allocations: 2.508 MB / 0.6768 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008273/0.4926, allocations: 3.62 MB / 0.6804 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003573/0.4962, allocations: 3.86 MB / 0.6841 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007704/0.497, allocations: 0.6213 MB / 0.6847 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.4981, allocations: 0.8678 MB / 0.6856 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.4994, allocations: 1.133 MB / 0.6867 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.4996, allocations: 55.94 kB / 0.6867 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.5112, allocations: 8.032 MB / 0.6946 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.5118, allocations: 414.8 kB / 0.695 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008318/0.5126, allocations: 0.5733 MB / 0.6955 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009836/0.5225, allocations: 5.432 MB / 0.7008 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5225, allocations: 0 / 0.7008 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5225, allocations: 0 / 0.7008 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.5225, allocations: 0 / 0.7008 GB, free: 12.92 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.00417/0.5267, allocations: 1.933 MB / 0.7027 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5267, allocations: 11.97 kB / 0.7027 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.5269, allocations: 130.8 kB / 0.7029 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/0.5273, allocations: 122.7 kB / 0.703 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008978/0.5282, allocations: 0.695 MB / 0.7037 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.5282, allocations: 57.98 kB / 0.7037 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.5284, allocations: 67.98 kB / 0.7038 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.5302, allocations: 1.259 MB / 0.705 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.5302, allocations: 0 / 0.705 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/0.5303, allocations: 39.91 kB / 0.7051 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.051e-05/0.5304, allocations: 77.94 kB / 0.7051 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.5325, allocations: 1.401 MB / 0.7065 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007049/0.5395, allocations: 4.907 MB / 0.7113 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.541, allocations: 0.8466 MB / 0.7121 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.5417, allocations: 405.9 kB / 0.7125 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2263/0.768, allocations: 0.7815 MB / 0.7133 GB, free: 97.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.7681, allocations: 45.47 kB / 0.7133 GB, free: 97.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.7681, allocations: 0 / 0.7133 GB, free: 97.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002542/0.7706, allocations: 1.228 MB / 0.7145 GB, free: 97.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.7707, allocations: 109.4 kB / 0.7146 GB, free: 97.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.7721, allocations: 0.9933 MB / 0.7156 GB, free: 97.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.7722, allocations: 39.86 kB / 0.7156 GB, free: 97.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.7724, allocations: 455 kB / 0.7161 GB, free: 97.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.7726, allocations: 188.5 kB / 0.7162 GB, free: 97.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.7727, allocations: 73.41 kB / 0.7163 GB, free: 97.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.7728, allocations: 339 kB / 0.7166 GB, free: 96.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/0.7736, allocations: 481.8 kB / 0.7171 GB, free: 96.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.7745, allocations: 0.6012 MB / 0.7177 GB, free: 96.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.776, allocations: 1.019 MB / 0.7187 GB, free: 96.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.776, allocations: 0.5 kB / 0.7187 GB, free: 96.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002076/0.7781, allocations: 1.283 MB / 0.7199 GB, free: 96.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.7781, allocations: 183.8 kB / 0.7201 GB, free: 96.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7781, allocations: 2.656 kB / 0.7201 GB, free: 96.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.7782, allocations: 5.906 kB / 0.7201 GB, free: 96.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/0.7791, allocations: 204.5 kB / 0.7203 GB, free: 96.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.7791, allocations: 10.14 kB / 0.7203 GB, free: 96.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/0.78, allocations: 136.2 kB / 0.7204 GB, free: 96.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.7801, allocations: 49.03 kB / 0.7205 GB, free: 96.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.7801, allocations: 4.031 kB / 0.7205 GB, free: 96.38 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0019/0.782, allocations: 1.118 MB / 0.7216 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.782, allocations: 3.594 kB / 0.7216 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.7821, allocations: 6.5 kB / 0.7216 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008216/0.7829, allocations: 203 kB / 0.7218 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.7829, allocations: 11.92 kB / 0.7218 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/0.7836, allocations: 111 kB / 0.7219 GB, free: 96.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-05/0.7837, allocations: 47.16 kB / 0.7219 GB, free: 96.31 MB / 0.5294 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.0003616/0.784, allocations: 365.5 kB / 0.7223 GB, free: 96.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.7842, allocations: 97.47 kB / 0.7224 GB, free: 96.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.7861, allocations: 1.204 MB / 0.7236 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.7862, allocations: 4.656 kB / 0.7236 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7862, allocations: 1.75 kB / 0.7236 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7862, allocations: 6.188 kB / 0.7236 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.7885, allocations: 1.866 MB / 0.7254 GB, free: 95.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.7885, allocations: 1.938 kB / 0.7254 GB, free: 95.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.789, allocations: 111.8 kB / 0.7255 GB, free: 95.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.789, allocations: 8.656 kB / 0.7255 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.7891, allocations: 19.09 kB / 0.7255 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.7891, allocations: 4.062 kB / 0.7255 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7891, allocations: 2.781 kB / 0.7255 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.7902, allocations: 0.9409 MB / 0.7265 GB, free: 95.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.7904, allocations: 236 kB / 0.7267 GB, free: 95.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.7906, allocations: 12.91 kB / 0.7267 GB, free: 95.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.7913, allocations: 50.92 kB / 0.7267 GB, free: 95.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.7914, allocations: 38.27 kB / 0.7268 GB, free: 95.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.29e-05/0.7914, allocations: 37.52 kB / 0.7268 GB, free: 95.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007364/0.7922, allocations: 0.758 MB / 0.7276 GB, free: 95.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7922, allocations: 1.5 kB / 0.7276 GB, free: 95.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002176/0.7944, allocations: 1.154 MB / 0.7287 GB, free: 94.95 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 (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.003181/0.7975, allocations: 2.465 MB / 0.7311 GB, free: 94.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.7996, allocations: 1.548 MB / 0.7326 GB, free: 94.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7997, allocations: 3.938 kB / 0.7326 GB, free: 94.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.8002, allocations: 380 kB / 0.733 GB, free: 94.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.8026, allocations: 0.5031 MB / 0.7335 GB, free: 94.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.8133, allocations: 9.922 MB / 0.7432 GB, free: 90.85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.8137, allocations: 1.049 MB / 0.7442 GB, free: 90.13 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001581/0.8153, allocations: 0.7457 MB / 0.7449 GB, free: 90.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/0.8158, allocations: 344.2 kB / 0.7452 GB, free: 90.05 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.8158, allocations: 0 / 0.7452 GB, free: 90.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.592/1.408, allocations: 43.33 MB / 0.7876 GB, free: 53.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/1.408, allocations: 263.2 kB / 0.7878 GB, free: 52.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/4.283, allocations: 0 / 0.7878 GB, free: 52.78 MB / 0.5294 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/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) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches