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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.233/2.233, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004403, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3517, allocations: 54.87 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.816/2.168, allocations: 0.604 GB / 0.9647 GB, free: 55.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/2.168, allocations: 94.02 kB / 0.9648 GB, free: 55.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7082/2.877, allocations: 103.1 MB / 1.065 GB, free: 150 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/2.877, allocations: 0 / 1.065 GB, free: 150 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.338e-05/2.877, allocations: 15.03 kB / 1.065 GB, free: 150 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.002519/2.879, allocations: 0.8752 MB / 1.066 GB, free: 149.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/2.879, allocations: 7.75 kB / 1.066 GB, free: 149.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/2.88, allocations: 78.94 kB / 1.066 GB, free: 149.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/2.88, allocations: 80.95 kB / 1.067 GB, free: 149.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009489/2.881, allocations: 419.5 kB / 1.067 GB, free: 149.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/2.881, allocations: 58.36 kB / 1.067 GB, free: 149 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-05/2.881, allocations: 39.34 kB / 1.067 GB, free: 149 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/2.883, allocations: 0.5284 MB / 1.068 GB, free: 148.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/2.883, allocations: 3.938 kB / 1.068 GB, free: 148.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-05/2.883, allocations: 23.52 kB / 1.068 GB, free: 148.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/2.883, allocations: 12.22 kB / 1.068 GB, free: 148.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/2.884, allocations: 434.8 kB / 1.068 GB, free: 148.6 MB / 490.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.004266/2.889, allocations: 2.423 MB / 1.07 GB, free: 146.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/2.89, allocations: 362.5 kB / 1.071 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.864e-05/2.89, allocations: 3.938 kB / 1.071 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007694/2.891, allocations: 272.2 kB / 1.071 GB, free: 146.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/2.891, allocations: 0 / 1.071 GB, free: 146.4 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.02116/2.912, allocations: 3.613 MB / 1.074 GB, free: 145.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/2.912, allocations: 132.5 kB / 1.075 GB, free: 144.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/2.913, allocations: 332.7 kB / 1.075 GB, free: 144.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-05/2.913, allocations: 41.58 kB / 1.075 GB, free: 144.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/2.913, allocations: 306.2 kB / 1.075 GB, free: 144.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/2.913, allocations: 159.1 kB / 1.075 GB, free: 144.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/2.913, allocations: 15.97 kB / 1.075 GB, free: 144.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/2.913, allocations: 334.3 kB / 1.076 GB, free: 144 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/2.914, allocations: 237 kB / 1.076 GB, free: 143.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/2.915, allocations: 434.2 kB / 1.076 GB, free: 143.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/2.917, allocations: 324.9 kB / 1.077 GB, free: 143.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/2.917, allocations: 0 / 1.077 GB, free: 143.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002691/2.919, allocations: 0.791 MB / 1.077 GB, free: 143 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/2.919, allocations: 37.7 kB / 1.077 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/2.919, allocations: 8.062 kB / 1.077 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/2.92, allocations: 120.2 kB / 1.078 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/2.921, allocations: 151.8 kB / 1.078 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006887/2.922, allocations: 0.6772 MB / 1.078 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009667/2.923, allocations: 64.02 kB / 1.078 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/2.923, allocations: 47.98 kB / 1.079 GB, free: 141.9 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked 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.0004199/2.923, allocations: 197.6 kB / 1.079 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/2.923, allocations: 51.39 kB / 1.079 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/2.927, allocations: 0.7757 MB / 1.08 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/2.927, allocations: 7.953 kB / 1.08 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/2.927, allocations: 0 / 1.08 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/2.927, allocations: 11.98 kB / 1.08 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003946/2.931, allocations: 1.302 MB / 1.081 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/2.931, allocations: 4 kB / 1.081 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009011/2.932, allocations: 116 kB / 1.081 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009772/2.933, allocations: 110.2 kB / 1.081 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/2.933, allocations: 20 kB / 1.081 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/2.935, allocations: 1.709 MB / 1.083 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.935, allocations: 0 / 1.083 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/2.939, allocations: 1.095 MB / 1.084 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/2.939, allocations: 160.5 kB / 1.084 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/2.94, allocations: 12 kB / 1.084 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008369/2.94, allocations: 67.88 kB / 1.084 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/2.941, allocations: 63.86 kB / 1.084 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/2.941, allocations: 32 kB / 1.084 GB, free: 135.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004005/2.941, allocations: 263.1 kB / 1.084 GB, free: 135.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.303e-06/2.941, allocations: 0 / 1.084 GB, free: 135.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001453/2.943, allocations: 303.4 kB / 1.085 GB, free: 135.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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.00602/2.949, allocations: 2.702 MB / 1.087 GB, free: 132.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002562/2.951, allocations: 0.65 MB / 1.088 GB, free: 132 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/2.951, allocations: 4 kB / 1.088 GB, free: 132 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/2.953, allocations: 418.6 kB / 1.088 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/2.954, allocations: 171.8 kB / 1.088 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/2.971, allocations: 8.424 MB / 1.097 GB, free: 123 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/2.972, allocations: 0.8708 MB / 1.098 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006764/2.972, allocations: 199.4 kB / 1.098 GB, free: 121.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/2.972, allocations: 0 / 1.098 GB, free: 121.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.3/6.272, allocations: 16.76 MB / 1.114 GB, free: 105.1 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