Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.001825/0.001825, allocations: 71.59 kB / 21.24 MB, free: 0.5469 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.002446/0.002446, allocations: 159.5 kB / 24.5 MB, free: 3.723 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.542/1.542, allocations: 177.2 MB / 204.9 MB, free: 9 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.2123/0.2123, allocations: 34.27 MB / 295.5 MB, free: 14.56 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 71.88 kB / 443.1 MB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3018, allocations: 66 MB / 0.4972 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001469/0.3033, allocations: 0.4893 MB / 0.4977 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3048, allocations: 1.511 MB / 0.4992 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.3048, allocations: 4 kB / 0.4992 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.3048, allocations: 3.25 kB / 0.4992 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.3048, allocations: 0 / 0.4992 GB, free: 28.45 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.3057, allocations: 256.5 kB / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.3057, allocations: 0 / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.3058, allocations: 5.766 kB / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.3058, allocations: 3.938 kB / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.888e-05/0.3058, allocations: 0 / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.3058, allocations: 0 / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008417/0.3066, allocations: 0.6888 MB / 0.5001 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-06/0.3066, allocations: 0 / 0.5001 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.3067, allocations: 3.984 kB / 0.5001 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.3072, allocations: 0.6179 MB / 0.5007 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3072, allocations: 0 / 0.5007 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3072, allocations: 0 / 0.5007 GB, free: 28.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3072, allocations: 0 / 0.5007 GB, free: 28.16 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.000347/0.3076, allocations: 294.4 kB / 0.501 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3076, allocations: 9.406 kB / 0.501 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.3076, allocations: 4.312 kB / 0.501 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.557e-05/0.3077, allocations: 109.6 kB / 0.5011 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3077, allocations: 8.312 kB / 0.5011 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.3077, allocations: 384 / 0.5011 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.561e-05/0.3078, allocations: 58.97 kB / 0.5012 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.3078, allocations: 0 / 0.5012 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3078, allocations: 0 / 0.5012 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.3078, allocations: 0 / 0.5012 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.3078, allocations: 32.47 kB / 0.5012 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.855e-05/0.3079, allocations: 100.4 kB / 0.5013 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.857e-05/0.3079, allocations: 44.22 kB / 0.5013 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.3079, allocations: 33.62 kB / 0.5014 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-06/0.308, allocations: 4 kB / 0.5014 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.308, allocations: 59.33 kB / 0.5014 GB, free: 27.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.512e-06/0.308, allocations: 3.984 kB / 0.5014 GB, free: 27.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.3081, allocations: 120.4 kB / 0.5015 GB, free: 27.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3082, allocations: 77.11 kB / 0.5016 GB, free: 27.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.945e-05/0.3082, allocations: 100.2 kB / 0.5017 GB, free: 27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-06/0.3082, allocations: 25.7 kB / 0.5017 GB, free: 26.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.957e-06/0.3082, allocations: 84.08 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.3082, allocations: 0 / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.3082, allocations: 16.84 kB / 0.5018 GB, free: 26.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.3083, allocations: 315 kB / 0.5021 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.3083, allocations: 28.83 kB / 0.5022 GB, free: 26.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/0.3083, allocations: 25.7 kB / 0.5022 GB, free: 26.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.291e-05/0.3083, allocations: 70.89 kB / 0.5023 GB, free: 26.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3083, allocations: 0 / 0.5023 GB, free: 26.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.085e-05/0.3084, allocations: 86.64 kB / 0.5023 GB, free: 26.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3084, allocations: 34.55 kB / 0.5024 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-06/0.3084, allocations: 0 / 0.5024 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3084, allocations: 7.125 kB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3084, allocations: 4.094 kB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.3084, allocations: 3.938 kB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.3084, allocations: 0 / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3084, allocations: 0 / 0.5024 GB, free: 26.27 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 4.276e-05/0.3085, allocations: 134.7 kB / 0.5025 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.3085, allocations: 0 / 0.5025 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-06/0.3085, allocations: 14.12 kB / 0.5025 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3085, allocations: 7.172 kB / 0.5025 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3085, allocations: 0 / 0.5025 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.3085, allocations: 0 / 0.5025 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.382e-05/0.3085, allocations: 96.52 kB / 0.5026 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3085, allocations: 4 kB / 0.5026 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3085, allocations: 0 / 0.5026 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-06/0.3085, allocations: 0 / 0.5026 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.3085, allocations: 0 / 0.5026 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3085, allocations: 7.938 kB / 0.5026 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3085, allocations: 7.234 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.194e-05/0.3086, allocations: 113.4 kB / 0.5028 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-06/0.3086, allocations: 6.516 kB / 0.5028 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-06/0.3086, allocations: 0 / 0.5028 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-06/0.3086, allocations: 7.875 kB / 0.5028 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3086, allocations: 4.031 kB / 0.5028 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.3086, allocations: 3.125 kB / 0.5028 GB, free: 25.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.919e-06/0.3087, allocations: 75.28 kB / 0.5028 GB, free: 25.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3087, allocations: 0 / 0.5028 GB, free: 25.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.309, allocations: 123.5 kB / 0.503 GB, free: 25.74 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.0005659/0.3096, allocations: 182.9 kB / 0.5031 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.262e-05/0.3097, allocations: 110 kB / 0.5032 GB, free: 25.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3097, allocations: 0 / 0.5032 GB, free: 25.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.3097, allocations: 86.05 kB / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.3098, allocations: 0 / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001367/0.3099, allocations: 114 kB / 0.5034 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.327e-05/0.31, allocations: 60.94 kB / 0.5035 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.658e-06/0.31, allocations: 0 / 0.5035 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-06/0.31, allocations: 10.03 kB / 0.5035 GB, free: 25.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.31, allocations: 0 / 0.5035 GB, free: 25.18 MB / 446.1 MB Notification: Performance of Templates: time 0.006153/0.3161, allocations: 3.935 MB / 0.5073 GB, free: 24.98 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.09315803903155] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.32372770505025983 0.33452245 0.024855850000000002 Calling exit ...