Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001646/0.001646, allocations: 104.8 kB / 21.18 MB, free: 0.707 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.001929/0.001929, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 59.91 kB / 347.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2755, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001667/0.2772, allocations: 0.53 MB / 397.3 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.2795, allocations: 1.938 MB / 399.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.2795, allocations: 0.9375 kB / 399.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003281/0.2828, allocations: 130.7 kB / 399.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.2829, allocations: 30.05 kB / 399.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.2832, allocations: 52.23 kB / 399.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2834, allocations: 46.31 kB / 399.5 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.2834, allocations: 7.156 kB / 399.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2835, allocations: 31.53 kB / 399.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2837, allocations: 32.38 kB / 399.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.2837, allocations: 1.125 kB / 399.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2838, allocations: 21.16 kB / 399.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.284, allocations: 46.61 kB / 399.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.284, allocations: 19.03 kB / 399.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.2843, allocations: 60.98 kB / 399.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.2843, allocations: 0.75 kB / 399.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2843, allocations: 4 kB / 399.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2843, allocations: 5.25 kB / 399.7 MB, free: 7.555 MB / 318.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.0005426/0.2849, allocations: 316.8 kB / 400 MB, free: 7.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.2849, allocations: 12.36 kB / 400.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.285, allocations: 9.781 kB / 400.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.2853, allocations: 144.3 kB / 400.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.2853, allocations: 384 / 400.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.2853, allocations: 5.781 kB / 400.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2855, allocations: 74.47 kB / 400.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2855, allocations: 3.938 kB / 400.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2855, allocations: 0 / 400.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2855, allocations: 1.531 kB / 400.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.132e-05/0.2855, allocations: 2.188 kB / 400.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.286, allocations: 149.3 kB / 400.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.732e-05/0.286, allocations: 21.89 kB / 400.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.286, allocations: 8.406 kB / 400.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2861, allocations: 0 / 400.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.2861, allocations: 66.48 kB / 400.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.665e-06/0.2861, allocations: 3.984 kB / 400.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002305/0.2863, allocations: 44.41 kB / 400.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.2864, allocations: 156.4 kB / 400.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.2866, allocations: 153.2 kB / 400.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2866, allocations: 29.7 kB / 400.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.2867, allocations: 93.59 kB / 401 MB, free: 6.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2867, allocations: 6.156 kB / 401 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.2868, allocations: 17.61 kB / 401 MB, free: 6.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.2868, allocations: 318 kB / 401.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.2869, allocations: 3.328 kB / 401.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.2869, allocations: 50.41 kB / 401.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.722e-05/0.287, allocations: 25.03 kB / 401.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.287, allocations: 0 / 401.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001289/0.2871, allocations: 48.92 kB / 401.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.2871, allocations: 5.016 kB / 401.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2872, allocations: 1.469 kB / 401.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.2872, allocations: 3.938 kB / 401.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.57e-05/0.2872, allocations: 7.328 kB / 401.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2872, allocations: 0 / 401.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.2874, allocations: 3.547 kB / 401.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2874, allocations: 1 kB / 401.5 MB, free: 5.809 MB / 318.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.0001163/0.2875, allocations: 132.5 kB / 401.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.2875, allocations: 12.23 kB / 401.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.2876, allocations: 11.95 kB / 401.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2876, allocations: 5.281 kB / 401.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2876, allocations: 0 / 401.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2876, allocations: 4 kB / 401.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.2878, allocations: 146.8 kB / 401.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2878, allocations: 2.016 kB / 401.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.2878, allocations: 5.312 kB / 401.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2878, allocations: 0.9844 kB / 401.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2879, allocations: 1.375 kB / 401.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2879, allocations: 0 / 401.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2879, allocations: 0 / 401.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.288, allocations: 76.48 kB / 401.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.2881, allocations: 10.12 kB / 401.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.2881, allocations: 1.219 kB / 401.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.2882, allocations: 3.469 kB / 401.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.2882, allocations: 1.828 kB / 401.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.2882, allocations: 0 / 401.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.2884, allocations: 123.6 kB / 402 MB, free: 5.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2884, allocations: 3.938 kB / 402 MB, free: 5.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.2888, allocations: 12.17 kB / 402 MB, free: 5.324 MB / 318.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.0006466/0.2894, allocations: 162.7 kB / 402.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.2895, allocations: 14.8 kB / 402.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2895, allocations: 0 / 402.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.2896, allocations: 9.031 kB / 402.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.2898, allocations: 16.48 kB / 402.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.2906, allocations: 312.6 kB / 402.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.2908, allocations: 0.7085 MB / 403.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.134e-05/0.2908, allocations: 13.72 kB / 403.3 MB, free: 4.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.2909, allocations: 14.55 kB / 403.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2909, allocations: 0.9688 kB / 403.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of Templates: time 0.00718/0.2981, allocations: 1.221 MB / 404.5 MB, free: 4.082 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.74258682038635]