Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.961/1.961, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004415, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3455, allocations: 48.7 MB / 331.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.745/2.091, allocations: 0.5972 GB / 0.9208 GB, free: 54.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/2.091, allocations: 89.77 kB / 0.9209 GB, free: 54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6475/2.738, allocations: 103.1 MB / 1.022 GB, free: 129.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/2.739, allocations: 0 / 1.022 GB, free: 129.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.143e-05/2.739, allocations: 15.84 kB / 1.022 GB, free: 129.9 MB / 442.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.002875/2.741, allocations: 0.873 MB / 1.022 GB, free: 129.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/2.742, allocations: 11.66 kB / 1.023 GB, free: 129.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/2.742, allocations: 77.02 kB / 1.023 GB, free: 129.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/2.742, allocations: 78.19 kB / 1.023 GB, free: 129.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/2.744, allocations: 418 kB / 1.023 GB, free: 128.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/2.744, allocations: 65.48 kB / 1.023 GB, free: 128.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/2.744, allocations: 35.22 kB / 1.023 GB, free: 128.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/2.746, allocations: 0.5201 MB / 1.024 GB, free: 128.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/2.746, allocations: 15.78 kB / 1.024 GB, free: 128.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/2.746, allocations: 19.66 kB / 1.024 GB, free: 128.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/2.746, allocations: 16.09 kB / 1.024 GB, free: 128.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/2.748, allocations: 421.6 kB / 1.024 GB, free: 128.4 MB / 442.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.005304/2.754, allocations: 2.418 MB / 1.026 GB, free: 126.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/2.755, allocations: 349.4 kB / 1.027 GB, free: 126.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.704e-05/2.755, allocations: 12.05 kB / 1.027 GB, free: 126.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/2.756, allocations: 269.3 kB / 1.027 GB, free: 126.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.666e-06/2.756, allocations: 0 / 1.027 GB, free: 126.1 MB / 442.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.02755/2.784, allocations: 3.611 MB / 1.031 GB, free: 124.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/2.784, allocations: 143.4 kB / 1.031 GB, free: 123.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/2.785, allocations: 336.9 kB / 1.031 GB, free: 123.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-05/2.785, allocations: 33.64 kB / 1.031 GB, free: 123.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/2.785, allocations: 301.6 kB / 1.031 GB, free: 123.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/2.785, allocations: 157.2 kB / 1.032 GB, free: 123.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/2.785, allocations: 11.72 kB / 1.032 GB, free: 123.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/2.786, allocations: 338.7 kB / 1.032 GB, free: 122.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/2.787, allocations: 236.1 kB / 1.032 GB, free: 122.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/2.789, allocations: 435.5 kB / 1.033 GB, free: 122.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/2.79, allocations: 323 kB / 1.033 GB, free: 122.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/2.79, allocations: 0 / 1.033 GB, free: 122.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003204/2.793, allocations: 0.7905 MB / 1.034 GB, free: 121.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/2.793, allocations: 33.73 kB / 1.034 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/2.793, allocations: 3.375 kB / 1.034 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007662/2.794, allocations: 121.3 kB / 1.034 GB, free: 121.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/2.795, allocations: 156.3 kB / 1.034 GB, free: 121.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007004/2.796, allocations: 0.6688 MB / 1.035 GB, free: 121.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009171/2.797, allocations: 76.81 kB / 1.035 GB, free: 121.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/2.797, allocations: 42.53 kB / 1.035 GB, free: 121.2 MB / 442.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.0003998/2.797, allocations: 202.1 kB / 1.035 GB, free: 121 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/2.797, allocations: 52.56 kB / 1.035 GB, free: 121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/2.801, allocations: 0.7761 MB / 1.036 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-06/2.801, allocations: 3.375 kB / 1.036 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.801, allocations: 0 / 1.036 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/2.801, allocations: 3.984 kB / 1.036 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/2.804, allocations: 1.319 MB / 1.037 GB, free: 119.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/2.804, allocations: 0 / 1.037 GB, free: 119.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008314/2.805, allocations: 119.7 kB / 1.037 GB, free: 119.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009536/2.806, allocations: 99.19 kB / 1.037 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/2.806, allocations: 23.89 kB / 1.037 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/2.809, allocations: 1.716 MB / 1.039 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/2.809, allocations: 15.83 kB / 1.039 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003718/2.812, allocations: 1.089 MB / 1.04 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/2.813, allocations: 155.7 kB / 1.04 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/2.813, allocations: 15.66 kB / 1.04 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000803/2.814, allocations: 58.53 kB / 1.04 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/2.814, allocations: 62.66 kB / 1.04 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/2.814, allocations: 34.48 kB / 1.04 GB, free: 117 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003899/2.814, allocations: 260.3 kB / 1.04 GB, free: 116.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.814, allocations: 0 / 1.04 GB, free: 116.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001412/2.816, allocations: 310.8 kB / 1.041 GB, free: 116.6 MB / 442.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.005797/2.822, allocations: 2.703 MB / 1.043 GB, free: 114 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002416/2.824, allocations: 0.6463 MB / 1.044 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/2.824, allocations: 4 kB / 1.044 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/2.825, allocations: 440 kB / 1.044 GB, free: 112.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/2.827, allocations: 176.5 kB / 1.045 GB, free: 112.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/2.844, allocations: 8.393 MB / 1.053 GB, free: 104.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/2.844, allocations: 0.8669 MB / 1.054 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/2.845, allocations: 199.4 kB / 1.054 GB, free: 103.2 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/2.845, allocations: 0 / 1.054 GB, free: 103.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.086/5.931, allocations: 16.75 MB / 1.07 GB, free: 86.46 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat