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.001728/0.001728, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002381/0.002381, allocations: 206.9 kB / 23.73 MB, free: 4.379 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.244/0.244, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.002096/0.002096, allocations: 75.83 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 66.03 MB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001731/0.3372, allocations: 487.9 kB / 0.5615 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3406, allocations: 2.059 MB / 0.5635 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.3406, allocations: 4 kB / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.3406, allocations: 0 / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.644e-06/0.3406, allocations: 7.938 kB / 0.5636 GB, free: 1.633 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.002271/0.3429, allocations: 0.7665 MB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.343, allocations: 8 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.343, allocations: 0 / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.343, allocations: 7.922 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.03e-05/0.343, allocations: 0 / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-06/0.343, allocations: 0 / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.3454, allocations: 1.572 MB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.3454, allocations: 0 / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.3455, allocations: 3.938 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.3472, allocations: 1.554 MB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3472, allocations: 0 / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3472, allocations: 0 / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3472, allocations: 3.938 kB / 0.5674 GB, free: 13.73 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.0005763/0.3478, allocations: 339.4 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3478, allocations: 12.03 kB / 0.5677 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.3479, allocations: 4.938 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.348, allocations: 106.5 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.348, allocations: 384 / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.348, allocations: 4.125 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.3481, allocations: 59.39 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.3481, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.3481, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.3481, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.3482, allocations: 29.7 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.3483, allocations: 101.3 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.957e-05/0.3483, allocations: 44.31 kB / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.3484, allocations: 42.55 kB / 0.5681 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-06/0.3484, allocations: 0 / 0.5681 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.3484, allocations: 64.27 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3484, allocations: 0 / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001998/0.3486, allocations: 122.7 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.3487, allocations: 81.09 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.3487, allocations: 89.86 kB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3488, allocations: 29.64 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.3488, allocations: 84.14 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.3488, allocations: 128 / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.3488, allocations: 17.72 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.349, allocations: 314.8 kB / 0.5689 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.349, allocations: 25.7 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.349, allocations: 25.7 kB / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.3491, allocations: 64.25 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3491, allocations: 0 / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.437e-05/0.3492, allocations: 93.05 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.3492, allocations: 33.64 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3492, allocations: 0 / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3492, allocations: 8.094 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.485e-06/0.3492, allocations: 3.984 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.3492, allocations: 0 / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.3493, allocations: 0 / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3493, allocations: 0 / 0.5691 GB, free: 11.69 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 9.371e-05/0.3494, allocations: 139.5 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.3494, allocations: 3.938 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.178e-05/0.3494, allocations: 3 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.3494, allocations: 0 / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3494, allocations: 0 / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.3494, allocations: 4 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.859e-05/0.3495, allocations: 109.3 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3495, allocations: 0 / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3495, allocations: 0 / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3495, allocations: 0 / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.3495, allocations: 3.938 kB / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3495, allocations: 4 kB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3495, allocations: 0 / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3496, allocations: 120.5 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-06/0.3496, allocations: 0 / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3496, allocations: 3.938 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.3496, allocations: 4.031 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.3496, allocations: 4 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3496, allocations: 0 / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.118e-05/0.3497, allocations: 79.22 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3497, allocations: 0 / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008071/0.3505, allocations: 275.6 kB / 0.5698 GB, free: 10.87 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.001369/0.3519, allocations: 425.9 kB / 0.5702 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.352, allocations: 106.8 kB / 0.5703 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.352, allocations: 0 / 0.5703 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.352, allocations: 93.09 kB / 0.5704 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.3522, allocations: 6.5 kB / 0.5704 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.3524, allocations: 106.7 kB / 0.5705 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.3524, allocations: 51.36 kB / 0.5706 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.753e-06/0.3524, allocations: 7.984 kB / 0.5706 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.3524, allocations: 7.438 kB / 0.5706 GB, free: 9.996 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3524, allocations: 0 / 0.5706 GB, free: 9.996 MB / 414.1 MB Notification: Performance of Templates: time 0.01349/0.3659, allocations: 7.307 MB / 0.5777 GB, free: 2.68 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.518553543835878] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3747765398584306 0.38929010000000003 0.038796097 Calling exit ...