Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 175.1 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3485/0.3485, allocations: 43.55 MB / 314.5 MB, free: 9.059 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000523/0.000523, allocations: 18.97 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1254, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0005891/0.1261, allocations: 224.4 kB / 443.1 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1272, allocations: 0.7425 MB / 443.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.1272, allocations: 0 / 443.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.1272, allocations: 3.938 kB / 443.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.1274, allocations: 0 / 443.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.1276, allocations: 35.89 kB / 443.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.967e-05/0.1276, allocations: 11.98 kB / 443.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.1277, allocations: 0 / 443.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.1277, allocations: 4 kB / 443.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1278, allocations: 7.938 kB / 443.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-06/0.1278, allocations: 0 / 443.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.296e-05/0.1279, allocations: 35.97 kB / 443.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-06/0.1279, allocations: 0 / 443.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.1279, allocations: 25.7 kB / 443.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.977e-05/0.128, allocations: 35.94 kB / 444 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.128, allocations: 0 / 444 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.128, allocations: 0 / 444 MB, free: 12.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.1281, allocations: 4 kB / 444 MB, free: 12.09 MB / 382.1 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.00033/0.1284, allocations: 353 kB / 444.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1284, allocations: 12.03 kB / 444.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.1285, allocations: 34.5 kB / 444.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.1285, allocations: 7.891 kB / 444.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1286, allocations: 159.1 kB / 444.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.1287, allocations: 0 / 444.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1287, allocations: 0 / 444.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.672e-05/0.1287, allocations: 37.69 kB / 444.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1288, allocations: 0 / 444.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.1288, allocations: 0 / 444.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1288, allocations: 0 / 444.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.1288, allocations: 4 kB / 444.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.1289, allocations: 149.9 kB / 444.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.491e-05/0.129, allocations: 26.53 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-06/0.129, allocations: 0 / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.129, allocations: 60.27 kB / 444.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.129, allocations: 3.938 kB / 444.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.1292, allocations: 63.47 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1292, allocations: 81.05 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.1293, allocations: 97.84 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1293, allocations: 25.7 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.1294, allocations: 80.14 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.1294, allocations: 4.188 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.1294, allocations: 4 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.1295, allocations: 318.8 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.1295, allocations: 4 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-06/0.1295, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/0.1295, allocations: 25.7 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1295, allocations: 4 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.469e-05/0.1296, allocations: 59.39 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.1296, allocations: 33.7 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1296, allocations: 4.094 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.1297, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1297, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1297, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.1297, allocations: 7.922 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1297, allocations: 8 kB / 445.6 MB, free: 10.2 MB / 382.1 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.462e-05/0.1298, allocations: 151.5 kB / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.1298, allocations: 0 / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.101e-05/0.1298, allocations: 11.06 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1298, allocations: 4 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1299, allocations: 0 / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1299, allocations: 0 / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.272e-05/0.13, allocations: 149.6 kB / 445.9 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.13, allocations: 0 / 445.9 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-06/0.13, allocations: 4 kB / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.13, allocations: 0 / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.13, allocations: 0 / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.13, allocations: 0 / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.13, allocations: 0 / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.32e-05/0.1301, allocations: 98.78 kB / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.1301, allocations: 81.02 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1302, allocations: 0 / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.606e-05/0.1302, allocations: 4 kB / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.1302, allocations: 3.938 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1302, allocations: 0 / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.317e-05/0.1303, allocations: 75.28 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1303, allocations: 4.125 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.1305, allocations: 31.92 kB / 446.2 MB, free: 9.48 MB / 382.1 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.0005776/0.1311, allocations: 0.7097 MB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.51e-05/0.1312, allocations: 63.41 kB / 447 MB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1312, allocations: 0 / 447 MB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.1313, allocations: 55.34 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.406e-05/0.1314, allocations: 7.984 kB / 447 MB, free: 8.605 MB / 382.1 MB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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.0003336/0.1317, allocations: 124.4 kB / 447.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1319, allocations: 0.6731 MB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.065e-06/0.1319, allocations: 0 / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.1319, allocations: 7.438 kB / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1319, allocations: 0 / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1925/0.3244, allocations: 1.214 MB / 449 MB, free: 6.547 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003476/0.3248, allocations: 204.2 kB / 449.2 MB, free: 6.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.983, allocations: 0 / 449.2 MB, free: 6.309 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat