Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01131/0.01131, allocations: 106.3 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.2.mo): time 0.001277/0.001276, allocations: 183 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.044/2.044, allocations: 194.5 MB / 211.3 MB, free: 10.95 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2636/0.2636, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004777, allocations: 12 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0006975/0.1143, allocations: 220.4 kB / 416.2 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.1153, allocations: 276.9 kB / 416.5 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.1153, allocations: 4 kB / 416.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.1153, allocations: 0 / 416.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.1153, allocations: 0 / 416.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.1158, allocations: 67.78 kB / 416.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.135e-05/0.1158, allocations: 4 kB / 416.6 MB, free: 2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.1159, allocations: 0 / 416.6 MB, free: 2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.583e-05/0.1159, allocations: 0 / 416.6 MB, free: 2 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.958e-05/0.1159, allocations: 7.922 kB / 416.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.116, allocations: 0 / 416.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1162, allocations: 79.88 kB / 416.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-06/0.1162, allocations: 4 kB / 416.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.1162, allocations: 29.7 kB / 416.7 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1164, allocations: 55.89 kB / 416.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1164, allocations: 4 kB / 416.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1164, allocations: 0 / 416.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1164, allocations: 0 / 416.8 MB, free: 1.816 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003307/0.1168, allocations: 357.1 kB / 417.1 MB, free: 1.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1168, allocations: 8.031 kB / 417.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.1169, allocations: 34.56 kB / 417.1 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.1169, allocations: 4 kB / 417.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.117, allocations: 167.1 kB / 417.3 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.117, allocations: 4 kB / 417.3 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.117, allocations: 0 / 417.3 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.467e-05/0.1171, allocations: 41.58 kB / 417.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1172, allocations: 0 / 417.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1172, allocations: 0 / 417.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1172, allocations: 0 / 417.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.1172, allocations: 0 / 417.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.1174, allocations: 145.7 kB / 417.5 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.43e-05/0.1174, allocations: 22.58 kB / 417.5 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-06/0.1174, allocations: 0 / 417.5 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.1175, allocations: 64.34 kB / 417.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.1175, allocations: 0 / 417.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001777/0.1177, allocations: 63.3 kB / 417.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1177, allocations: 81.11 kB / 417.7 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.932e-05/0.1178, allocations: 89.86 kB / 417.8 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1178, allocations: 37.77 kB / 417.9 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.1179, allocations: 80.14 kB / 417.9 MB, free: 420 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1179, allocations: 0 / 417.9 MB, free: 420 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.1179, allocations: 0 / 417.9 MB, free: 420 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.118, allocations: 314.8 kB / 418.2 MB, free: 96 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.118, allocations: 4 kB / 418.2 MB, free: 92 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.1181, allocations: 0 / 418.2 MB, free: 92 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/0.1181, allocations: 25.7 kB / 418.3 MB, free: 60 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1181, allocations: 0 / 418.3 MB, free: 60 kB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001104/0.1182, allocations: 71.31 kB / 418.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.1183, allocations: 41.62 kB / 418.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1183, allocations: 4 kB / 418.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1183, allocations: 0 / 418.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.1183, allocations: 0 / 418.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1183, allocations: 3.953 kB / 418.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.1184, allocations: 0 / 418.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1184, allocations: 0 / 418.4 MB, free: 15.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/0.1185, allocations: 135.6 kB / 418.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.1185, allocations: 4 kB / 418.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.437e-05/0.1185, allocations: 7.078 kB / 418.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1185, allocations: 0 / 418.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1186, allocations: 3.984 kB / 418.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1186, allocations: 7.953 kB / 418.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.734e-05/0.1187, allocations: 141.7 kB / 418.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1187, allocations: 0 / 418.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.1187, allocations: 0 / 418.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1187, allocations: 0 / 418.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-06/0.1187, allocations: 0 / 418.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1187, allocations: 8 kB / 418.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1188, allocations: 0 / 418.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.1189, allocations: 94.72 kB / 418.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.119, allocations: 81.11 kB / 418.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.119, allocations: 0 / 418.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.517e-05/0.119, allocations: 3.984 kB / 418.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.119, allocations: 4 kB / 418.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.1191, allocations: 4.031 kB / 418.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.1191, allocations: 79.28 kB / 418.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1191, allocations: 4 kB / 418.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.1195, allocations: 24 kB / 419 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009761/0.1205, allocations: 0.8164 MB / 419.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.1206, allocations: 55.41 kB / 419.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1206, allocations: 0 / 419.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.1206, allocations: 55.41 kB / 419.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.1208, allocations: 4 kB / 419.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.1211, allocations: 124.6 kB / 420 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1214, allocations: 0.677 MB / 420.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.003e-06/0.1214, allocations: 0 / 420.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.1214, allocations: 7.438 kB / 420.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of SimCode: time 2.665e-06/0.1214, allocations: 0 / 420.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.1466, allocations: 1.54 MB / 422.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/0.147, allocations: 207.3 kB / 422.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/2.583, allocations: 0 / 422.5 MB, free: 11.67 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat