Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2436/0.2436, allocations: 46.89 MB / 361.1 MB, free: 4.637 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 84.12 kB / 0.4967 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4038, allocations: 65.98 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00178/0.4056, allocations: 493 kB / 0.5616 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.4082, allocations: 1.587 MB / 0.5632 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.4083, allocations: 0 / 0.5632 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.4083, allocations: 0 / 0.5632 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.003e-06/0.4083, allocations: 0 / 0.5632 GB, free: 2.965 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001005/0.4093, allocations: 239.3 kB / 0.5634 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.454e-05/0.4094, allocations: 4 kB / 0.5634 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.4094, allocations: 7.984 kB / 0.5634 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.4094, allocations: 3.984 kB / 0.5634 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.993e-05/0.4095, allocations: 0 / 0.5634 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.4095, allocations: 0 / 0.5634 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.4106, allocations: 0.7376 MB / 0.5642 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.4106, allocations: 4 kB / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.4107, allocations: 0 / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008176/0.4115, allocations: 0.646 MB / 0.5648 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.4115, allocations: 3.984 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4115, allocations: 4 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4115, allocations: 0 / 0.5648 GB, free: 1.32 MB / 398.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.0005443/0.4121, allocations: 369 kB / 0.5651 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4121, allocations: 8.031 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.4121, allocations: 0.9375 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4123, allocations: 160.4 kB / 0.5653 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4123, allocations: 4.375 kB / 0.5653 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.4123, allocations: 384 / 0.5653 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.4124, allocations: 30.02 kB / 0.5653 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4124, allocations: 11.98 kB / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.4124, allocations: 0 / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4124, allocations: 0 / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.4125, allocations: 3.938 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.4126, allocations: 145.6 kB / 0.5655 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.539e-05/0.4127, allocations: 22.61 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.4127, allocations: 8.797 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.4127, allocations: 7.984 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.904e-05/0.4128, allocations: 68.25 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4128, allocations: 0 / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002311/0.413, allocations: 59.34 kB / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.4131, allocations: 85.11 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.4132, allocations: 93.81 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.4132, allocations: 25.7 kB / 0.5659 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.4133, allocations: 80.14 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.4133, allocations: 4.125 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.4133, allocations: 17.7 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4135, allocations: 310.8 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.4136, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.4136, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.293e-05/0.4136, allocations: 64.27 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4136, allocations: 3.938 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.773e-05/0.4137, allocations: 67.45 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.4138, allocations: 33.64 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4138, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4138, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-06/0.4138, allocations: 7.938 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4138, allocations: 0 / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.4138, allocations: 0 / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.4138, allocations: 0 / 0.5664 GB, free: 15.39 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.0001297/0.414, allocations: 135.5 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.414, allocations: 7.938 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.414, allocations: 11.14 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.414, allocations: 0 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.414, allocations: 0 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.414, allocations: 0 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.4142, allocations: 145.7 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4142, allocations: 0 / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.4142, allocations: 0 / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4142, allocations: 3.938 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4142, allocations: 3.984 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.4142, allocations: 7.984 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4142, allocations: 7.938 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.4143, allocations: 86.84 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.4144, allocations: 81.09 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.4144, allocations: 3.938 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.4144, allocations: 4 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.4144, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.4144, allocations: 3.938 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.435e-05/0.4145, allocations: 80.33 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4145, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005286/0.415, allocations: 119.9 kB / 0.5671 GB, free: 14.59 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.0008443/0.4159, allocations: 171.5 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.416, allocations: 59.34 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.416, allocations: 0 / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.069e-05/0.4161, allocations: 59.41 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.4162, allocations: 7.922 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.4165, allocations: 85 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.4168, allocations: 0.6691 MB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.574e-06/0.4168, allocations: 4 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.4168, allocations: 11.44 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4168, allocations: 0 / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of Templates: time 0.00816/0.425, allocations: 3.928 MB / 0.572 GB, free: 9.523 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.2524167387746274] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.4337762459181249 0.44797574199999995 0.033317501 Calling exit ...