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.001037/0.001037, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001026/0.001026, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.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.2478/0.2478, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.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.132e-06/1.132e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.465e-05, allocations: 2.969 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0009841/0.0009987, allocations: 0.546 MB / 323.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005203/0.006202, allocations: 4.675 MB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.006217, allocations: 0 / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.006229, allocations: 0 / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.006235, allocations: 0 / 328.5 MB, free: 4.457 MB / 298.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.005121/0.01136, allocations: 3.201 MB / 331.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.809e-05/0.0114, allocations: 8.625 kB / 331.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.212e-05/0.01144, allocations: 0 / 331.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.01146, allocations: 0 / 331.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.589e-05/0.01148, allocations: 4 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.01149, allocations: 0 / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02147/0.03296, allocations: 20.86 MB / 352.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.03297, allocations: 0 / 352.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.03299, allocations: 7.922 kB / 352.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02966/0.06264, allocations: 30.74 MB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.06265, allocations: 4 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.06265, allocations: 3.938 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.06266, allocations: 0 / 383.3 MB, free: 13.54 MB / 362.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.007225/0.06988, allocations: 0.5853 MB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.06992, allocations: 12.03 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.06995, allocations: 0.9375 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.242e-05/0.07, allocations: 105.4 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.07001, allocations: 8 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-06/0.07002, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.406e-05/0.07008, allocations: 59.38 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.07009, allocations: 11.94 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.07009, allocations: 0 / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.0701, allocations: 0 / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.07011, allocations: 25.7 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.179e-05/0.07017, allocations: 57.05 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.07021, allocations: 40.28 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.07023, allocations: 42.59 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-06/0.07023, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.07027, allocations: 60.25 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.07027, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001035/0.07037, allocations: 118.8 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.0704, allocations: 77.11 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.915e-05/0.07043, allocations: 89.86 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.07044, allocations: 25.7 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.07046, allocations: 88.12 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.07047, allocations: 4.297 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.07049, allocations: 13.7 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.07057, allocations: 314.8 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.07058, allocations: 25.7 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.07059, allocations: 25.7 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.07063, allocations: 76.38 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.07063, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.779e-05/0.07068, allocations: 89.05 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.07071, allocations: 29.7 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.07071, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.07072, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.07072, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.07073, allocations: 7.938 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.07074, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.07074, allocations: 3.984 kB / 385.3 MB, free: 11.31 MB / 362.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 5.638e-05/0.0708, allocations: 139.6 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.07081, allocations: 3.938 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-06/0.07082, allocations: 3 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.07082, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.07082, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.07082, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.216e-05/0.07086, allocations: 61.91 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.07086, allocations: 3.938 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-06/0.07086, allocations: 3.984 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.1e-07/0.07086, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.07087, allocations: 7.938 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.07087, allocations: 4 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.07087, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.939e-05/0.07093, allocations: 112.5 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-06/0.07093, allocations: 0 / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.07095, allocations: 11.94 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-06/0.07095, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-06/0.07096, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.07096, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.011e-06/0.07097, allocations: 4.859 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07097, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00944/0.08041, allocations: 3.791 MB / 389.4 MB, free: 7.105 MB / 362.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.01521/0.09562, allocations: 1.072 MB / 390.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.09574, allocations: 111.7 kB / 390.6 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.09574, allocations: 0 / 390.6 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.632e-05/0.09577, allocations: 89.95 kB / 390.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.539e-05/0.09583, allocations: 4 kB / 390.7 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000162/0.09599, allocations: 117.4 kB / 390.8 MB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.528e-05/0.09601, allocations: 55.3 kB / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.26e-06/0.09602, allocations: 0 / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.09605, allocations: 59.36 kB / 390.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.09605, allocations: 0 / 390.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of Templates: time 0.3117/0.4078, allocations: 110.6 MB / 0.4897 GB, free: 33.09 MB / 410.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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 175.383491599001]