Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.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.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sources_TestSources",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.01079/0.01079, allocations: 105.8 kB / 15.06 MB, free: 5.555 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.001133/0.001133, allocations: 172.4 kB / 15.93 MB, free: 5.527 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.596/1.596, allocations: 170.9 MB / 187.6 MB, free: 1 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.2528/0.2528, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004818, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09163/0.09215, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 1.171/1.263, allocations: 242.3 MB / 0.6002 GB, free: 4.273 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.05311/1.317, allocations: 23.4 MB / 0.623 GB, free: 4.012 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/1.319, allocations: 67.62 kB / 0.6231 GB, free: 4.012 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003844/1.323, allocations: 0.8024 MB / 0.6239 GB, free: 4.012 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02142/1.345, allocations: 5.198 MB / 0.629 GB, free: 3.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02643/1.371, allocations: 6.525 MB / 0.6353 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007129/1.378, allocations: 3.098 MB / 0.6383 GB, free: 3.809 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004026/1.383, allocations: 1.571 MB / 0.6399 GB, free: 19.32 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0166/1.399, allocations: 4.759 MB / 0.6445 GB, free: 18.4 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005549/1.405, allocations: 1.81 MB / 0.6463 GB, free: 17.98 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001456/1.406, allocations: 129.3 kB / 0.6464 GB, free: 17.98 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03958/1.446, allocations: 14.34 MB / 0.6604 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002455/1.448, allocations: 0.8916 MB / 0.6613 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001924/1.45, allocations: 0.4947 MB / 0.6618 GB, free: 13.05 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02372/1.474, allocations: 7.555 MB / 0.6692 GB, free: 6.539 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.474, allocations: 0 / 0.6692 GB, free: 6.539 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.075e-06/1.474, allocations: 0 / 0.6692 GB, free: 6.539 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001341/1.474, allocations: 3.938 kB / 0.6692 GB, free: 6.535 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.01628/1.491, allocations: 4.132 MB / 0.6732 GB, free: 2.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.491, allocations: 12.03 kB / 0.6732 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001097/1.492, allocations: 277.9 kB / 0.6735 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/1.494, allocations: 274.6 kB / 0.6737 GB, free: 2.125 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004269/1.498, allocations: 1.379 MB / 0.6751 GB, free: 1.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/1.498, allocations: 142.1 kB / 0.6752 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008452/1.499, allocations: 177.5 kB / 0.6754 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/1.51, allocations: 2.98 MB / 0.6783 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.544e-05/1.51, allocations: 0 / 0.6783 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004885/1.511, allocations: 82.97 kB / 0.6784 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003689/1.511, allocations: 166.5 kB / 0.6785 GB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/1.522, allocations: 3.279 MB / 0.6817 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03455/1.556, allocations: 11.11 MB / 0.6926 GB, free: 3.074 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007117/1.563, allocations: 1.944 MB / 0.6945 GB, free: 1.777 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004528/1.568, allocations: 3.489 MB / 0.6979 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.462e-05/1.568, allocations: 64.8 kB / 0.698 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001643/1.57, allocations: 198.5 kB / 0.6981 GB, free: 13.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 8.185e-06/1.57, allocations: 0 / 0.6981 GB, free: 13.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=150): time 0.0121/1.582, allocations: 2.929 MB / 0.701 GB, free: 11.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.582, allocations: 207.6 kB / 0.7012 GB, free: 11.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003183/1.585, allocations: 1.503 MB / 0.7027 GB, free: 9.938 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005314/1.586, allocations: 58.89 kB / 0.7027 GB, free: 9.895 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.587, allocations: 0.9926 MB / 0.7037 GB, free: 9.207 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009802/1.588, allocations: 0.5227 MB / 0.7042 GB, free: 8.762 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/1.588, allocations: 47.12 kB / 0.7042 GB, free: 8.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002389/1.589, allocations: 385.2 kB / 0.7046 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/1.592, allocations: 0.8884 MB / 0.7055 GB, free: 7.805 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003961/1.596, allocations: 1.587 MB / 0.707 GB, free: 6.258 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/1.6, allocations: 1.287 MB / 0.7083 GB, free: 5.387 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-05/1.6, allocations: 4 kB / 0.7083 GB, free: 5.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01032/1.61, allocations: 3.08 MB / 0.7113 GB, free: 3.219 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003377/1.614, allocations: 8.797 MB / 0.7199 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-05/1.614, allocations: 20 kB / 0.7199 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00525/1.619, allocations: 0.6586 MB / 0.7206 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00402/1.623, allocations: 0.5019 MB / 0.721 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/1.626, allocations: 1.518 MB / 0.7225 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/1.629, allocations: 152.2 kB / 0.7227 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008424/1.63, allocations: 166.3 kB / 0.7228 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.63, allocations: 4.781 kB / 0.7228 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009602/1.64, allocations: 2.808 MB / 0.7256 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.254e-05/1.64, allocations: 20 kB / 0.7256 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/1.642, allocations: 339.4 kB / 0.7259 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004603/1.647, allocations: 0.5383 MB / 0.7264 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/1.648, allocations: 1.271 MB / 0.7277 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/1.652, allocations: 149.9 kB / 0.7278 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008566/1.653, allocations: 163.7 kB / 0.728 GB, free: 3.094 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002166/1.655, allocations: 0.6261 MB / 0.7286 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006601/1.656, allocations: 188 kB / 0.7288 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.668, allocations: 3.282 MB / 0.732 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/1.668, allocations: 20 kB / 0.732 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.668, allocations: 0 / 0.732 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.283e-05/1.668, allocations: 15.92 kB / 0.732 GB, free: 92 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/1.683, allocations: 4.738 MB / 0.7366 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.683, allocations: 8 kB / 0.7367 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/1.686, allocations: 303.6 kB / 0.7369 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004605/1.69, allocations: 0.5869 MB / 0.7375 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004436/1.691, allocations: 62.23 kB / 0.7376 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/1.693, allocations: 1.527 MB / 0.7391 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/1.693, allocations: 8.281 kB / 0.7391 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00722/1.7, allocations: 2.661 MB / 0.7417 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008601/1.701, allocations: 299.8 kB / 0.742 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007908/1.702, allocations: 43.06 kB / 0.742 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/1.704, allocations: 104.9 kB / 0.7421 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005282/1.705, allocations: 140.4 kB / 0.7422 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003757/1.705, allocations: 107.3 kB / 0.7423 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002419/1.708, allocations: 1.04 MB / 0.7433 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/1.708, allocations: 4 kB / 0.7434 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01065/1.718, allocations: 2.68 MB / 0.746 GB, free: 4.441 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01873/1.737, allocations: 6.803 MB / 0.7526 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.75, allocations: 4.082 MB / 0.7566 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/1.75, allocations: 4.438 kB / 0.7566 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003412/1.753, allocations: 0.9994 MB / 0.7576 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007524/1.761, allocations: 0.8517 MB / 0.7584 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/1.785, allocations: 21.52 MB / 0.7794 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/1.787, allocations: 1.656 MB / 0.781 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008189/1.795, allocations: 1.069 MB / 0.7821 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/1.798, allocations: 0.8656 MB / 0.7829 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of SimCode: time 1.512e-06/1.798, allocations: 0 / 0.7829 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5022/2.3, allocations: 91.75 MB / 0.8725 GB, free: 223.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/2.3, allocations: 262.4 kB / 0.8728 GB, free: 223.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/9.49, allocations: 0 / 0.8728 GB, free: 223.3 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat