Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 123 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 189.2 kB / 20.73 MB, free: 2.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 51.91 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001665/0.1057, allocations: 0.524 MB / 418.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.108, allocations: 1.813 MB / 420.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.1081, allocations: 0 / 420.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.1113, allocations: 142.5 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.1114, allocations: 23.97 kB / 420.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1116, allocations: 47.86 kB / 420.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1117, allocations: 43.91 kB / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.1118, allocations: 3.938 kB / 420.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.1119, allocations: 43.83 kB / 420.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.112, allocations: 31.84 kB / 420.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.112, allocations: 0 / 420.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.481e-05/0.112, allocations: 12 kB / 420.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1121, allocations: 55.83 kB / 420.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.1122, allocations: 43.66 kB / 420.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1124, allocations: 103.5 kB / 420.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1124, allocations: 0 / 420.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1124, allocations: 0 / 420.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1125, allocations: 4 kB / 420.6 MB, free: 9.758 MB / 350.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.0007001/0.1132, allocations: 492.3 kB / 421.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1132, allocations: 16.02 kB / 421.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1132, allocations: 34.75 kB / 421.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.107e-05/0.1133, allocations: 16.84 kB / 421.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1136, allocations: 249 kB / 421.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1136, allocations: 384 / 421.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1137, allocations: 384 / 421.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1138, allocations: 82.05 kB / 421.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1138, allocations: 0 / 421.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1138, allocations: 4 kB / 421.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1138, allocations: 0 / 421.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.1139, allocations: 0 / 421.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.1142, allocations: 201.7 kB / 421.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.1143, allocations: 26.5 kB / 421.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.1143, allocations: 16.91 kB / 421.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.1143, allocations: 0 / 421.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.1144, allocations: 64.2 kB / 421.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1144, allocations: 0 / 421.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001548/0.1145, allocations: 49.61 kB / 421.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1146, allocations: 158.2 kB / 422 MB, free: 8.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1149, allocations: 229 kB / 422.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1149, allocations: 29.7 kB / 422.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.115, allocations: 112.1 kB / 422.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.115, allocations: 3.953 kB / 422.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.115, allocations: 25.64 kB / 422.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1152, allocations: 326.8 kB / 422.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.1152, allocations: 4 kB / 422.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.1153, allocations: 44.28 kB / 422.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.1153, allocations: 16.86 kB / 422.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1153, allocations: 0 / 422.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.541e-05/0.1154, allocations: 53.55 kB / 422.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1154, allocations: 7.938 kB / 422.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1154, allocations: 3.984 kB / 422.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1154, allocations: 3.938 kB / 422.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-05/0.1155, allocations: 4 kB / 422.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1155, allocations: 8.094 kB / 422.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1156, allocations: 12 kB / 422.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1156, allocations: 0 / 422.9 MB, free: 7.211 MB / 350.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.0001034/0.1157, allocations: 126.5 kB / 423 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1157, allocations: 15.89 kB / 423 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.1158, allocations: 24.48 kB / 423 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1158, allocations: 0 / 423 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1158, allocations: 0 / 423 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1158, allocations: 0 / 423 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.116, allocations: 197.6 kB / 423.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.116, allocations: 0 / 423.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.116, allocations: 7.922 kB / 423.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.116, allocations: 0 / 423.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.116, allocations: 0 / 423.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.116, allocations: 0 / 423.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.116, allocations: 4 kB / 423.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.1162, allocations: 80.97 kB / 423.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1163, allocations: 117 kB / 423.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1163, allocations: 3.984 kB / 423.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.1164, allocations: 8 kB / 423.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-06/0.1164, allocations: 0 / 423.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.1164, allocations: 0 / 423.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.1166, allocations: 180.5 kB / 423.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1166, allocations: 0 / 423.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1168, allocations: 19.94 kB / 423.7 MB, free: 6.344 MB / 350.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.000797/0.1176, allocations: 0.7034 MB / 424.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.943e-05/0.1177, allocations: 11.94 kB / 424.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.1177, allocations: 4 kB / 424.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-06/0.1177, allocations: 0 / 424.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.1179, allocations: 18.41 kB / 424.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1199, allocations: 1.829 MB / 426.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1203, allocations: 0.7084 MB / 426.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.314e-05/0.1203, allocations: 36.62 kB / 427 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.1204, allocations: 63.39 kB / 427 MB, free: 2.867 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1204, allocations: 3.938 kB / 427 MB, free: 2.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.155, allocations: 3.894 MB / 430.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.294, allocations: 14.45 kB / 430.9 MB, free: 15.06 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.934250430669636]