Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.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.0008229/0.0008229, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002182, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0007383/0.0007383, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.00182, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.039/1.039, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08902/1.128, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2624/0.2624, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0234/0.2858, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.642e-05, allocations: 4.406 kB / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001919/0.001945, allocations: 0.5533 MB / 293.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00745/0.009395, allocations: 4.691 MB / 298.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.009412, allocations: 0 / 298.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.064e-06/0.009419, allocations: 3.938 kB / 298.1 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.016e-06/0.009422, allocations: 0 / 298.1 MB, free: 0.9531 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00752/0.01694, allocations: 3.063 MB / 301.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.883e-05/0.01701, allocations: 7.922 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.01706, allocations: 11.92 kB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.0171, allocations: 4 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.401e-05/0.01712, allocations: 0 / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.01713, allocations: 0 / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03273/0.04986, allocations: 20.44 MB / 321.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.04988, allocations: 0 / 321.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.0499, allocations: 4 kB / 321.6 MB, free: 9.391 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03306/0.08296, allocations: 23.8 MB / 345.4 MB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.08297, allocations: 4 kB / 345.4 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.08297, allocations: 0 / 345.4 MB, free: 1.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.08298, allocations: 0 / 345.4 MB, free: 1.559 MB / 330.7 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.007093/0.09008, allocations: 0.7799 MB / 346.2 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.09011, allocations: 12.03 kB / 346.2 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.09014, allocations: 0.9375 kB / 346.2 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.033e-05/0.0902, allocations: 105.4 kB / 346.3 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.09021, allocations: 4 kB / 346.3 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.09022, allocations: 4 kB / 346.3 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.754e-05/0.09029, allocations: 63.38 kB / 346.4 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.0903, allocations: 7.938 kB / 346.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.0903, allocations: 0 / 346.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.09031, allocations: 0 / 346.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.47e-05/0.09032, allocations: 29.7 kB / 346.4 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.369e-05/0.09039, allocations: 57.73 kB / 346.5 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.794e-05/0.09043, allocations: 44.31 kB / 346.5 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.09044, allocations: 38.44 kB / 346.5 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-06/0.09045, allocations: 4 kB / 346.5 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.09048, allocations: 64.31 kB / 346.6 MB, free: 228 kB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.09048, allocations: 0 / 346.6 MB, free: 228 kB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001209/0.0906, allocations: 110.8 kB / 346.7 MB, free: 92 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.09066, allocations: 166.2 kB / 346.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.067e-05/0.09069, allocations: 89.86 kB / 347 MB, free: 15.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.0907, allocations: 25.7 kB / 347 MB, free: 15.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.09072, allocations: 80.14 kB / 347.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.09075, allocations: 4.469 kB / 347.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.09077, allocations: 17.83 kB / 347.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.09085, allocations: 314.8 kB / 347.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.09086, allocations: 29.7 kB / 347.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.09088, allocations: 25.7 kB / 347.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.09092, allocations: 68.19 kB / 347.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.09092, allocations: 0 / 347.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.994e-05/0.09097, allocations: 89.05 kB / 347.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.091, allocations: 31.27 kB / 347.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.09101, allocations: 4 kB / 347.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.09102, allocations: 4.078 kB / 347.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.09103, allocations: 4 kB / 347.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.09103, allocations: 0 / 347.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.09105, allocations: 4 kB / 347.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.09105, allocations: 0 / 347.6 MB, free: 15.03 MB / 346.7 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 6.737e-05/0.09112, allocations: 135.5 kB / 347.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.09113, allocations: 7.938 kB / 347.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.09114, allocations: 3 kB / 347.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.09114, allocations: 0 / 347.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.09114, allocations: 0 / 347.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.09115, allocations: 0 / 347.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.24e-05/0.09119, allocations: 69.89 kB / 347.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.09119, allocations: 0 / 347.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.09119, allocations: 3.938 kB / 347.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-06/0.09119, allocations: 0 / 347.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.0912, allocations: 3.938 kB / 347.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.0912, allocations: 4 kB / 347.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.0912, allocations: 3.938 kB / 347.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.0912, allocations: 0 / 347.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.449e-05/0.09127, allocations: 108.5 kB / 348 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.09128, allocations: 7.938 kB / 348 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-06/0.09128, allocations: 4.031 kB / 348 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-06/0.09129, allocations: 0 / 348 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.09129, allocations: 0 / 348 MB, free: 14.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.406e-06/0.0913, allocations: 4.859 kB / 348 MB, free: 14.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0913, allocations: 0 / 348 MB, free: 14.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.008933/0.1002, allocations: 3.791 MB / 351.8 MB, free: 10.82 MB / 346.7 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.01585/0.1161, allocations: 1.176 MB / 353 MB, free: 9.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1162, allocations: 115.7 kB / 353.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.1162, allocations: 4.094 kB / 353.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.248e-05/0.1162, allocations: 89.95 kB / 353.2 MB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.21e-05/0.1163, allocations: 7.938 kB / 353.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.1165, allocations: 116.4 kB / 353.3 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.1165, allocations: 51.36 kB / 353.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.574e-06/0.1166, allocations: 0 / 353.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.1166, allocations: 59.36 kB / 353.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1166, allocations: 0 / 353.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of Templates: time 0.2889/0.4055, allocations: 110.8 MB / 464.2 MB, free: 31.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 185.20685694087297]