Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.43e-05, allocations: 7.984 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3431, allocations: 54.85 MB / 358.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.81/2.154, allocations: 0.6032 GB / 0.953 GB, free: 72.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/2.154, allocations: 87.69 kB / 0.953 GB, free: 72.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7287/2.883, allocations: 101.5 MB / 1.052 GB, free: 148.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/2.883, allocations: 0 / 1.052 GB, free: 148.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.257e-05/2.883, allocations: 11.78 kB / 1.052 GB, free: 148.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002353/2.885, allocations: 0.82 MB / 1.053 GB, free: 148 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/2.885, allocations: 11.59 kB / 1.053 GB, free: 148 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007062/2.886, allocations: 72.16 kB / 1.053 GB, free: 147.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/2.887, allocations: 422.5 kB / 1.053 GB, free: 147.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/2.887, allocations: 45.23 kB / 1.054 GB, free: 147.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/2.888, allocations: 25.12 kB / 1.054 GB, free: 147.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008786/2.888, allocations: 298.5 kB / 1.054 GB, free: 147.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/2.889, allocations: 438.5 kB / 1.054 GB, free: 147.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/2.89, allocations: 4.906 kB / 1.054 GB, free: 147.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/2.89, allocations: 0 / 1.054 GB, free: 147.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/2.89, allocations: 18.81 kB / 1.054 GB, free: 147.5 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00486/2.895, allocations: 2.368 MB / 1.057 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/2.895, allocations: 249.9 kB / 1.057 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/2.895, allocations: 120.3 kB / 1.057 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/2.896, allocations: 7.531 kB / 1.057 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/2.896, allocations: 197.9 kB / 1.057 GB, free: 145.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 3.196e-06/2.896, allocations: 0 / 1.057 GB, free: 145.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.01074/2.907, allocations: 1.911 MB / 1.059 GB, free: 145.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/2.907, allocations: 139.7 kB / 1.059 GB, free: 145.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/2.907, allocations: 318.7 kB / 1.059 GB, free: 145 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.427e-05/2.908, allocations: 28.89 kB / 1.059 GB, free: 145 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/2.908, allocations: 310.1 kB / 1.06 GB, free: 144.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/2.908, allocations: 149.3 kB / 1.06 GB, free: 144.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/2.908, allocations: 0 / 1.06 GB, free: 144.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/2.908, allocations: 337.2 kB / 1.06 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/2.909, allocations: 149.8 kB / 1.06 GB, free: 144.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/2.909, allocations: 334 kB / 1.061 GB, free: 144.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007128/2.91, allocations: 226.2 kB / 1.061 GB, free: 144.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/2.91, allocations: 0 / 1.061 GB, free: 144.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001569/2.911, allocations: 0.5571 MB / 1.061 GB, free: 144.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/2.912, allocations: 41.39 kB / 1.061 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/2.912, allocations: 3.969 kB / 1.061 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/2.912, allocations: 105.3 kB / 1.062 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/2.913, allocations: 148.5 kB / 1.062 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007908/2.914, allocations: 0.6921 MB / 1.062 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/2.915, allocations: 56.81 kB / 1.062 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/2.915, allocations: 45.22 kB / 1.063 GB, free: 143.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002731/2.916, allocations: 127.2 kB / 1.063 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001307/2.917, allocations: 416.1 kB / 1.063 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/2.917, allocations: 50.73 kB / 1.063 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/2.919, allocations: 0.5264 MB / 1.064 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/2.919, allocations: 7.25 kB / 1.064 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/2.919, allocations: 0 / 1.064 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/2.919, allocations: 7.75 kB / 1.064 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/2.922, allocations: 1.03 MB / 1.065 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/2.922, allocations: 3.969 kB / 1.065 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/2.923, allocations: 118.3 kB / 1.065 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008622/2.924, allocations: 100.2 kB / 1.065 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/2.924, allocations: 7.719 kB / 1.065 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/2.926, allocations: 1.63 MB / 1.066 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/2.926, allocations: 7.859 kB / 1.066 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/2.928, allocations: 0.7699 MB / 1.067 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/2.928, allocations: 158.3 kB / 1.067 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/2.928, allocations: 7.641 kB / 1.067 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/2.929, allocations: 50.2 kB / 1.067 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/2.929, allocations: 60.34 kB / 1.067 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/2.929, allocations: 34.75 kB / 1.067 GB, free: 141.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003822/2.93, allocations: 243.7 kB / 1.068 GB, free: 141.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-07/2.93, allocations: 3.938 kB / 1.068 GB, free: 141.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001485/2.931, allocations: 282 kB / 1.068 GB, free: 141.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004177/2.935, allocations: 2.399 MB / 1.07 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/2.937, allocations: 469 kB / 1.071 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/2.937, allocations: 0 / 1.071 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006171/2.937, allocations: 314.2 kB / 1.071 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/2.939, allocations: 161.9 kB / 1.071 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/2.95, allocations: 2.412 MB / 1.074 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/2.95, allocations: 0.8712 MB / 1.074 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006795/2.951, allocations: 198.1 kB / 1.075 GB, free: 138.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.495e-06/2.951, allocations: 0 / 1.075 GB, free: 138.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.496/6.446, allocations: 16.64 MB / 1.091 GB, free: 135.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat