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.001629/0.001629, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001755/0.001755, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2268/0.2268, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.002141/0.002141, allocations: 75.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3399, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002125/0.3421, allocations: 0.4931 MB / 0.5623 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.3455, allocations: 2.063 MB / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.3455, allocations: 0 / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.3455, allocations: 0 / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.858e-06/0.3455, allocations: 7.938 kB / 0.5643 GB, free: 1.594 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.002138/0.3477, allocations: 0.7665 MB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.971e-05/0.3477, allocations: 0 / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.3478, allocations: 0 / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.3478, allocations: 4 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.825e-05/0.3478, allocations: 0 / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.3478, allocations: 0 / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.3502, allocations: 1.572 MB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.3502, allocations: 3.938 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.3503, allocations: 3.984 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.352, allocations: 1.546 MB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.352, allocations: 0 / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.352, allocations: 0 / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.352, allocations: 4 kB / 0.5681 GB, free: 13.7 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.0006296/0.3526, allocations: 343.3 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3527, allocations: 8.031 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.3527, allocations: 8.938 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3528, allocations: 110.5 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3528, allocations: 384 / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3528, allocations: 4.125 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.353, allocations: 55.41 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.353, allocations: 0 / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.353, allocations: 0 / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.353, allocations: 0 / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.353, allocations: 29.7 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.3532, allocations: 105.2 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.3532, allocations: 40.28 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.3533, allocations: 38.66 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.3533, allocations: 0 / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.06e-05/0.3533, allocations: 64.2 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3533, allocations: 0 / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002215/0.3536, allocations: 122.7 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.3536, allocations: 81.11 kB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.859e-05/0.3537, allocations: 93.8 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3537, allocations: 25.7 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.3537, allocations: 84.14 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.3538, allocations: 4.109 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.3538, allocations: 17.72 kB / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3539, allocations: 310.8 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.3539, allocations: 29.69 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.354, allocations: 29.7 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.354, allocations: 64.27 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.354, allocations: 0 / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.722e-05/0.3541, allocations: 96.95 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.3542, allocations: 37.64 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3542, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3542, allocations: 4.094 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.3542, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3542, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.3542, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3542, allocations: 4 kB / 0.5698 GB, free: 11.65 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.0001052/0.3543, allocations: 135.5 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.3543, allocations: 7.938 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.394e-05/0.3543, allocations: 6.984 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3543, allocations: 0 / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3543, allocations: 0 / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3543, allocations: 4 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.81e-05/0.3544, allocations: 93.33 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3544, allocations: 4 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.3544, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3544, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3544, allocations: 3.938 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3544, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3544, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.3546, allocations: 124.5 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.3546, allocations: 0 / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3546, allocations: 7.938 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.3546, allocations: 8.016 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.3546, allocations: 0 / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.3546, allocations: 0 / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.38e-05/0.3546, allocations: 75.28 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3546, allocations: 4 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007996/0.3554, allocations: 271.6 kB / 0.5706 GB, free: 10.84 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.001335/0.3568, allocations: 421 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.3569, allocations: 114.8 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3569, allocations: 0 / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.357, allocations: 93.09 kB / 0.5712 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.3571, allocations: 4 kB / 0.5712 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.3573, allocations: 106.7 kB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.3574, allocations: 59.34 kB / 0.5713 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.132e-06/0.3574, allocations: 0 / 0.5713 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.3574, allocations: 7.438 kB / 0.5713 GB, free: 9.969 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3574, allocations: 4 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of Templates: time 0.01342/0.3708, allocations: 7.315 MB / 0.5785 GB, free: 2.641 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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.056444066998665] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.379579984000884 0.39401232699999994 0.038819235 Calling exit ...