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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 112.8 kB / 21.93 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 213.5 kB / 25.22 MB, free: 3.031 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.553/1.553, allocations: 207.7 MB / 236.1 MB, free: 9.812 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 62.56 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2809, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002148/0.2831, allocations: 0.5243 MB / 398.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.2858, allocations: 1.895 MB / 400 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.2858, allocations: 0 / 400 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.2879, allocations: 140.1 kB / 400.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.981e-05/0.288, allocations: 26.97 kB / 400.2 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.2882, allocations: 43.77 kB / 400.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2883, allocations: 54.22 kB / 400.3 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.2883, allocations: 2.984 kB / 400.3 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.2884, allocations: 28.67 kB / 400.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.2886, allocations: 27.52 kB / 400.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2886, allocations: 3.938 kB / 400.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.2887, allocations: 29.39 kB / 400.3 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2888, allocations: 46 kB / 400.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.2888, allocations: 15.58 kB / 400.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.2891, allocations: 58.61 kB / 400.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2891, allocations: 4.75 kB / 400.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.2891, allocations: 1.375 kB / 400.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2891, allocations: 0 / 400.5 MB, free: 7.488 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.000434/0.2895, allocations: 320.4 kB / 400.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2896, allocations: 12.3 kB / 400.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.2896, allocations: 9.922 kB / 400.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.2898, allocations: 139.5 kB / 400.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-06/0.2898, allocations: 1.719 kB / 400.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.2898, allocations: 384 / 400.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.29, allocations: 185.9 kB / 401.1 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.29, allocations: 5.031 kB / 401.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.29, allocations: 1.859 kB / 401.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.29, allocations: 0 / 401.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.29, allocations: 2.734 kB / 401.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.2903, allocations: 129.4 kB / 401.3 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/0.2903, allocations: 22.12 kB / 401.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.2903, allocations: 6.797 kB / 401.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.2903, allocations: 1.531 kB / 401.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2904, allocations: 58.34 kB / 401.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2904, allocations: 0 / 401.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.2905, allocations: 55.66 kB / 401.4 MB, free: 6.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.2905, allocations: 161.2 kB / 401.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2907, allocations: 149.4 kB / 401.7 MB, free: 6.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2907, allocations: 27.11 kB / 401.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.2907, allocations: 93.23 kB / 401.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.2907, allocations: 0.6562 kB / 401.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.2908, allocations: 20.75 kB / 401.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.2908, allocations: 319.3 kB / 402.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.2909, allocations: 4.609 kB / 402.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/0.2909, allocations: 149.9 kB / 402.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.291, allocations: 13.95 kB / 402.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.291, allocations: 0 / 402.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.837e-05/0.291, allocations: 51.23 kB / 402.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.291, allocations: 11.56 kB / 402.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2911, allocations: 0 / 402.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2911, allocations: 5 kB / 402.4 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.012e-05/0.2911, allocations: 6.656 kB / 402.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2911, allocations: 4.922 kB / 402.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.2912, allocations: 3.734 kB / 402.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.2912, allocations: 5.531 kB / 402.4 MB, free: 5.523 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 7.414e-05/0.2913, allocations: 122.8 kB / 402.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.2913, allocations: 12.34 kB / 402.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.2913, allocations: 16 kB / 402.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2913, allocations: 0 / 402.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2913, allocations: 1.219 kB / 402.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2913, allocations: 0.8906 kB / 402.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.2915, allocations: 117.7 kB / 402.7 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2915, allocations: 0 / 402.7 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.764e-05/0.2915, allocations: 3.234 kB / 402.7 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2915, allocations: 4 kB / 402.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.2915, allocations: 6.172 kB / 402.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2915, allocations: 0 / 402.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2915, allocations: 0 / 402.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.2916, allocations: 81.84 kB / 402.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.2917, allocations: 13.45 kB / 402.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.2917, allocations: 6.172 kB / 402.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.973e-05/0.2917, allocations: 3.516 kB / 402.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.2918, allocations: 0.7969 kB / 402.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.2918, allocations: 1.531 kB / 402.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.508e-05/0.2918, allocations: 126.9 kB / 402.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2918, allocations: 0 / 402.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.2921, allocations: 11.45 kB / 402.9 MB, free: 5.074 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.0004981/0.2926, allocations: 183.2 kB / 403.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.2927, allocations: 13.89 kB / 403.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2927, allocations: 1.344 kB / 403.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.2927, allocations: 7.031 kB / 403.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.2929, allocations: 10.58 kB / 403.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.2934, allocations: 264.8 kB / 403.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.2935, allocations: 79.69 kB / 403.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.2935, allocations: 15.03 kB / 403.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2935, allocations: 0 / 403.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of Templates: time 0.004904/0.2984, allocations: 1.743 MB / 405.2 MB, free: 4.387 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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: 7.586902061942965]