Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001281/0.001281, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001325/0.001325, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.92 kB / 373 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.1006, allocations: 53.32 MB / 426.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001637/0.1022, allocations: 0.5229 MB / 426.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.1046, allocations: 1.87 MB / 428.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.1046, allocations: 0 / 428.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.1065, allocations: 162.2 kB / 428.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.1066, allocations: 19.97 kB / 428.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.1067, allocations: 47.88 kB / 428.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.371e-05/0.1068, allocations: 43.89 kB / 428.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.1069, allocations: 11.94 kB / 429 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.264e-05/0.107, allocations: 27.86 kB / 429 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.107, allocations: 27.91 kB / 429 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.107, allocations: 0 / 429 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.304e-05/0.1071, allocations: 12 kB / 429 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.619e-05/0.1072, allocations: 55.81 kB / 429.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.1072, allocations: 35.69 kB / 429.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1074, allocations: 99.47 kB / 429.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1074, allocations: 8 kB / 429.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1074, allocations: 0 / 429.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.1075, allocations: 0 / 429.2 MB, free: 1.922 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.0007115/0.1082, allocations: 494.9 kB / 429.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1082, allocations: 8.031 kB / 429.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.1082, allocations: 34.75 kB / 429.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.1083, allocations: 8.891 kB / 429.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1086, allocations: 241 kB / 430 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1086, allocations: 4.359 kB / 430 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1086, allocations: 8.312 kB / 430 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1087, allocations: 74.05 kB / 430.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1087, allocations: 0 / 430.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1087, allocations: 4 kB / 430.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.1087, allocations: 0 / 430.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.1088, allocations: 4 kB / 430.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.1091, allocations: 197.7 kB / 430.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.491e-05/0.1092, allocations: 22.56 kB / 430.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.1092, allocations: 4.859 kB / 430.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.1092, allocations: 3.938 kB / 430.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.1092, allocations: 64.27 kB / 430.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1092, allocations: 0 / 430.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.1094, allocations: 57.59 kB / 430.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1095, allocations: 158.2 kB / 430.6 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1097, allocations: 211.8 kB / 430.8 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1097, allocations: 33.7 kB / 430.8 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.1098, allocations: 116.1 kB / 430.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.1098, allocations: 3.938 kB / 430.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.1099, allocations: 21.7 kB / 431 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.11, allocations: 322.8 kB / 431.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.11, allocations: 8.125 kB / 431.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.249e-05/0.1101, allocations: 48.22 kB / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.1101, allocations: 8.859 kB / 431.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1101, allocations: 4 kB / 431.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.511e-05/0.1102, allocations: 57.55 kB / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1102, allocations: 8 kB / 431.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1102, allocations: 8.031 kB / 431.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1102, allocations: 3.984 kB / 431.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.1103, allocations: 4 kB / 431.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1103, allocations: 3.938 kB / 431.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.566e-05/0.1104, allocations: 4 kB / 431.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1104, allocations: 4.047 kB / 431.4 MB, free: 15.41 MB / 366.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.000101/0.1105, allocations: 129.8 kB / 431.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.1105, allocations: 23.83 kB / 431.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.1106, allocations: 20.55 kB / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1106, allocations: 4 kB / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1106, allocations: 0 / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1106, allocations: 0 / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1108, allocations: 185.6 kB / 431.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1108, allocations: 0 / 431.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.1108, allocations: 7.938 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1108, allocations: 0 / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1108, allocations: 3.938 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1108, allocations: 0 / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1108, allocations: 0 / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.111, allocations: 88.97 kB / 431.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1111, allocations: 117 kB / 432 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1111, allocations: 0 / 432 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.1112, allocations: 8 kB / 432 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-06/0.1112, allocations: 0 / 432 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.1112, allocations: 0 / 432 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1114, allocations: 161.5 kB / 432.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1114, allocations: 4.094 kB / 432.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1116, allocations: 16 kB / 432.2 MB, free: 14.55 MB / 366.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.0006707/0.1122, allocations: 0.6749 MB / 432.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.1123, allocations: 11.94 kB / 432.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1123, allocations: 0 / 432.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.1123, allocations: 4 kB / 432.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.1125, allocations: 21.81 kB / 432.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1145, allocations: 1.791 MB / 434.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1149, allocations: 0.7124 MB / 435.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.096e-05/0.1149, allocations: 32.48 kB / 435.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.115, allocations: 67.38 kB / 435.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.115, allocations: 0 / 435.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.147, allocations: 3.715 MB / 439.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.882, allocations: 14.44 kB / 439.2 MB, free: 7.508 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.405737745109946]