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.001377/0.001377, allocations: 81.72 kB / 20.68 MB, free: 1.035 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.001513/0.001513, allocations: 164.4 kB / 23.95 MB, free: 4.168 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.475/1.475, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.216/0.216, allocations: 34.28 MB / 295 MB, free: 14.58 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 1.653e-06/1.653e-06, allocations: 0 / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.785e-05, allocations: 6.219 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001538/0.001566, allocations: 0.5049 MB / 443.2 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.004886, allocations: 2.06 MB / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.004906, allocations: 3.938 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.004921, allocations: 0 / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.979e-06/0.004926, allocations: 4 kB / 445.2 MB, free: 2.828 MB / 366.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.002352/0.007278, allocations: 0.7651 MB / 446 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.007334, allocations: 3.938 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.007376, allocations: 0 / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.279e-05/0.007409, allocations: 7.984 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.067e-05/0.00743, allocations: 3.984 kB / 446 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.007436, allocations: 3.938 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.009995, allocations: 1.548 MB / 447.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.01, allocations: 0 / 447.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.01002, allocations: 0 / 447.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2009/0.2109, allocations: 1.856 MB / 449.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2109, allocations: 1.125 kB / 449.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2109, allocations: 2.625 kB / 449.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2109, allocations: 0 / 449.4 MB, free: 15.8 MB / 366.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.0005541/0.2115, allocations: 355.2 kB / 449.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2115, allocations: 9.062 kB / 449.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.2116, allocations: 2.438 kB / 449.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.508e-05/0.2116, allocations: 107.5 kB / 449.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.2116, allocations: 2.188 kB / 449.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.2116, allocations: 1.719 kB / 449.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.503e-05/0.2117, allocations: 59.47 kB / 449.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2117, allocations: 0.6562 kB / 449.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2117, allocations: 9.406 kB / 450 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.2117, allocations: 0 / 450 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.2118, allocations: 27.55 kB / 450 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.17e-05/0.2118, allocations: 97.42 kB / 450.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.596e-05/0.2119, allocations: 46.48 kB / 450.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.2119, allocations: 35.75 kB / 450.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-06/0.2119, allocations: 3.312 kB / 450.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.2119, allocations: 60.7 kB / 450.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2119, allocations: 1.188 kB / 450.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.2121, allocations: 116.1 kB / 450.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.2121, allocations: 84.98 kB / 450.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.64e-05/0.2121, allocations: 91.23 kB / 450.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.2121, allocations: 27.3 kB / 450.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-06/0.2121, allocations: 87.75 kB / 450.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.2121, allocations: 3.953 kB / 450.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.2122, allocations: 12.59 kB / 450.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.2122, allocations: 312.8 kB / 450.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.2122, allocations: 29.55 kB / 451 MB, free: 14.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.2122, allocations: 27.75 kB / 451 MB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.2123, allocations: 61.39 kB / 451.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2123, allocations: 0 / 451.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.346e-05/0.2123, allocations: 93.33 kB / 451.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.2123, allocations: 33.28 kB / 451.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.2123, allocations: 0 / 451.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2124, allocations: 3.906 kB / 451.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.2124, allocations: 4.172 kB / 451.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2124, allocations: 4.922 kB / 451.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.2124, allocations: 1.219 kB / 451.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2124, allocations: 0 / 451.2 MB, free: 13.96 MB / 366.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 4.121e-05/0.2124, allocations: 141.3 kB / 451.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-06/0.2124, allocations: 1.438 kB / 451.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-06/0.2124, allocations: 4.031 kB / 451.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2124, allocations: 3.281 kB / 451.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2124, allocations: 3.938 kB / 451.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2124, allocations: 2.422 kB / 451.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.459e-05/0.2125, allocations: 101.5 kB / 451.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2125, allocations: 0 / 451.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.2125, allocations: 1.375 kB / 451.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.2125, allocations: 0.5938 kB / 451.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2125, allocations: 3.594 kB / 451.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.2125, allocations: 0 / 451.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2125, allocations: 0.75 kB / 451.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.016e-05/0.2126, allocations: 125.3 kB / 451.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.2126, allocations: 3.062 kB / 451.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.2126, allocations: 2.406 kB / 451.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-06/0.2126, allocations: 1.031 kB / 451.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.2126, allocations: 1.766 kB / 451.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.2126, allocations: 7.719 kB / 451.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.057e-05/0.2126, allocations: 75.98 kB / 451.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2126, allocations: 0 / 451.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008634/0.2135, allocations: 292.9 kB / 452 MB, free: 13.45 MB / 366.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.001486/0.215, allocations: 0.5205 MB / 452.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.812e-05/0.2151, allocations: 111.4 kB / 452.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2151, allocations: 0 / 452.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.2151, allocations: 82.33 kB / 452.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.2152, allocations: 5.859 kB / 452.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/0.2154, allocations: 105.2 kB / 452.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.783e-05/0.2154, allocations: 62.83 kB / 452.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.669e-06/0.2154, allocations: 128 / 452.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.2154, allocations: 14.81 kB / 452.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2154, allocations: 0 / 452.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01449/0.2299, allocations: 7.376 MB / 460.2 MB, free: 12.25 MB / 366.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.032405022531748] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.23910820856690407 0.259794081 0.045057612000000004 Calling exit ...