Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001337/0.001337, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001409/0.001409, allocations: 192.8 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 51.92 kB / 370.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2807, allocations: 52.18 MB / 423 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001639/0.2823, allocations: 0.5275 MB / 423.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.2847, allocations: 1.862 MB / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.2848, allocations: 0 / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.2865, allocations: 134.4 kB / 425.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.014e-05/0.2865, allocations: 27.91 kB / 425.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.2867, allocations: 51.86 kB / 425.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.2868, allocations: 43.91 kB / 425.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.2868, allocations: 0 / 425.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.2869, allocations: 35.84 kB / 425.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.287, allocations: 23.86 kB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2871, allocations: 0 / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.2871, allocations: 23.97 kB / 425.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.2872, allocations: 39.91 kB / 425.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.2872, allocations: 27.86 kB / 425.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.2874, allocations: 65.98 kB / 425.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2874, allocations: 0 / 425.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2874, allocations: 0 / 425.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2875, allocations: 0 / 425.9 MB, free: 11.67 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.0005039/0.288, allocations: 323.7 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.288, allocations: 12.03 kB / 426.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.288, allocations: 4.938 kB / 426.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.2882, allocations: 134.4 kB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2883, allocations: 384 / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2883, allocations: 384 / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.2885, allocations: 189 kB / 426.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2885, allocations: 0 / 426.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2885, allocations: 4 kB / 426.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2885, allocations: 0 / 426.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.2885, allocations: 4 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.2888, allocations: 113.3 kB / 426.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.298e-05/0.2889, allocations: 26.5 kB / 426.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.2889, allocations: 12.92 kB / 426.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.2889, allocations: 0 / 426.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.2889, allocations: 56.27 kB / 426.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2889, allocations: 4 kB / 426.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.2891, allocations: 49.58 kB / 426.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.2892, allocations: 162.2 kB / 427 MB, free: 10.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.2893, allocations: 148.3 kB / 427.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2894, allocations: 25.7 kB / 427.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.2894, allocations: 104 kB / 427.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.2894, allocations: 7.891 kB / 427.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.2895, allocations: 21.72 kB / 427.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2896, allocations: 322.7 kB / 427.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.2896, allocations: 8.125 kB / 427.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2898, allocations: 147.1 kB / 427.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.2898, allocations: 16.86 kB / 427.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2898, allocations: 0 / 427.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.582e-05/0.2899, allocations: 41.69 kB / 427.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2899, allocations: 7.938 kB / 427.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2899, allocations: 0 / 427.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2899, allocations: 0 / 427.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.755e-05/0.2899, allocations: 11.94 kB / 427.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2899, allocations: 0 / 427.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.29, allocations: 12.09 kB / 427.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.29, allocations: 0 / 427.8 MB, free: 9.453 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 0.0001162/0.2901, allocations: 125.8 kB / 427.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.2902, allocations: 11.89 kB / 428 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.2902, allocations: 15.8 kB / 428 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2902, allocations: 0 / 428 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2902, allocations: 0 / 428 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2902, allocations: 0 / 428 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.2904, allocations: 117.3 kB / 428.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2904, allocations: 0 / 428.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.2904, allocations: 4 kB / 428.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2904, allocations: 3.984 kB / 428.1 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2904, allocations: 3.938 kB / 428.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2904, allocations: 0 / 428.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2904, allocations: 4 kB / 428.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.2905, allocations: 81.02 kB / 428.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.2906, allocations: 7.984 kB / 428.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.2906, allocations: 3.938 kB / 428.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.2906, allocations: 4 kB / 428.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.2907, allocations: 3.984 kB / 428.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.2907, allocations: 4.094 kB / 428.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.2908, allocations: 126.4 kB / 428.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2908, allocations: 3.938 kB / 428.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.291, allocations: 12 kB / 428.3 MB, free: 8.875 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.0004904/0.2915, allocations: 184 kB / 428.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.2916, allocations: 12 kB / 428.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2916, allocations: 4 kB / 428.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.2916, allocations: 3.938 kB / 428.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.2917, allocations: 19.19 kB / 428.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.2921, allocations: 257.8 kB / 428.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.757e-05/0.2922, allocations: 100.6 kB / 428.9 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.2923, allocations: 4 kB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.2923, allocations: 19.42 kB / 428.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2923, allocations: 0 / 428.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of Templates: time 0.004616/0.2969, allocations: 1.309 MB / 430.2 MB, free: 7.004 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.579187424853444]