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.001486/0.001486, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001675/0.001675, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.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.2567/0.2567, allocations: 46.94 MB / 360.9 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 179] 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.002076/0.002076, allocations: 59.91 kB / 0.4966 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3766, allocations: 66.04 MB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001619/0.3783, allocations: 0.4892 MB / 0.5616 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.3818, allocations: 2.172 MB / 0.5637 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.3818, allocations: 0 / 0.5637 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.943e-06/0.3818, allocations: 0 / 0.5637 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.487e-06/0.3818, allocations: 0 / 0.5637 GB, free: 1.75 MB / 398.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.002051/0.3839, allocations: 0.767 MB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.3839, allocations: 0 / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.384, allocations: 12 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.384, allocations: 0 / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.641e-05/0.384, allocations: 0 / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.384, allocations: 0 / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.3867, allocations: 1.712 MB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.3867, allocations: 0 / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.3868, allocations: 0 / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.3887, allocations: 1.573 MB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3887, allocations: 0 / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3887, allocations: 0 / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3887, allocations: 0 / 0.5677 GB, free: 13.69 MB / 414.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.0006937/0.3894, allocations: 339.4 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3895, allocations: 12.03 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.3895, allocations: 4.922 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.71e-05/0.3896, allocations: 102.5 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3896, allocations: 384 / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3896, allocations: 4.125 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.3897, allocations: 37.64 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3897, allocations: 0 / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3897, allocations: 0 / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3897, allocations: 3.938 kB / 0.5682 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.3897, allocations: 7.938 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.3899, allocations: 124.7 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.562e-05/0.3899, allocations: 14.58 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.39, allocations: 16.89 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.39, allocations: 0 / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.39, allocations: 56.27 kB / 0.5684 GB, free: 12.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.39, allocations: 0 / 0.5684 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002188/0.3902, allocations: 75.28 kB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.3903, allocations: 77.11 kB / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.3904, allocations: 89.86 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3904, allocations: 25.7 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.3904, allocations: 88.27 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.3904, allocations: 0 / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3905, allocations: 13.72 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3906, allocations: 310.8 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.3906, allocations: 4 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-06/0.3906, allocations: 0 / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.193e-05/0.3907, allocations: 64.25 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3907, allocations: 4.062 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.542e-05/0.3908, allocations: 67.28 kB / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.3908, allocations: 33.7 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3908, allocations: 0 / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3908, allocations: 0 / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.3908, allocations: 0 / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3909, allocations: 3.984 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.3909, allocations: 0 / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3909, allocations: 4 kB / 0.5692 GB, free: 11.91 MB / 414.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 0.0001085/0.391, allocations: 139.5 kB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.391, allocations: 3.938 kB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.391, allocations: 7 kB / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.391, allocations: 0 / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.391, allocations: 0 / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.391, allocations: 3.938 kB / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.3911, allocations: 120.8 kB / 0.5695 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3911, allocations: 3.938 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.3911, allocations: 4 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.3911, allocations: 0 / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.3911, allocations: 4 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.3911, allocations: 0 / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3911, allocations: 0 / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.3912, allocations: 98.77 kB / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-06/0.3913, allocations: 7.875 kB / 0.5696 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.3913, allocations: 0 / 0.5696 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.3913, allocations: 0 / 0.5696 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.3913, allocations: 7.984 kB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.3913, allocations: 4.031 kB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.559e-05/0.3913, allocations: 75.28 kB / 0.5696 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3913, allocations: 0 / 0.5696 GB, free: 11.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009005/0.3922, allocations: 275.6 kB / 0.5699 GB, free: 11.08 MB / 414.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.001326/0.3936, allocations: 417.8 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3937, allocations: 63.34 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3937, allocations: 0 / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.3937, allocations: 63.41 kB / 0.5704 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.3939, allocations: 7.922 kB / 0.5704 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.3941, allocations: 73.06 kB / 0.5705 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3944, allocations: 0.669 MB / 0.5712 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.512e-06/0.3944, allocations: 7.938 kB / 0.5712 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.3944, allocations: 7.438 kB / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3944, allocations: 0 / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of Templates: time 0.01584/0.4103, allocations: 7.301 MB / 0.5783 GB, free: 2.402 MB / 414.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 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.591842110035941] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.4198587031569332 0.43534856800000005 0.043384834000000004 Calling exit ...