Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002135/0.002135, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 67.89 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09671, allocations: 53.32 MB / 426.6 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001532/0.09824, allocations: 0.5166 MB / 427.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1007, allocations: 1.866 MB / 429 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.1007, allocations: 0 / 429 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003995/0.1047, allocations: 156.4 kB / 429.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/0.1048, allocations: 19.97 kB / 429.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.105, allocations: 54.61 kB / 429.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.1051, allocations: 39.91 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.1051, allocations: 11.88 kB / 429.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.1052, allocations: 31.91 kB / 429.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.1053, allocations: 19.92 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1053, allocations: 3.984 kB / 429.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.1053, allocations: 16 kB / 429.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.903e-05/0.1054, allocations: 47.83 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.1055, allocations: 55.66 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.1057, allocations: 91.48 kB / 429.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1057, allocations: 0 / 429.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1057, allocations: 0 / 429.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1057, allocations: 0 / 429.6 MB, free: 2.098 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.0006371/0.1064, allocations: 492.4 kB / 430 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1064, allocations: 12.03 kB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.1064, allocations: 30.75 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1065, allocations: 8.891 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1068, allocations: 253 kB / 430.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1068, allocations: 384 / 430.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1068, allocations: 4.312 kB / 430.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1069, allocations: 78.03 kB / 430.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1069, allocations: 0 / 430.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1069, allocations: 0 / 430.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1069, allocations: 0 / 430.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.452e-05/0.107, allocations: 8 kB / 430.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1073, allocations: 193.7 kB / 430.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.507e-05/0.1073, allocations: 26.56 kB / 430.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.1074, allocations: 8.859 kB / 430.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.1074, allocations: 4 kB / 430.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.1074, allocations: 60.2 kB / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1074, allocations: 4 kB / 430.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.1075, allocations: 57.59 kB / 430.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.1076, allocations: 154.2 kB / 430.9 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1078, allocations: 215.8 kB / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1079, allocations: 25.7 kB / 431.2 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.1079, allocations: 116.1 kB / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.108, allocations: 3.938 kB / 431.3 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.108, allocations: 17.7 kB / 431.3 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1081, allocations: 335 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.1082, allocations: 3.938 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.1082, allocations: 44.28 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.1082, allocations: 12.86 kB / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1082, allocations: 0 / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.918e-05/0.1083, allocations: 61.61 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1083, allocations: 4 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1083, allocations: 7.922 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1084, allocations: 4 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-05/0.1084, allocations: 7.938 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1084, allocations: 0 / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.1085, allocations: 8 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1085, allocations: 0 / 431.8 MB, free: 15.58 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.000104/0.1086, allocations: 125.8 kB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.1086, allocations: 23.88 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.1087, allocations: 20.55 kB / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.1087, allocations: 0 / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1087, allocations: 0 / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-06/0.1087, allocations: 0 / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1089, allocations: 193.6 kB / 432.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1089, allocations: 0 / 432.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.1089, allocations: 3.938 kB / 432.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1089, allocations: 0 / 432.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.1089, allocations: 3.938 kB / 432.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.1089, allocations: 0 / 432.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1089, allocations: 8 kB / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.109, allocations: 80.97 kB / 432.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.1092, allocations: 113 kB / 432.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1092, allocations: 0 / 432.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.1093, allocations: 12 kB / 432.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-06/0.1093, allocations: 0 / 432.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1093, allocations: 96 / 432.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.1094, allocations: 165.5 kB / 432.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1094, allocations: 0 / 432.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.1096, allocations: 12 kB / 432.5 MB, free: 14.73 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.0006303/0.1103, allocations: 0.6817 MB / 433.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.814e-05/0.1103, allocations: 11.94 kB / 433.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1103, allocations: 0 / 433.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.1103, allocations: 4 kB / 433.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.1105, allocations: 22.88 kB / 433.2 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1124, allocations: 1.787 MB / 435 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1128, allocations: 0.7084 MB / 435.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.077e-05/0.1129, allocations: 32.48 kB / 435.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.113, allocations: 71.38 kB / 435.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.113, allocations: 0 / 435.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.1492, allocations: 3.715 MB / 439.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.763, allocations: 6.188 kB / 439.6 MB, free: 7.676 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.333895490970463]