Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01125/0.01125, allocations: 106.4 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001237/0.001237, allocations: 181.6 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.033/2.033, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2657/0.2657, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004744, allocations: 16 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 54.87 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.5404/0.6592, allocations: 156.7 MB / 0.5593 GB, free: 11.2 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03099/0.6903, allocations: 16.07 MB / 0.575 GB, free: 11.12 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.6918, allocations: 39.69 kB / 0.5751 GB, free: 11.08 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.6938, allocations: 449.8 kB / 0.5755 GB, free: 10.64 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.7052, allocations: 2.815 MB / 0.5782 GB, free: 7.824 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.7173, allocations: 2.996 MB / 0.5812 GB, free: 4.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004177/0.7215, allocations: 1.749 MB / 0.5829 GB, free: 3.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.725, allocations: 1.505 MB / 0.5844 GB, free: 1.582 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005028/0.7301, allocations: 1.625 MB / 0.5859 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01049/0.7406, allocations: 3.283 MB / 0.5891 GB, free: 12.66 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007014/0.7414, allocations: 124 kB / 0.5893 GB, free: 12.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/0.7576, allocations: 4.789 MB / 0.5939 GB, free: 7.75 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001679/0.7594, allocations: 0.8107 MB / 0.5947 GB, free: 6.938 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007746/0.7602, allocations: 368.9 kB / 0.5951 GB, free: 6.57 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.7711, allocations: 4.217 MB / 0.5992 GB, free: 2.352 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7712, allocations: 0 / 0.5992 GB, free: 2.352 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.7712, allocations: 4 kB / 0.5992 GB, free: 2.348 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.069e-05/0.7713, allocations: 0 / 0.5992 GB, free: 2.348 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.0168/0.7881, allocations: 2.281 MB / 0.6014 GB, free: 12 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.7882, allocations: 8.031 kB / 0.6014 GB, free: 4 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006715/0.7888, allocations: 206.4 kB / 0.6016 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006928/0.7958, allocations: 497.4 kB / 0.6021 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003383/0.7992, allocations: 1.136 MB / 0.6032 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.7993, allocations: 90.22 kB / 0.6033 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004598/0.7998, allocations: 108 kB / 0.6034 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007755/0.8076, allocations: 2.817 MB / 0.6062 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.8077, allocations: 0 / 0.6062 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.8081, allocations: 55.97 kB / 0.6062 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002998/0.8084, allocations: 150.4 kB / 0.6064 GB, free: 10.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.8189, allocations: 3.558 MB / 0.6098 GB, free: 7.285 MB / 474.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.327/1.146, allocations: 7.837 MB / 0.6175 GB, free: 146.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/1.148, allocations: 0.7248 MB / 0.6182 GB, free: 146.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001934/1.15, allocations: 1.113 MB / 0.6193 GB, free: 146 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/1.15, allocations: 44.03 kB / 0.6193 GB, free: 145.9 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001269/1.152, allocations: 193.4 kB / 0.6195 GB, free: 145.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=56): time 4.758e-06/1.152, allocations: 0 / 0.6195 GB, free: 145.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=56): time 0.008466/1.16, allocations: 1.755 MB / 0.6212 GB, free: 145.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/1.16, allocations: 135.3 kB / 0.6213 GB, free: 145.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/1.162, allocations: 1.045 MB / 0.6224 GB, free: 145.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/1.162, allocations: 41.92 kB / 0.6224 GB, free: 145.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/1.163, allocations: 0.7673 MB / 0.6232 GB, free: 145.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000267/1.163, allocations: 209.7 kB / 0.6234 GB, free: 144.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/1.163, allocations: 19 kB / 0.6234 GB, free: 144.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/1.164, allocations: 351.2 kB / 0.6237 GB, free: 144.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/1.165, allocations: 490.9 kB / 0.6242 GB, free: 144.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.167, allocations: 0.9293 MB / 0.6251 GB, free: 144.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.168, allocations: 0.632 MB / 0.6257 GB, free: 144.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/1.168, allocations: 10.34 kB / 0.6257 GB, free: 144.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004507/1.173, allocations: 1.686 MB / 0.6274 GB, free: 143.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001305/1.174, allocations: 5.84 MB / 0.6331 GB, free: 137.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-05/1.174, allocations: 13.47 kB / 0.6331 GB, free: 137.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003811/1.178, allocations: 0.5358 MB / 0.6336 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.18, allocations: 255 kB / 0.6338 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/1.183, allocations: 1.181 MB / 0.635 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/1.185, allocations: 93.39 kB / 0.6351 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/1.185, allocations: 84.47 kB / 0.6352 GB, free: 136.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.185, allocations: 3.281 kB / 0.6352 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004453/1.19, allocations: 1.486 MB / 0.6366 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.535e-05/1.19, allocations: 12.75 kB / 0.6366 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.191, allocations: 192.5 kB / 0.6368 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/1.193, allocations: 272.2 kB / 0.6371 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/1.197, allocations: 2.26 MB / 0.6393 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.199, allocations: 83.84 kB / 0.6394 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/1.199, allocations: 88.45 kB / 0.6394 GB, free: 134.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (127): * Single equations (assignments): 126 * 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 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.001023/1.2, allocations: 0.5264 MB / 0.64 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/1.2, allocations: 113.8 kB / 0.6401 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/1.204, allocations: 1.231 MB / 0.6413 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/1.204, allocations: 6.406 kB / 0.6413 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.204, allocations: 0 / 0.6413 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.204, allocations: 10.52 kB / 0.6413 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/1.209, allocations: 2.197 MB / 0.6434 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/1.209, allocations: 0 / 0.6434 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/1.21, allocations: 78.36 kB / 0.6435 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003706/1.214, allocations: 0.5322 MB / 0.644 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/1.214, allocations: 21.22 kB / 0.644 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/1.216, allocations: 1.123 MB / 0.6451 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.216, allocations: 4.406 kB / 0.6452 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/1.219, allocations: 1.107 MB / 0.6462 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/1.22, allocations: 191.6 kB / 0.6464 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/1.22, allocations: 14.25 kB / 0.6464 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.221, allocations: 51.23 kB / 0.6465 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.221, allocations: 43.44 kB / 0.6465 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/1.221, allocations: 37.27 kB / 0.6466 GB, free: 130.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001269/1.223, allocations: 0.6911 MB / 0.6472 GB, free: 130.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.223, allocations: 3.656 kB / 0.6472 GB, free: 130.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005193/1.228, allocations: 1.639 MB / 0.6488 GB, free: 130.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.009858/1.238, allocations: 3.099 MB / 0.6519 GB, free: 128.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007075/1.245, allocations: 1.994 MB / 0.6538 GB, free: 128.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.245, allocations: 3.281 kB / 0.6538 GB, free: 128.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/1.247, allocations: 432.1 kB / 0.6542 GB, free: 128.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.25, allocations: 445.4 kB / 0.6546 GB, free: 128 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.262, allocations: 14.33 MB / 0.6686 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.263, allocations: 1.318 MB / 0.6699 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00326/1.267, allocations: 0.5285 MB / 0.6704 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.268, allocations: 0.4951 MB / 0.6709 GB, free: 113.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/1.268, allocations: 1.219 kB / 0.6709 GB, free: 113.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/1.39, allocations: 51.32 MB / 0.7211 GB, free: 76.44 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/1.39, allocations: 260.9 kB / 0.7213 GB, free: 76.08 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.856/6.246, allocations: 0 / 0.7213 GB, free: 76.08 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat