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.46/2.46, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.576e-05, allocations: 4 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4051, allocations: 54.85 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.935/2.34, allocations: 0.6039 GB / 0.96 GB, free: 125.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004104/2.34, allocations: 83.5 kB / 0.96 GB, free: 125.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3859/2.726, allocations: 102.9 MB / 1.061 GB, free: 30.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.484e-06/2.726, allocations: 0 / 1.061 GB, free: 30.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.525e-05/2.726, allocations: 8 kB / 1.061 GB, free: 30.42 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.002201/2.728, allocations: 0.8211 MB / 1.061 GB, free: 29.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/2.729, allocations: 15.91 kB / 1.061 GB, free: 29.53 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/2.729, allocations: 78.52 kB / 1.061 GB, free: 29.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/2.729, allocations: 71.33 kB / 1.061 GB, free: 29.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009798/2.73, allocations: 416.1 kB / 1.062 GB, free: 28.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/2.73, allocations: 66.45 kB / 1.062 GB, free: 28.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.28e-05/2.73, allocations: 36 kB / 1.062 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/2.731, allocations: 487.4 kB / 1.062 GB, free: 28.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/2.731, allocations: 3.938 kB / 1.062 GB, free: 28.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/2.732, allocations: 16 kB / 1.062 GB, free: 28.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/2.732, allocations: 24.77 kB / 1.062 GB, free: 28.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/2.732, allocations: 326.9 kB / 1.063 GB, free: 27.93 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.00407/2.737, allocations: 2.438 MB / 1.065 GB, free: 25.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/2.737, allocations: 264.8 kB / 1.065 GB, free: 25.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/2.738, allocations: 133.4 kB / 1.066 GB, free: 24.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/2.738, allocations: 4.281 kB / 1.066 GB, free: 24.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/2.738, allocations: 228.5 kB / 1.066 GB, free: 24.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.306e-06/2.738, allocations: 4 kB / 1.066 GB, free: 24.68 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.01461/2.753, allocations: 2.653 MB / 1.068 GB, free: 21.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/2.753, allocations: 132.5 kB / 1.069 GB, free: 21.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/2.753, allocations: 326.8 kB / 1.069 GB, free: 21.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/2.753, allocations: 33.7 kB / 1.069 GB, free: 21.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/2.754, allocations: 306.3 kB / 1.069 GB, free: 21.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/2.754, allocations: 157.7 kB / 1.069 GB, free: 20.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/2.754, allocations: 12 kB / 1.069 GB, free: 20.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.979e-05/2.754, allocations: 342.8 kB / 1.07 GB, free: 20.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/2.754, allocations: 161.4 kB / 1.07 GB, free: 20.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/2.755, allocations: 344.1 kB / 1.07 GB, free: 19.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/2.755, allocations: 243.2 kB / 1.07 GB, free: 19.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/2.755, allocations: 0 / 1.07 GB, free: 19.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001443/2.757, allocations: 0.6196 MB / 1.071 GB, free: 19.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/2.757, allocations: 37.8 kB / 1.071 GB, free: 19.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/2.757, allocations: 8 kB / 1.071 GB, free: 19.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/2.758, allocations: 116.8 kB / 1.071 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/2.759, allocations: 155.8 kB / 1.071 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006321/2.759, allocations: 0.6656 MB / 1.072 GB, free: 18.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009089/2.76, allocations: 75.84 kB / 1.072 GB, free: 18.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.54e-05/2.76, allocations: 51.98 kB / 1.072 GB, free: 17.98 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 () * 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.0001955/2.761, allocations: 144.3 kB / 1.072 GB, free: 17.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.896e-05/2.761, allocations: 39.53 kB / 1.072 GB, free: 17.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/2.763, allocations: 0.6193 MB / 1.073 GB, free: 17.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/2.763, allocations: 8 kB / 1.073 GB, free: 17.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/2.763, allocations: 48 / 1.073 GB, free: 17.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/2.763, allocations: 11.97 kB / 1.073 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/2.765, allocations: 1.136 MB / 1.074 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/2.765, allocations: 4 kB / 1.074 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008692/2.766, allocations: 115.8 kB / 1.074 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008682/2.767, allocations: 104.9 kB / 1.074 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/2.767, allocations: 20 kB / 1.074 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/2.769, allocations: 1.672 MB / 1.076 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/2.769, allocations: 3.953 kB / 1.076 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/2.771, allocations: 0.8459 MB / 1.077 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/2.772, allocations: 156.5 kB / 1.077 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/2.772, allocations: 8 kB / 1.077 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008211/2.773, allocations: 67.84 kB / 1.077 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/2.773, allocations: 63.84 kB / 1.077 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-05/2.773, allocations: 35.98 kB / 1.077 GB, free: 12.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003695/2.773, allocations: 253.2 kB / 1.077 GB, free: 12.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.773, allocations: 3.938 kB / 1.077 GB, free: 12.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00135/2.775, allocations: 303.8 kB / 1.077 GB, free: 12.07 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) * 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.004086/2.779, allocations: 2.462 MB / 1.08 GB, free: 9.551 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/2.78, allocations: 493.7 kB / 1.08 GB, free: 9.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/2.78, allocations: 0 / 1.08 GB, free: 9.055 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006818/2.781, allocations: 346.9 kB / 1.081 GB, free: 8.703 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/2.782, allocations: 173.6 kB / 1.081 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/2.793, allocations: 2.478 MB / 1.083 GB, free: 5.996 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/2.793, allocations: 0.8669 MB / 1.084 GB, free: 5.102 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/2.794, allocations: 207.3 kB / 1.084 GB, free: 4.898 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/2.794, allocations: 0 / 1.084 GB, free: 4.898 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.606/6.4, allocations: 16.7 MB / 1.101 GB, free: 119.3 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