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.001603/0.001603, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001678/0.001678, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.396/1.396, allocations: 230.4 MB / 254.7 MB, free: 15.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 63.91 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.0935, allocations: 53.38 MB / 427 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00158/0.09508, allocations: 0.5244 MB / 427.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.09748, allocations: 1.859 MB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.09752, allocations: 0 / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.1011, allocations: 166.5 kB / 429.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.1011, allocations: 23.91 kB / 429.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1013, allocations: 47.88 kB / 429.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.1014, allocations: 39.89 kB / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.1014, allocations: 11.94 kB / 429.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.1015, allocations: 27.92 kB / 429.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.1016, allocations: 23.84 kB / 429.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1016, allocations: 8 kB / 429.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.633e-05/0.1017, allocations: 15.98 kB / 429.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.315e-05/0.1018, allocations: 47.89 kB / 429.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.1018, allocations: 43.67 kB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.102, allocations: 95.48 kB / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.102, allocations: 0 / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.102, allocations: 0 / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.102, allocations: 0 / 430 MB, free: 1.789 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.0006324/0.1027, allocations: 496.3 kB / 430.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1027, allocations: 8.031 kB / 430.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.055e-05/0.1027, allocations: 4.188 kB / 430.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1027, allocations: 34.73 kB / 430.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.1028, allocations: 16.83 kB / 430.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1031, allocations: 245.1 kB / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1031, allocations: 384 / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1031, allocations: 384 / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1032, allocations: 77.86 kB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1032, allocations: 0 / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1032, allocations: 0 / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.1032, allocations: 0 / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.1033, allocations: 8 kB / 430.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.1036, allocations: 197.7 kB / 431 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.921e-05/0.1037, allocations: 18.52 kB / 431 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.1037, allocations: 12.92 kB / 431.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1037, allocations: 3.938 kB / 431.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.1037, allocations: 64.2 kB / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1037, allocations: 0 / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.1039, allocations: 57.53 kB / 431.2 MB, free: 372 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.104, allocations: 154.2 kB / 431.3 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1725/0.2765, allocations: 212.1 kB / 431.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.2765, allocations: 28.89 kB / 431.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.2765, allocations: 114.8 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.2766, allocations: 4.219 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.2766, allocations: 19.12 kB / 431.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.2766, allocations: 323.5 kB / 432 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.2767, allocations: 7.672 kB / 432 MB, free: 10.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.2767, allocations: 39.98 kB / 432.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.2767, allocations: 17.45 kB / 432.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2767, allocations: 1.25 kB / 432.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.788e-05/0.2768, allocations: 56.25 kB / 432.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2769, allocations: 8.844 kB / 432.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2769, allocations: 0 / 432.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2769, allocations: 7.672 kB / 432.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.14e-05/0.2769, allocations: 4.016 kB / 432.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2769, allocations: 0 / 432.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.277, allocations: 11.86 kB / 432.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.277, allocations: 2.5 kB / 432.2 MB, free: 10.71 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 7.318e-05/0.2771, allocations: 128.1 kB / 432.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.2771, allocations: 15.41 kB / 432.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.2772, allocations: 21.97 kB / 432.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2772, allocations: 1.203 kB / 432.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2772, allocations: 1.531 kB / 432.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2772, allocations: 0.6094 kB / 432.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2774, allocations: 192.6 kB / 432.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2774, allocations: 2.125 kB / 432.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.2774, allocations: 2.766 kB / 432.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2774, allocations: 0 / 432.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.2774, allocations: 5.203 kB / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2774, allocations: 3.281 kB / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2774, allocations: 0 / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2775, allocations: 80.28 kB / 432.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.2776, allocations: 110.5 kB / 432.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.2776, allocations: 5.656 kB / 432.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.2777, allocations: 8.281 kB / 432.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.2777, allocations: 0 / 432.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.2777, allocations: 2.25 kB / 432.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.2778, allocations: 169 kB / 432.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2778, allocations: 4.781 kB / 432.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.2781, allocations: 14.84 kB / 432.9 MB, free: 10.14 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.0004708/0.2785, allocations: 0.6642 MB / 433.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.721e-05/0.2786, allocations: 15.39 kB / 433.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2786, allocations: 0 / 433.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.2786, allocations: 6.625 kB / 433.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.2788, allocations: 18.94 kB / 433.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.2802, allocations: 1.788 MB / 435.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2803, allocations: 0.711 MB / 436.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.2804, allocations: 35.86 kB / 436.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.2805, allocations: 69.97 kB / 436.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2805, allocations: 0 / 436.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.3054, allocations: 3.745 MB / 440 MB, free: 6.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.983, allocations: 14.47 kB / 440 MB, free: 6.977 MB / 350.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.426006508991122]