Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.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.TestReadFile,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestReadFile",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.01527/0.01527, allocations: 108.6 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.2.mo): time 0.001873/0.001873, allocations: 184.3 kB / 15.95 MB, free: 5.965 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 1.989/1.989, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.2785/0.2785, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004901, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.128, allocations: 54.87 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0007749/0.1288, allocations: 224.4 kB / 416.2 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1306, allocations: 0.7319 MB / 417 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.1307, allocations: 0 / 417 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1307, allocations: 4 kB / 417 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.1309, allocations: 7.984 kB / 417 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1312, allocations: 43.83 kB / 417 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.494e-05/0.1312, allocations: 0 / 417 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.1313, allocations: 0 / 417 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.1313, allocations: 0 / 417 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1315, allocations: 7.984 kB / 417 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.1315, allocations: 0 / 417 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.1317, allocations: 39.97 kB / 417.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1317, allocations: 3.984 kB / 417.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.1318, allocations: 29.7 kB / 417.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1319, allocations: 35.89 kB / 417.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.132, allocations: 0 / 417.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.132, allocations: 0 / 417.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.132, allocations: 0 / 417.1 MB, free: 1.449 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.0004541/0.1325, allocations: 349.1 kB / 417.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.1325, allocations: 12.03 kB / 417.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.1326, allocations: 30.56 kB / 417.5 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1326, allocations: 0 / 417.5 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1328, allocations: 163.1 kB / 417.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1328, allocations: 4 kB / 417.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1329, allocations: 4 kB / 417.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.133, allocations: 33.66 kB / 417.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.133, allocations: 0 / 417.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.133, allocations: 0 / 417.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1331, allocations: 4 kB / 417.7 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.1331, allocations: 0 / 417.7 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.1333, allocations: 149.6 kB / 417.9 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.1334, allocations: 26.55 kB / 417.9 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.1334, allocations: 0 / 417.9 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.621e-05/0.1335, allocations: 64.25 kB / 417.9 MB, free: 456 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.903e-06/0.1335, allocations: 0 / 417.9 MB, free: 456 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002377/0.1338, allocations: 71.34 kB / 418 MB, free: 372 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.1339, allocations: 81.11 kB / 418.1 MB, free: 272 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.134, allocations: 101.9 kB / 418.2 MB, free: 160 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.134, allocations: 25.7 kB / 418.2 MB, free: 128 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.1341, allocations: 80.14 kB / 418.3 MB, free: 44 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1341, allocations: 0 / 418.3 MB, free: 44 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.1341, allocations: 3.938 kB / 418.3 MB, free: 40 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1343, allocations: 314.8 kB / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.1344, allocations: 0 / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.1344, allocations: 3.984 kB / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.1344, allocations: 29.7 kB / 418.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1345, allocations: 4.188 kB / 418.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001327/0.1346, allocations: 63.41 kB / 418.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.1347, allocations: 29.7 kB / 418.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1347, allocations: 0 / 418.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1347, allocations: 0 / 418.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-06/0.1347, allocations: 7.891 kB / 418.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1347, allocations: 3.984 kB / 418.8 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.1348, allocations: 4 kB / 418.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1348, allocations: 0 / 418.8 MB, free: 15.55 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 0.000126/0.135, allocations: 135.6 kB / 418.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.135, allocations: 4 kB / 418.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.135, allocations: 7.078 kB / 418.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.135, allocations: 0 / 418.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.135, allocations: 3.953 kB / 418.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1351, allocations: 0 / 418.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1352, allocations: 145.7 kB / 419 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1352, allocations: 4 kB / 419 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.853e-06/0.1353, allocations: 0 / 419 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1353, allocations: 0 / 419 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1353, allocations: 4 kB / 419.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1353, allocations: 0 / 419.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1353, allocations: 0 / 419.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.1355, allocations: 98.78 kB / 419.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.1356, allocations: 77.11 kB / 419.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1356, allocations: 11.94 kB / 419.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.1357, allocations: 0 / 419.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.1357, allocations: 0 / 419.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.1357, allocations: 7.969 kB / 419.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.061e-05/0.1358, allocations: 79.27 kB / 419.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.1358, allocations: 4 kB / 419.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004714/0.1363, allocations: 23.89 kB / 419.3 MB, free: 14.85 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.0009971/0.1373, allocations: 0.7129 MB / 420.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1375, allocations: 63.33 kB / 420.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1375, allocations: 4.062 kB / 420.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/0.1375, allocations: 55.41 kB / 420.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.1377, allocations: 7.594 kB / 420.2 MB, free: 13.98 MB / 362.7 MB Warning: Could not resolve URI ("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Resources/Data/ReadStreamTestFile.txt") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.1383, allocations: 116.4 kB / 420.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1386, allocations: 0.677 MB / 421 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.173e-05/0.1386, allocations: 0 / 421 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.1387, allocations: 7.438 kB / 421 MB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1387, allocations: 0 / 421 MB, free: 13.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/0.2451, allocations: 1.232 MB / 422.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/0.2455, allocations: 212.5 kB / 422.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/2.767, allocations: 7.938 kB / 422.4 MB, free: 11.69 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat