Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001149/0.001149, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00183/0.002979, allocations: 449.7 kB / 10.37 MB, free: 328 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.001179/0.001179, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002745, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9676/0.9676, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08981/1.057, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2519/0.2519, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02326/0.2751, allocations: 12.53 MB / 289.3 MB, free: 8.664 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.387e-05, allocations: 3.875 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001292/0.001316, allocations: 0.5483 MB / 291.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007585/0.008901, allocations: 4.693 MB / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.008919, allocations: 0 / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.098e-05/0.00893, allocations: 0 / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.714e-06/0.008932, allocations: 0 / 295.8 MB, free: 3.047 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.006081/0.01501, allocations: 3.054 MB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.832e-05/0.01506, allocations: 7.938 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.01509, allocations: 0 / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.01512, allocations: 4 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.658e-05/0.01514, allocations: 0 / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.01514, allocations: 0 / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02403/0.03917, allocations: 20.47 MB / 319.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.03918, allocations: 0 / 319.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.0392, allocations: 0 / 319.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03113/0.07033, allocations: 23.9 MB / 343.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.848e-05/0.07034, allocations: 3.984 kB / 343.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.07035, allocations: 0 / 343.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.07036, allocations: 0 / 343.3 MB, free: 3.547 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.006726/0.07709, allocations: 0.78 MB / 344 MB, free: 2.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.07712, allocations: 8.031 kB / 344.1 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.07716, allocations: 4.875 kB / 344.1 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.399e-05/0.07721, allocations: 117.3 kB / 344.2 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.07722, allocations: 0 / 344.2 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-06/0.07722, allocations: 0 / 344.2 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.57e-05/0.07729, allocations: 55.41 kB / 344.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.0773, allocations: 0 / 344.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-06/0.0773, allocations: 0 / 344.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.07731, allocations: 0 / 344.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.07732, allocations: 37.64 kB / 344.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.945e-05/0.07738, allocations: 57.03 kB / 344.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.07743, allocations: 52.25 kB / 344.4 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.07744, allocations: 34.56 kB / 344.4 MB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-06/0.07744, allocations: 4 kB / 344.4 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.07748, allocations: 60.27 kB / 344.5 MB, free: 2.215 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.07748, allocations: 0 / 344.5 MB, free: 2.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.07759, allocations: 114.8 kB / 344.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.07762, allocations: 81.05 kB / 344.7 MB, free: 1.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.953e-05/0.07765, allocations: 90.55 kB / 344.7 MB, free: 1.883 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.07766, allocations: 29.83 kB / 344.8 MB, free: 1.848 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.07768, allocations: 84.14 kB / 344.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.0777, allocations: 3.953 kB / 344.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.07772, allocations: 9.719 kB / 344.9 MB, free: 1.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.07779, allocations: 314.8 kB / 345.2 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.0778, allocations: 29.69 kB / 345.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.07781, allocations: 25.7 kB / 345.2 MB, free: 1.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.07786, allocations: 64.25 kB / 345.3 MB, free: 1.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.07786, allocations: 4 kB / 345.3 MB, free: 1.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.226e-05/0.07791, allocations: 101 kB / 345.4 MB, free: 1.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.07795, allocations: 29.7 kB / 345.4 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.07795, allocations: 0 / 345.4 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.07796, allocations: 11.98 kB / 345.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-06/0.07797, allocations: 0 / 345.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-06/0.07797, allocations: 0 / 345.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.07799, allocations: 0 / 345.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.078, allocations: 0 / 345.4 MB, free: 1.113 MB / 330.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.23e-05/0.07806, allocations: 135.5 kB / 345.6 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.07807, allocations: 7.922 kB / 345.6 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.166e-05/0.07808, allocations: 7.031 kB / 345.6 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.07808, allocations: 4 kB / 345.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.07808, allocations: 0 / 345.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.07809, allocations: 0 / 345.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.655e-05/0.07813, allocations: 57.91 kB / 345.6 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-07/0.07813, allocations: 0 / 345.6 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.07813, allocations: 0 / 345.6 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-06/0.07814, allocations: 7.938 kB / 345.7 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.07814, allocations: 3.938 kB / 345.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.07814, allocations: 0 / 345.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.07814, allocations: 3.984 kB / 345.7 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.07815, allocations: 4 kB / 345.7 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.911e-05/0.07821, allocations: 112.5 kB / 345.8 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.07823, allocations: 7.922 kB / 345.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-06/0.07823, allocations: 0 / 345.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-06/0.07824, allocations: 4 kB / 345.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.07824, allocations: 4 kB / 345.8 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.831e-06/0.07825, allocations: 4.859 kB / 345.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07825, allocations: 0 / 345.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.01067/0.08892, allocations: 3.783 MB / 349.6 MB, free: 12.9 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.01625/0.1052, allocations: 1.118 MB / 350.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1053, allocations: 123.6 kB / 350.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.1053, allocations: 0 / 350.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.1053, allocations: 85.97 kB / 350.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.346e-05/0.1054, allocations: 7.984 kB / 350.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.1056, allocations: 113.2 kB / 351 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.1056, allocations: 51.36 kB / 351.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.652e-06/0.1056, allocations: 0 / 351.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.1057, allocations: 63.48 kB / 351.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1057, allocations: 3.938 kB / 351.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of Templates: time 0.2881/0.3938, allocations: 110.6 MB / 461.7 MB, free: 32.61 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 191.92487711645663]