Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01215/0.01216, allocations: 104.4 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.0018/0.0018, allocations: 168.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.593/1.593, allocations: 170.9 MB / 187.6 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2576/0.2576, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006398/0.0006399, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09076, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.5144/0.6052, allocations: 156 MB / 0.516 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02846/0.6337, allocations: 14.08 MB / 0.5297 GB, free: 13.43 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.6351, allocations: 39.62 kB / 0.5297 GB, free: 13.39 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.637, allocations: 370.1 kB / 0.5301 GB, free: 13.02 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008807/0.6458, allocations: 2.124 MB / 0.5322 GB, free: 10.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00984/0.6557, allocations: 2.494 MB / 0.5346 GB, free: 8.395 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.6594, allocations: 1.545 MB / 0.5361 GB, free: 6.848 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.6611, allocations: 0.6084 MB / 0.5367 GB, free: 6.219 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.6642, allocations: 0.9583 MB / 0.5376 GB, free: 5.258 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.6664, allocations: 0.8569 MB / 0.5385 GB, free: 4.398 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.6667, allocations: 52 kB / 0.5385 GB, free: 4.348 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007555/0.6743, allocations: 2.621 MB / 0.5411 GB, free: 1.723 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007438/0.6751, allocations: 311.1 kB / 0.5414 GB, free: 1.418 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.6756, allocations: 229.1 kB / 0.5416 GB, free: 1.188 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006359/0.682, allocations: 2.343 MB / 0.5439 GB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.682, allocations: 0 / 0.5439 GB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.682, allocations: 0 / 0.5439 GB, free: 14.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.6821, allocations: 4 kB / 0.5439 GB, free: 14.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005538/0.6876, allocations: 1.616 MB / 0.5455 GB, free: 13.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.6877, allocations: 12.03 kB / 0.5455 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003079/0.688, allocations: 118.5 kB / 0.5456 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.6896, allocations: 200.8 kB / 0.5458 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.6916, allocations: 0.7304 MB / 0.5465 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/0.6917, allocations: 53.28 kB / 0.5466 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.6919, allocations: 59.98 kB / 0.5466 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.6949, allocations: 1.149 MB / 0.5477 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.695, allocations: 3.938 kB / 0.5477 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.6952, allocations: 27.98 kB / 0.5478 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.6954, allocations: 73.27 kB / 0.5478 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/0.6988, allocations: 1.172 MB / 0.549 GB, free: 9.48 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.7097, allocations: 4.319 MB / 0.5532 GB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.7121, allocations: 0.7837 MB / 0.554 GB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.7126, allocations: 330.7 kB / 0.5543 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.7126, allocations: 43.12 kB / 0.5543 GB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009446/0.7136, allocations: 127 kB / 0.5544 GB, free: 3.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=61): time 3.777e-06/0.7136, allocations: 0 / 0.5544 GB, free: 3.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.01142/0.725, allocations: 1.979 MB / 0.5564 GB, free: 1.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.7252, allocations: 222.2 kB / 0.5566 GB, free: 1.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.7268, allocations: 0.8059 MB / 0.5574 GB, free: 0.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.7269, allocations: 41.7 kB / 0.5574 GB, free: 464 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/0.7275, allocations: 471.3 kB / 0.5579 GB, free: 15.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.7278, allocations: 216.9 kB / 0.5581 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.937e-05/0.7279, allocations: 20 kB / 0.5581 GB, free: 15.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7281, allocations: 341.9 kB / 0.5584 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.7294, allocations: 397.7 kB / 0.5588 GB, free: 15.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.7309, allocations: 0.6502 MB / 0.5594 GB, free: 14.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.7325, allocations: 487 kB / 0.5599 GB, free: 13.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.7325, allocations: 4 kB / 0.5599 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004146/0.7366, allocations: 1.34 MB / 0.5612 GB, free: 12.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.7377, allocations: 2.714 MB / 0.5639 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.7378, allocations: 4 kB / 0.5639 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008442/0.7462, allocations: 0.8422 MB / 0.5647 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.7476, allocations: 187.7 kB / 0.5649 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.7501, allocations: 1.188 MB / 0.566 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.7515, allocations: 56.84 kB / 0.5661 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.7518, allocations: 75.97 kB / 0.5662 GB, free: 7.125 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.7518, allocations: 4 kB / 0.5662 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003975/0.7558, allocations: 1.144 MB / 0.5673 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.7558, allocations: 4 kB / 0.5673 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.757, allocations: 180.9 kB / 0.5674 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.7585, allocations: 215.6 kB / 0.5677 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/0.7627, allocations: 2.206 MB / 0.5698 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.7641, allocations: 56.02 kB / 0.5699 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.7643, allocations: 71.98 kB / 0.5699 GB, free: 3.121 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (88): * Single equations (assignments): 87 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007325/0.7651, allocations: 364.7 kB / 0.5703 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.7653, allocations: 98.78 kB / 0.5704 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004872/0.7702, allocations: 1.369 MB / 0.5717 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.7703, allocations: 8 kB / 0.5717 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7703, allocations: 0 / 0.5717 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.7703, allocations: 3.984 kB / 0.5717 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/0.7752, allocations: 1.963 MB / 0.5736 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.7752, allocations: 4 kB / 0.5736 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.7759, allocations: 84.08 kB / 0.5737 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005472/0.7814, allocations: 0.7007 MB / 0.5744 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.7816, allocations: 23.98 kB / 0.5744 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.7837, allocations: 1.173 MB / 0.5756 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.7837, allocations: 0 / 0.5756 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.7869, allocations: 1.197 MB / 0.5767 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.7873, allocations: 175.9 kB / 0.5769 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.7875, allocations: 12 kB / 0.5769 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/0.7885, allocations: 47.88 kB / 0.577 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.7887, allocations: 52.45 kB / 0.577 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.7889, allocations: 43.98 kB / 0.5771 GB, free: 11.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001145/0.79, allocations: 0.5615 MB / 0.5776 GB, free: 11.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.79, allocations: 0 / 0.5776 GB, free: 11.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003845/0.7939, allocations: 1.046 MB / 0.5786 GB, free: 9.984 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006924/0.8009, allocations: 2.973 MB / 0.5815 GB, free: 6.945 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00519/0.8061, allocations: 1.605 MB / 0.5831 GB, free: 5.328 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.8062, allocations: 4.062 kB / 0.5831 GB, free: 5.324 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.8077, allocations: 422.3 kB / 0.5835 GB, free: 4.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/0.8116, allocations: 487.7 kB / 0.584 GB, free: 4.441 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2658/1.077, allocations: 7.365 MB / 0.5912 GB, free: 166.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007647/1.078, allocations: 1.073 MB / 0.5922 GB, free: 165.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003138/1.081, allocations: 463.1 kB / 0.5927 GB, free: 165.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009599/1.082, allocations: 349.5 kB / 0.593 GB, free: 165.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/1.082, allocations: 0 / 0.593 GB, free: 165.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/1.191, allocations: 39.05 MB / 0.6311 GB, free: 139.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/1.191, allocations: 270 kB / 0.6314 GB, free: 139.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.927/5.118, allocations: 0 / 0.6314 GB, free: 139.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat