Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.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.001378/0.001378, 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.001466/0.001466, allocations: 216.5 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.479/1.479, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2307/0.2307, allocations: 46.88 MB / 361.1 MB, free: 4.645 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-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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") [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.002404/0.002404, allocations: 79.88 kB / 0.4967 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3384, allocations: 65.98 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001604/0.34, allocations: 0.4996 MB / 0.5617 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.3434, allocations: 2.172 MB / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.3434, allocations: 0 / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.3434, allocations: 0 / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.3434, allocations: 0 / 0.5638 GB, free: 2.359 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.002054/0.3455, allocations: 0.7234 MB / 0.5645 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.942e-05/0.3455, allocations: 0 / 0.5645 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.3456, allocations: 7.984 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.3456, allocations: 0 / 0.5645 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.098e-05/0.3456, allocations: 7.984 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.3456, allocations: 0 / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.3479, allocations: 1.576 MB / 0.566 GB, free: 48 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.3479, allocations: 3.938 kB / 0.566 GB, free: 44 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.348, allocations: 0 / 0.566 GB, free: 44 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.3496, allocations: 1.558 MB / 0.5676 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3496, allocations: 0 / 0.5676 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.358e-05/0.3496, allocations: 4 kB / 0.5676 GB, free: 14.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3497, allocations: 0 / 0.5676 GB, free: 14.48 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.0007202/0.3504, allocations: 424.4 kB / 0.568 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3504, allocations: 8.031 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.3504, allocations: 0.9375 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3506, allocations: 164.4 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3506, allocations: 384 / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3506, allocations: 384 / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.608e-05/0.3507, allocations: 34.02 kB / 0.5682 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3507, allocations: 4 kB / 0.5682 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.3507, allocations: 0 / 0.5682 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3507, allocations: 0 / 0.5682 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.3507, allocations: 7.922 kB / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.3509, allocations: 149.7 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.3509, allocations: 18.61 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.351, allocations: 4.859 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.351, allocations: 4 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.351, allocations: 64.27 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.351, allocations: 0 / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001844/0.3512, allocations: 71.28 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.3513, allocations: 81.11 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.3513, allocations: 89.86 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3514, allocations: 25.7 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.3514, allocations: 80.14 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.3514, allocations: 4.125 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.3515, allocations: 17.72 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3516, allocations: 314.8 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-06/0.3516, allocations: 0 / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-06/0.3516, allocations: 0 / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.3517, allocations: 64.2 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3517, allocations: 3.938 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.735e-05/0.3518, allocations: 67.41 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.3518, allocations: 41.62 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3518, allocations: 0 / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3518, allocations: 4 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.3518, allocations: 0 / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3518, allocations: 0 / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.3518, allocations: 0 / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3518, allocations: 0 / 0.5692 GB, free: 12.5 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.0001146/0.352, allocations: 135.5 kB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.352, allocations: 3.969 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.09e-05/0.352, allocations: 7.125 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.352, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.352, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.352, allocations: 3.984 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.3521, allocations: 153.7 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3521, allocations: 0 / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3521, allocations: 0 / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3521, allocations: 3.938 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.3521, allocations: 0 / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3521, allocations: 0 / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3521, allocations: 4 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.3522, allocations: 94.77 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.3523, allocations: 77.11 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3523, allocations: 7.938 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.3523, allocations: 4 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.3523, allocations: 3.984 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.3523, allocations: 0 / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.3524, allocations: 79.31 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3524, allocations: 0 / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007906/0.3532, allocations: 271.6 kB / 0.5701 GB, free: 11.55 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.001371/0.3545, allocations: 418.8 kB / 0.5705 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.3546, allocations: 59.39 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3546, allocations: 0 / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.3547, allocations: 63.34 kB / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.3548, allocations: 4 kB / 0.5706 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.355, allocations: 85.12 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3553, allocations: 0.669 MB / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.865e-06/0.3554, allocations: 3.984 kB / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/0.3554, allocations: 7.438 kB / 0.5713 GB, free: 10.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3554, allocations: 0 / 0.5713 GB, free: 10.19 MB / 414.1 MB Notification: Performance of Templates: time 0.01296/0.3683, allocations: 7.316 MB / 0.5785 GB, free: 2.859 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.32665848499164] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.37657326692715287 0.39087775 0.038136337 Calling exit ...