Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 117.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 207.6 MB / 231.8 MB, free: 4.062 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 52.55 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09719/0.09888, allocations: 49.12 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001622/0.1005, allocations: 0.527 MB / 391.9 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1029, allocations: 1.853 MB / 393.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.1029, allocations: 0 / 393.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02115/0.1241, allocations: 147.2 kB / 393.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.1242, allocations: 35.91 kB / 394 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1244, allocations: 43.88 kB / 394 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1245, allocations: 47.89 kB / 394 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.1246, allocations: 4.219 kB / 394 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.837e-05/0.1247, allocations: 35.84 kB / 394.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1248, allocations: 27.86 kB / 394.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1248, allocations: 4 kB / 394.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.759e-05/0.1249, allocations: 19.97 kB / 394.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.125, allocations: 55.83 kB / 394.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.574e-05/0.1251, allocations: 43.67 kB / 394.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1253, allocations: 99.58 kB / 394.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1253, allocations: 0 / 394.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1253, allocations: 0 / 394.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1253, allocations: 0 / 394.3 MB, free: 5.762 MB / 318.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.0007315/0.126, allocations: 496.2 kB / 394.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1261, allocations: 12.03 kB / 394.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.1261, allocations: 30.75 kB / 394.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.1262, allocations: 16.84 kB / 394.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.1267, allocations: 297 kB / 395.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.1267, allocations: 384 / 395.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1268, allocations: 384 / 395.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1269, allocations: 78.05 kB / 395.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1269, allocations: 0 / 395.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1269, allocations: 4 kB / 395.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1269, allocations: 0 / 395.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/0.1269, allocations: 4 kB / 395.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.1273, allocations: 197.7 kB / 395.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.839e-05/0.1273, allocations: 18.58 kB / 395.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.1274, allocations: 12.78 kB / 395.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.1274, allocations: 0 / 395.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.1274, allocations: 76.2 kB / 395.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1274, allocations: 0 / 395.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001731/0.1276, allocations: 45.61 kB / 395.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1277, allocations: 162.2 kB / 395.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.128, allocations: 227.8 kB / 396 MB, free: 3.867 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.128, allocations: 25.7 kB / 396 MB, free: 3.836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.1281, allocations: 112.1 kB / 396.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1281, allocations: 8 kB / 396.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1281, allocations: 21.83 kB / 396.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1283, allocations: 326.8 kB / 396.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.1283, allocations: 7.938 kB / 396.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.1284, allocations: 36.28 kB / 396.5 MB, free: 3.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.1284, allocations: 16.86 kB / 396.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1284, allocations: 4.062 kB / 396.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.1285, allocations: 61.53 kB / 396.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1285, allocations: 4 kB / 396.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1285, allocations: 0 / 396.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1285, allocations: 0 / 396.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.037e-05/0.1286, allocations: 7.938 kB / 396.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1286, allocations: 0 / 396.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1287, allocations: 8 kB / 396.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1287, allocations: 4 kB / 396.6 MB, free: 3.188 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.1288, allocations: 129.9 kB / 396.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.1288, allocations: 23.83 kB / 396.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.1289, allocations: 20.5 kB / 396.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1289, allocations: 0 / 396.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1289, allocations: 0 / 396.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1289, allocations: 0 / 396.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.1291, allocations: 193.6 kB / 397 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1291, allocations: 3.984 kB / 397 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.1291, allocations: 7.938 kB / 397 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1291, allocations: 0 / 397 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.1292, allocations: 4 kB / 397 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1292, allocations: 0 / 397 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1292, allocations: 0 / 397 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1293, allocations: 84.97 kB / 397.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.1294, allocations: 113 kB / 397.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.1295, allocations: 0 / 397.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1296, allocations: 12 kB / 397.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.1296, allocations: 8.125 kB / 397.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1296, allocations: 0 / 397.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.1298, allocations: 177.4 kB / 397.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1298, allocations: 3.938 kB / 397.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.13, allocations: 16 kB / 397.4 MB, free: 2.312 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008093/0.1308, allocations: 0.686 MB / 398.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.1309, allocations: 16 kB / 398.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.1309, allocations: 4 kB / 398.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.1309, allocations: 7.984 kB / 398.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.1311, allocations: 12 kB / 398.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.133, allocations: 1.681 MB / 399.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1334, allocations: 0.7084 MB / 400.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.518e-05/0.1335, allocations: 36.55 kB / 400.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1336, allocations: 59.39 kB / 400.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1336, allocations: 4 kB / 400.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.1658, allocations: 4.102 MB / 404.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.067, allocations: 0 / 404.7 MB, free: 10.78 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.399557501004892]