Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01091/0.01092, allocations: 104.7 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001115/0.001115, allocations: 173.6 kB / 15.94 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.584/1.584, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2437/0.2437, allocations: 38.08 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004558, allocations: 12 kB / 323.6 MB, free: 29.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08838/0.08886, allocations: 48.71 MB / 372.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5008/0.5898, allocations: 133 MB / 0.4934 GB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009599/0.5994, allocations: 4.877 MB / 0.4982 GB, free: 13.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007266/0.6002, allocations: 19.81 kB / 0.4982 GB, free: 13.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.601, allocations: 175.1 kB / 0.4984 GB, free: 13.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.6039, allocations: 0.6602 MB / 0.499 GB, free: 12.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.6062, allocations: 0.5268 MB / 0.4995 GB, free: 12.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.6076, allocations: 0.6606 MB / 0.5002 GB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.6082, allocations: 261.3 kB / 0.5004 GB, free: 11.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.6092, allocations: 366.8 kB / 0.5008 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005115/0.6098, allocations: 263 kB / 0.501 GB, free: 10.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.677e-05/0.6099, allocations: 27.94 kB / 0.5011 GB, free: 10.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.6114, allocations: 423.5 kB / 0.5015 GB, free: 10.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.6116, allocations: 123.6 kB / 0.5016 GB, free: 10.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.6118, allocations: 117.5 kB / 0.5017 GB, free: 10.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.6131, allocations: 0.6448 MB / 0.5023 GB, free: 9.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6131, allocations: 0 / 0.5023 GB, free: 9.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6131, allocations: 0 / 0.5023 GB, free: 9.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.6132, allocations: 0 / 0.5023 GB, free: 9.492 MB / 362.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.002267/0.6154, allocations: 0.8128 MB / 0.5031 GB, free: 8.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6155, allocations: 8.031 kB / 0.5031 GB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.6156, allocations: 78.52 kB / 0.5032 GB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004945/0.6162, allocations: 71.42 kB / 0.5033 GB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/0.617, allocations: 394.4 kB / 0.5037 GB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/0.6171, allocations: 58.69 kB / 0.5037 GB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.6173, allocations: 40 kB / 0.5037 GB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.6188, allocations: 0.5244 MB / 0.5043 GB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.6188, allocations: 0 / 0.5043 GB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.6189, allocations: 27.88 kB / 0.5043 GB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.619, allocations: 16.64 kB / 0.5043 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.6206, allocations: 422.2 kB / 0.5047 GB, free: 6.906 MB / 362.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.004875/0.6255, allocations: 2.499 MB / 0.5071 GB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.6269, allocations: 367.4 kB / 0.5075 GB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.6269, allocations: 8.266 kB / 0.5075 GB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000856/0.6278, allocations: 260.5 kB / 0.5077 GB, free: 3.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.555e-06/0.6278, allocations: 0 / 0.5077 GB, free: 3.582 MB / 362.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.02157/0.6494, allocations: 3.585 MB / 0.5113 GB, free: 15.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.6495, allocations: 140.5 kB / 0.5114 GB, free: 15.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.6501, allocations: 373.5 kB / 0.5117 GB, free: 15.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.63e-05/0.6502, allocations: 37.7 kB / 0.5118 GB, free: 15.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.6505, allocations: 267.7 kB / 0.512 GB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.6507, allocations: 157.7 kB / 0.5122 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.6508, allocations: 12 kB / 0.5122 GB, free: 14.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6509, allocations: 354.8 kB / 0.5125 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.652, allocations: 245.1 kB / 0.5128 GB, free: 14.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.6532, allocations: 434.7 kB / 0.5132 GB, free: 13.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.6545, allocations: 318.3 kB / 0.5135 GB, free: 13.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.6545, allocations: 7.938 kB / 0.5135 GB, free: 13.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003151/0.6577, allocations: 0.8294 MB / 0.5143 GB, free: 12.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.6577, allocations: 34.33 kB / 0.5143 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6578, allocations: 4 kB / 0.5143 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007357/0.6585, allocations: 121.5 kB / 0.5145 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.6596, allocations: 151.7 kB / 0.5146 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008591/0.6604, allocations: 0.6734 MB / 0.5153 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/0.6614, allocations: 67.94 kB / 0.5153 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.6615, allocations: 48.06 kB / 0.5154 GB, free: 11.45 MB / 378.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.0003984/0.6619, allocations: 198.7 kB / 0.5156 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.6621, allocations: 51.39 kB / 0.5156 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/0.6656, allocations: 0.7863 MB / 0.5164 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.6656, allocations: 4 kB / 0.5164 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.6657, allocations: 3.953 kB / 0.5164 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6657, allocations: 0 / 0.5164 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/0.6698, allocations: 1.32 MB / 0.5177 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/0.6698, allocations: 12.09 kB / 0.5177 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/0.6707, allocations: 111.9 kB / 0.5178 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.6718, allocations: 116.6 kB / 0.5179 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.6718, allocations: 15.98 kB / 0.5179 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.6746, allocations: 1.718 MB / 0.5196 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.6746, allocations: 3.984 kB / 0.5196 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.679, allocations: 1.095 MB / 0.5207 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.6794, allocations: 152.5 kB / 0.5208 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6796, allocations: 15.98 kB / 0.5208 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008529/0.6804, allocations: 59.95 kB / 0.5209 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.6807, allocations: 67.89 kB / 0.5209 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.647e-05/0.6808, allocations: 39.97 kB / 0.521 GB, free: 5.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.6812, allocations: 259.2 kB / 0.5212 GB, free: 5.125 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6812, allocations: 0 / 0.5212 GB, free: 5.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00115/0.6824, allocations: 236 kB / 0.5215 GB, free: 4.895 MB / 378.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.005617/0.688, allocations: 2.194 MB / 0.5236 GB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.6907, allocations: 0.6579 MB / 0.5242 GB, free: 1.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6907, allocations: 0 / 0.5242 GB, free: 1.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.6922, allocations: 434.7 kB / 0.5247 GB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.6937, allocations: 188 kB / 0.5248 GB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.7043, allocations: 6.885 MB / 0.5316 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.7049, allocations: 0.863 MB / 0.5324 GB, free: 9.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00117/0.7061, allocations: 156.5 kB / 0.5326 GB, free: 9.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.7067, allocations: 199.3 kB / 0.5327 GB, free: 9.059 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7067, allocations: 0 / 0.5327 GB, free: 9.059 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05352/0.7602, allocations: 16.95 MB / 0.5493 GB, free: 8.211 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003715/0.7606, allocations: 268.1 kB / 0.5496 GB, free: 7.852 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/3.824, allocations: 0 / 0.5496 GB, free: 7.852 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat