Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.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.TestStrings,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestStrings",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.0115/0.0115, allocations: 108.5 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.001269/0.001269, allocations: 181.3 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.013/2.013, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.2935/0.2935, allocations: 40.04 MB / 296.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004807, allocations: 12 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006528/0.1192, allocations: 220.4 kB / 416.2 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.1224, allocations: 1.21 MB / 417.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.1225, allocations: 0 / 417.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.1225, allocations: 0 / 417.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.1225, allocations: 0 / 417.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.1244, allocations: 434.9 kB / 417.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.526e-05/0.1244, allocations: 0 / 417.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.1245, allocations: 4 kB / 417.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.1245, allocations: 0 / 417.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.78e-05/0.1246, allocations: 3.984 kB / 417.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.1246, allocations: 4 kB / 417.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.1263, allocations: 0.6398 MB / 418.5 MB, free: 48 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.1263, allocations: 3.984 kB / 418.5 MB, free: 44 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.1264, allocations: 25.7 kB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008963/0.1273, allocations: 351.5 kB / 418.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1273, allocations: 0 / 418.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1273, allocations: 0 / 418.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1273, allocations: 0 / 418.9 MB, free: 15.67 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006139/0.128, allocations: 461 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.128, allocations: 12.03 kB / 419.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.1281, allocations: 30.56 kB / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.1281, allocations: 0 / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1282, allocations: 163.1 kB / 419.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1282, allocations: 4 kB / 419.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1283, allocations: 0 / 419.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.516e-05/0.1284, allocations: 33.66 kB / 419.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1284, allocations: 0 / 419.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1284, allocations: 3.938 kB / 419.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1284, allocations: 0 / 419.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.1285, allocations: 7.938 kB / 419.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.1286, allocations: 145.7 kB / 419.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.1287, allocations: 26.56 kB / 419.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.1287, allocations: 96 / 419.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.1287, allocations: 60.27 kB / 419.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.1288, allocations: 0 / 419.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001891/0.129, allocations: 67.3 kB / 419.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.129, allocations: 81.09 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.1291, allocations: 93.86 kB / 420.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1291, allocations: 25.7 kB / 420.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.1291, allocations: 84.27 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.1292, allocations: 0 / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.1292, allocations: 4 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1293, allocations: 310.8 kB / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.1293, allocations: 0 / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.1294, allocations: 0 / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.1294, allocations: 33.64 kB / 420.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1294, allocations: 0 / 420.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.65e-05/0.1295, allocations: 75.3 kB / 420.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.1296, allocations: 33.7 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1296, allocations: 0 / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1296, allocations: 0 / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.1296, allocations: 0 / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1296, allocations: 3.953 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.1297, allocations: 0 / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1297, allocations: 4 kB / 420.6 MB, free: 13.68 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.804e-05/0.1298, allocations: 131.5 kB / 420.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.1298, allocations: 4.031 kB / 420.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.1298, allocations: 11.06 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1299, allocations: 4 kB / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1299, allocations: 0 / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1299, allocations: 3.953 kB / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.13, allocations: 145.7 kB / 420.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.13, allocations: 0 / 420.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.13, allocations: 0 / 420.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.13, allocations: 4 kB / 420.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1301, allocations: 3.984 kB / 420.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1301, allocations: 0 / 420.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1301, allocations: 4 kB / 420.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.1302, allocations: 94.73 kB / 421 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.1303, allocations: 85.03 kB / 421.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1303, allocations: 0 / 421.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.1303, allocations: 4 kB / 421.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.1303, allocations: 0 / 421.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1303, allocations: 4 kB / 421.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.792e-05/0.1304, allocations: 79.31 kB / 421.2 MB, free: 13 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1304, allocations: 0 / 421.2 MB, free: 13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007721/0.1312, allocations: 199.9 kB / 421.4 MB, free: 12.8 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.002156/0.1333, allocations: 1.123 MB / 422.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1335, allocations: 67.33 kB / 422.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1335, allocations: 0 / 422.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.1336, allocations: 55.41 kB / 422.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.1337, allocations: 4 kB / 422.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.1343, allocations: 200.3 kB / 422.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1346, allocations: 0.6731 MB / 423.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.274e-06/0.1346, allocations: 0 / 423.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.1347, allocations: 19.5 kB / 423.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1347, allocations: 0 / 423.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.17, allocations: 4.965 MB / 428.5 MB, free: 5.656 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/0.1704, allocations: 223.3 kB / 428.7 MB, free: 5.402 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/2.828, allocations: 3.938 kB / 428.7 MB, free: 5.398 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat