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.00121/0.00121, allocations: 115.7 kB / 18.49 MB, free: 4.566 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.001182/0.001182, allocations: 190.7 kB / 21.43 MB, free: 1.641 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.334/1.334, allocations: 225.6 MB / 249.8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 47.92 kB / 366.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09531, allocations: 52.14 MB / 418.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001476/0.09679, allocations: 0.5295 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.09903, allocations: 1.817 MB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.09907, allocations: 4 kB / 420.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.1011, allocations: 127.1 kB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.1012, allocations: 27.91 kB / 421 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1014, allocations: 50.88 kB / 421 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.906e-05/0.1015, allocations: 43.89 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1015, allocations: 11.98 kB / 421.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.1016, allocations: 31.86 kB / 421.1 MB, free: 10 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1017, allocations: 27.84 kB / 421.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1017, allocations: 0 / 421.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.075e-05/0.1018, allocations: 19.98 kB / 421.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1019, allocations: 51.89 kB / 421.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.1019, allocations: 43.66 kB / 421.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1022, allocations: 107.5 kB / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1022, allocations: 0 / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1022, allocations: 0 / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1022, allocations: 0 / 421.3 MB, free: 9.754 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.0006405/0.1028, allocations: 496.3 kB / 421.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1028, allocations: 8.031 kB / 421.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.24e-05/0.1029, allocations: 8.172 kB / 421.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.1029, allocations: 42.62 kB / 421.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.1029, allocations: 12.84 kB / 421.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1032, allocations: 253 kB / 422.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1032, allocations: 384 / 422.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1032, allocations: 384 / 422.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1034, allocations: 77.92 kB / 422.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1034, allocations: 0 / 422.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1034, allocations: 0 / 422.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1034, allocations: 3.938 kB / 422.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.1034, allocations: 7.984 kB / 422.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.1037, allocations: 201.7 kB / 422.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.328e-05/0.1038, allocations: 22.58 kB / 422.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.1038, allocations: 8.922 kB / 422.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1038, allocations: 3.938 kB / 422.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.1039, allocations: 64.27 kB / 422.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1039, allocations: 0 / 422.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.104, allocations: 61.52 kB / 422.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.1041, allocations: 158.3 kB / 422.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.1044, allocations: 224.8 kB / 423 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1044, allocations: 25.7 kB / 423 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.1045, allocations: 116.1 kB / 423.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1045, allocations: 7.953 kB / 423.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1045, allocations: 17.7 kB / 423.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1047, allocations: 326.8 kB / 423.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.1047, allocations: 4 kB / 423.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.093e-05/0.1048, allocations: 44.28 kB / 423.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.1048, allocations: 16.8 kB / 423.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1048, allocations: 0 / 423.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.73e-05/0.1049, allocations: 61.53 kB / 423.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1049, allocations: 8 kB / 423.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1049, allocations: 0 / 423.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1049, allocations: 4.094 kB / 423.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.714e-05/0.1049, allocations: 4 kB / 423.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1049, allocations: 0 / 423.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.825e-05/0.105, allocations: 4 kB / 423.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.105, allocations: 4 kB / 423.6 MB, free: 7.203 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.0001093/0.1052, allocations: 130.5 kB / 423.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.1052, allocations: 19.83 kB / 423.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.1052, allocations: 16.56 kB / 423.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.1052, allocations: 0 / 423.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1052, allocations: 4 kB / 423.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1052, allocations: 3.938 kB / 423.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.1055, allocations: 197.6 kB / 423.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1055, allocations: 3.938 kB / 424 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.1055, allocations: 4 kB / 424 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1055, allocations: 0 / 424 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1055, allocations: 0 / 424 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1055, allocations: 0 / 424 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1055, allocations: 0 / 424 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.1056, allocations: 85.03 kB / 424 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1057, allocations: 112.9 kB / 424.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.1058, allocations: 4 kB / 424.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.1059, allocations: 8 kB / 424.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.1059, allocations: 0 / 424.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1059, allocations: 0 / 424.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1061, allocations: 176.5 kB / 424.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1061, allocations: 4 kB / 424.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000211/0.1063, allocations: 24.03 kB / 424.4 MB, free: 6.328 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.0007602/0.107, allocations: 0.6998 MB / 425.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.731e-05/0.1071, allocations: 8 kB / 425.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1071, allocations: 0 / 425.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.526e-05/0.1071, allocations: 15.98 kB / 425.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.1073, allocations: 18.23 kB / 425.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.1094, allocations: 1.817 MB / 426.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1097, allocations: 0.7084 MB / 427.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.621e-05/0.1098, allocations: 32.55 kB / 427.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1099, allocations: 71.38 kB / 427.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1099, allocations: 3.938 kB / 427.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.1362, allocations: 3.936 MB / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/7.853, allocations: 11.67 kB / 431.7 MB, free: 15.03 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 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.mat","/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.229910626017954]