Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.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.001354/0.001354, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001482/0.001482, allocations: 169.5 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2164/0.2164, allocations: 34.26 MB / 295.5 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 68.11 kB / 443.1 MB, free: 6.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3012, allocations: 66.01 MB / 0.4972 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001405/0.3026, allocations: 0.491 MB / 0.4977 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.3049, allocations: 2.066 MB / 0.4997 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.3049, allocations: 3.219 kB / 0.4997 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.3049, allocations: 0 / 0.4997 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.3049, allocations: 3.938 kB / 0.4997 GB, free: 28.2 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.3068, allocations: 0.7576 MB / 0.5004 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.476e-05/0.3068, allocations: 3.984 kB / 0.5005 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.3068, allocations: 3.125 kB / 0.5005 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.3069, allocations: 7.562 kB / 0.5005 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.645e-05/0.3069, allocations: 0 / 0.5005 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.3069, allocations: 0 / 0.5005 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.3086, allocations: 1.549 MB / 0.502 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.3086, allocations: 0 / 0.502 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.3087, allocations: 2.688 kB / 0.502 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.3098, allocations: 1.574 MB / 0.5035 GB, free: 27.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3098, allocations: 0 / 0.5035 GB, free: 27.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3098, allocations: 0 / 0.5035 GB, free: 27.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3098, allocations: 0 / 0.5035 GB, free: 27.35 MB / 446.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.0004408/0.3102, allocations: 361.8 kB / 0.5039 GB, free: 27.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.3103, allocations: 8.969 kB / 0.5039 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.3103, allocations: 4.938 kB / 0.5039 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.351e-05/0.3103, allocations: 102.5 kB / 0.504 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.3103, allocations: 3.281 kB / 0.504 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.3104, allocations: 4.125 kB / 0.504 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.13e-05/0.3104, allocations: 57.69 kB / 0.504 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3105, allocations: 4 kB / 0.504 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3105, allocations: 0 / 0.504 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3105, allocations: 0 / 0.504 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.3105, allocations: 28.86 kB / 0.5041 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.252e-05/0.3106, allocations: 101.2 kB / 0.5042 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/0.3106, allocations: 47.28 kB / 0.5042 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.3106, allocations: 36.77 kB / 0.5042 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.3106, allocations: 0 / 0.5042 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3107, allocations: 63.27 kB / 0.5043 GB, free: 26.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.3107, allocations: 0 / 0.5043 GB, free: 26.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.3108, allocations: 128.2 kB / 0.5044 GB, free: 26.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.3108, allocations: 80.11 kB / 0.5045 GB, free: 26.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.82e-05/0.3109, allocations: 89.86 kB / 0.5046 GB, free: 26.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.3109, allocations: 25.7 kB / 0.5046 GB, free: 26.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-06/0.3109, allocations: 80.14 kB / 0.5047 GB, free: 26.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3109, allocations: 0 / 0.5047 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.3109, allocations: 12.72 kB / 0.5047 GB, free: 26.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.865e-05/0.3109, allocations: 314.8 kB / 0.505 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.311, allocations: 32.09 kB / 0.505 GB, free: 25.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.948e-06/0.311, allocations: 25.83 kB / 0.5051 GB, free: 25.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.311, allocations: 66.27 kB / 0.5051 GB, free: 25.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.311, allocations: 0 / 0.5051 GB, free: 25.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.433e-05/0.3111, allocations: 94.5 kB / 0.5052 GB, free: 25.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3111, allocations: 35.77 kB / 0.5052 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3111, allocations: 0 / 0.5052 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3111, allocations: 0 / 0.5052 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3111, allocations: 0 / 0.5052 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3111, allocations: 0 / 0.5052 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.3111, allocations: 7.094 kB / 0.5052 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3111, allocations: 7.922 kB / 0.5053 GB, free: 25.43 MB / 446.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.242e-05/0.3112, allocations: 141.9 kB / 0.5054 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.3112, allocations: 7.922 kB / 0.5054 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-06/0.3112, allocations: 3 kB / 0.5054 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3112, allocations: 0 / 0.5054 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3112, allocations: 3 kB / 0.5054 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3112, allocations: 0 / 0.5054 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.978e-05/0.3112, allocations: 96.56 kB / 0.5055 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3112, allocations: 0 / 0.5055 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.3113, allocations: 3.062 kB / 0.5055 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.3113, allocations: 0 / 0.5055 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3113, allocations: 7.938 kB / 0.5055 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.3113, allocations: 0 / 0.5055 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3113, allocations: 0 / 0.5055 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.015e-05/0.3113, allocations: 123.9 kB / 0.5056 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-06/0.3113, allocations: 0 / 0.5056 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.3113, allocations: 7 kB / 0.5056 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-06/0.3114, allocations: 3.938 kB / 0.5056 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-06/0.3114, allocations: 0 / 0.5056 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.3114, allocations: 3 kB / 0.5056 GB, free: 24.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.328e-05/0.3114, allocations: 78.47 kB / 0.5057 GB, free: 24.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3114, allocations: 4.031 kB / 0.5057 GB, free: 24.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007255/0.3121, allocations: 289.8 kB / 0.506 GB, free: 24.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001178/0.3133, allocations: 0.4949 MB / 0.5065 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.088e-05/0.3134, allocations: 113.3 kB / 0.5066 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3134, allocations: 3.219 kB / 0.5066 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.3134, allocations: 84.14 kB / 0.5067 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.3135, allocations: 0 / 0.5067 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001538/0.3137, allocations: 117.8 kB / 0.5068 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.709e-05/0.3137, allocations: 58.67 kB / 0.5068 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.571e-06/0.3137, allocations: 0 / 0.5068 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/0.3137, allocations: 8.5 kB / 0.5068 GB, free: 24.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3137, allocations: 3.938 kB / 0.5068 GB, free: 24.29 MB / 446.1 MB Notification: Performance of Templates: time 0.01542/0.3291, allocations: 7.314 MB / 0.514 GB, free: 23.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.044672818039544] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3371490800054744 0.34817649500000003 0.035880725 Calling exit ...