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.001468/0.001468, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001655/0.001655, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.404/1.404, allocations: 230.5 MB / 257.4 MB, free: 7.793 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: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.89 kB / 378.2 MB, free: 2.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2017, allocations: 53.4 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001782/0.2035, allocations: 0.5352 MB / 432.1 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.2059, allocations: 1.902 MB / 434 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.206, allocations: 0 / 434 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.2079, allocations: 151.2 kB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.426e-05/0.208, allocations: 31.89 kB / 434.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.2081, allocations: 47.81 kB / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.091e-05/0.2082, allocations: 39.84 kB / 434.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.913e-05/0.2083, allocations: 4 kB / 434.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.2083, allocations: 35.89 kB / 434.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.2084, allocations: 23.86 kB / 434.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2084, allocations: 7.938 kB / 434.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.2085, allocations: 19.98 kB / 434.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.2086, allocations: 39.95 kB / 434.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.2086, allocations: 11.88 kB / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.2088, allocations: 57.3 kB / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2088, allocations: 0 / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2088, allocations: 3.938 kB / 434.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.2088, allocations: 0 / 434.5 MB, free: 3.828 MB / 334.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.000407/0.2092, allocations: 323.8 kB / 434.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2092, allocations: 11.98 kB / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.2092, allocations: 12.89 kB / 434.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.2094, allocations: 137.1 kB / 435 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2094, allocations: 384 / 435 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.2095, allocations: 4.375 kB / 435 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.2096, allocations: 181 kB / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2096, allocations: 0 / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.2097, allocations: 0 / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.2097, allocations: 0 / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.2097, allocations: 7.984 kB / 435.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.2099, allocations: 121.3 kB / 435.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.266e-05/0.21, allocations: 26.52 kB / 435.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.21, allocations: 8.922 kB / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.21, allocations: 0 / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.2101, allocations: 64.25 kB / 435.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2101, allocations: 0 / 435.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.2102, allocations: 49.53 kB / 435.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.2103, allocations: 158.2 kB / 435.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2104, allocations: 150.1 kB / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2105, allocations: 29.64 kB / 435.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.2105, allocations: 96.12 kB / 435.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.2105, allocations: 4.125 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.2106, allocations: 25.67 kB / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2107, allocations: 318.8 kB / 436.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.2107, allocations: 4 kB / 436.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.2108, allocations: 147.1 kB / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.2109, allocations: 12.86 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2109, allocations: 0 / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.401e-05/0.2109, allocations: 53.62 kB / 436.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2109, allocations: 6.5 kB / 436.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.211, allocations: 8.031 kB / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.211, allocations: 4 kB / 436.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.588e-05/0.211, allocations: 0 / 436.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.211, allocations: 0 / 436.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.2111, allocations: 4 kB / 436.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2111, allocations: 0 / 436.4 MB, free: 1.613 MB / 334.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 9.559e-05/0.2112, allocations: 125.8 kB / 436.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.2112, allocations: 11.95 kB / 436.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.2112, allocations: 19.69 kB / 436.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2112, allocations: 3.938 kB / 436.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2112, allocations: 0 / 436.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2112, allocations: 4 kB / 436.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2114, allocations: 125.3 kB / 436.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2114, allocations: 0 / 436.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.2114, allocations: 0 / 436.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2114, allocations: 7.984 kB / 436.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2114, allocations: 0 / 436.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2114, allocations: 3.938 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2114, allocations: 0 / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.2115, allocations: 77.02 kB / 436.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.2116, allocations: 8.078 kB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2116, allocations: 4 kB / 436.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.2116, allocations: 7.938 kB / 436.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-06/0.2116, allocations: 3.984 kB / 436.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.2116, allocations: 0 / 436.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.783e-05/0.2117, allocations: 125.9 kB / 437 MB, free: 1.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2117, allocations: 0 / 437 MB, free: 1.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001978/0.2119, allocations: 15.94 kB / 437 MB, free: 1.023 MB / 334.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.0003297/0.2122, allocations: 144.7 kB / 437.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.211e-05/0.2123, allocations: 19.92 kB / 437.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2123, allocations: 0 / 437.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.2123, allocations: 4 kB / 437.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.2125, allocations: 8 kB / 437.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.2128, allocations: 253.8 kB / 437.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.369e-05/0.2129, allocations: 100.6 kB / 437.5 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.213, allocations: 8 kB / 437.5 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.213, allocations: 15.42 kB / 437.5 MB, free: 456 kB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.213, allocations: 0 / 437.5 MB, free: 456 kB / 334.1 MB Notification: Performance of Templates: time 0.003812/0.2168, allocations: 1.122 MB / 438.6 MB, free: 15.37 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/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: 3.9883011411875486]