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.001263/0.001263, allocations: 124.8 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.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.001304/0.001304, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.344/1.344, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.001456/0.001456, allocations: 43.92 kB / 365.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09564, allocations: 52.14 MB / 417.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001623/0.09726, allocations: 0.5283 MB / 418.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.09946, allocations: 1.81 MB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.0995, allocations: 3.938 kB / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.1011, allocations: 125.9 kB / 420.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.1011, allocations: 31.92 kB / 420.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.1013, allocations: 50.92 kB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.677e-05/0.1014, allocations: 47.83 kB / 420.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.018e-05/0.1014, allocations: 0 / 420.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.338e-05/0.1015, allocations: 31.91 kB / 420.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1016, allocations: 35.78 kB / 420.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1016, allocations: 4 kB / 420.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.1017, allocations: 8 kB / 420.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.545e-05/0.1018, allocations: 59.88 kB / 420.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.1018, allocations: 47.66 kB / 420.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.102, allocations: 99.53 kB / 420.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.102, allocations: 0 / 420.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.102, allocations: 0 / 420.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1021, allocations: 0 / 420.6 MB, free: 9.785 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.0006529/0.1027, allocations: 0.4886 MB / 421.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1028, allocations: 12.03 kB / 421.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.1028, allocations: 30.75 kB / 421.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.1028, allocations: 16.84 kB / 421.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1031, allocations: 253 kB / 421.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.1032, allocations: 4.312 kB / 421.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1032, allocations: 384 / 421.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1033, allocations: 78.05 kB / 421.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1033, allocations: 0 / 421.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1033, allocations: 4 kB / 421.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1033, allocations: 0 / 421.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.594e-05/0.1033, allocations: 4 kB / 421.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1037, allocations: 197.7 kB / 421.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.416e-05/0.1037, allocations: 34.5 kB / 421.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.1037, allocations: 8.922 kB / 421.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-06/0.1037, allocations: 0 / 421.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.1038, allocations: 64.2 kB / 421.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.1038, allocations: 0 / 421.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.1039, allocations: 57.53 kB / 421.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.104, allocations: 158.2 kB / 422 MB, free: 8.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.1043, allocations: 220.8 kB / 422.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1043, allocations: 25.7 kB / 422.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.1044, allocations: 120.1 kB / 422.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1044, allocations: 3.953 kB / 422.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1044, allocations: 25.83 kB / 422.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1046, allocations: 322.8 kB / 422.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.1046, allocations: 4 kB / 422.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.1047, allocations: 44.28 kB / 422.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.1047, allocations: 8.859 kB / 422.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1047, allocations: 8.062 kB / 422.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.248e-05/0.1048, allocations: 61.48 kB / 422.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1048, allocations: 11.98 kB / 422.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.1048, allocations: 0 / 422.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1048, allocations: 0 / 422.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.692e-05/0.1048, allocations: 4 kB / 422.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1048, allocations: 0 / 422.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.241e-05/0.1049, allocations: 4 kB / 422.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1049, allocations: 4 kB / 422.9 MB, free: 7.242 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.0001121/0.1051, allocations: 134.5 kB / 423 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1051, allocations: 15.89 kB / 423 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.1051, allocations: 16.55 kB / 423 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1051, allocations: 7.969 kB / 423 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1051, allocations: 0 / 423 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1051, allocations: 0 / 423 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.1053, allocations: 189.6 kB / 423.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1053, allocations: 0 / 423.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.1054, allocations: 15.86 kB / 423.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1054, allocations: 0 / 423.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1054, allocations: 4 kB / 423.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.1054, allocations: 0 / 423.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1054, allocations: 0 / 423.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.1055, allocations: 84.97 kB / 423.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1056, allocations: 117 kB / 423.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1057, allocations: 3.984 kB / 423.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.1058, allocations: 8 kB / 423.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.1058, allocations: 96 / 423.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.1058, allocations: 4 kB / 423.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.1059, allocations: 176.5 kB / 423.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1059, allocations: 4 kB / 423.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.1062, allocations: 15.94 kB / 423.7 MB, free: 6.363 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.0007642/0.1069, allocations: 0.7037 MB / 424.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.483e-05/0.107, allocations: 12 kB / 424.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.107, allocations: 0 / 424.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.107, allocations: 4 kB / 424.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.1072, allocations: 18.48 kB / 424.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1092, allocations: 1.829 MB / 426.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1095, allocations: 0.7084 MB / 426.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.334e-05/0.1096, allocations: 36.55 kB / 427 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1097, allocations: 63.38 kB / 427 MB, free: 2.891 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1097, allocations: 0 / 427 MB, free: 2.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.142, allocations: 3.89 MB / 430.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/7.991, allocations: 18.27 kB / 430.9 MB, free: 15.09 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.282220515888184]