Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.001635/0.001635, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.661/1.661, allocations: 177.1 MB / 199.7 MB, free: 5.793 MB / 186.7 MB " [Timeout remaining time 178] 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.001932/0.001932, allocations: 148.7 kB / 256.3 MB, free: 13.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.0371/0.0371, allocations: 6.66 MB / 319.4 MB, free: 26.58 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 390.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.576e-05/4.78e-05, allocations: 10.25 kB / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001971/0.002019, allocations: 0.5198 MB / 391.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.0042, allocations: 1.12 MB / 392.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.004236, allocations: 3.938 kB / 392.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.004604, allocations: 19.97 kB / 392.6 MB, free: 1.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.004691, allocations: 23.84 kB / 392.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.879e-06/0.004696, allocations: 0 / 392.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.428e-05/0.00478, allocations: 23.92 kB / 392.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.004833, allocations: 8 kB / 392.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.005065, allocations: 31.89 kB / 392.6 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005194, allocations: 19.98 kB / 392.7 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.005212, allocations: 0 / 392.7 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.005224, allocations: 3.938 kB / 392.7 MB, free: 1.211 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.005397, allocations: 79.78 kB / 392.7 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.005433, allocations: 7.938 kB / 392.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.005543, allocations: 43.78 kB / 392.8 MB, free: 1.082 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.005549, allocations: 0 / 392.8 MB, free: 1.082 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.005551, allocations: 0 / 392.8 MB, free: 1.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.005557, allocations: 0 / 392.8 MB, free: 1.082 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006625/0.006219, allocations: 333.7 kB / 393.1 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.006271, allocations: 8.031 kB / 393.1 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.006373, allocations: 88.12 kB / 393.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.006657, allocations: 229.8 kB / 393.4 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.976e-05/0.006757, allocations: 150.9 kB / 393.6 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/0.006848, allocations: 154.9 kB / 393.7 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.00697, allocations: 105.5 kB / 393.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.007019, allocations: 75.47 kB / 393.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-05/0.007115, allocations: 154.9 kB / 394.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.455e-05/0.00721, allocations: 162.5 kB / 394.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.007295, allocations: 150.6 kB / 394.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.007731, allocations: 433.6 kB / 394.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.007864, allocations: 165.1 kB / 394.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.007921, allocations: 80.14 kB / 395 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.007973, allocations: 87.22 kB / 395.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.655e-05/0.00805, allocations: 105.8 kB / 395.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 3.417e-06/0.008053, allocations: 3.984 kB / 395.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001146/0.008168, allocations: 37.61 kB / 395.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.008271, allocations: 134.7 kB / 395.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.008605, allocations: 235.8 kB / 395.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.008628, allocations: 29.7 kB / 395.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.008732, allocations: 120.1 kB / 395.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.008734, allocations: 0 / 395.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.008761, allocations: 9.719 kB / 395.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.008971, allocations: 330.8 kB / 396.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-06/0.008977, allocations: 0 / 396.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.008985, allocations: 3.938 kB / 396.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.009034, allocations: 75.28 kB / 396.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.636e-05/0.00908, allocations: 79.28 kB / 396.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.849e-05/0.009158, allocations: 41.66 kB / 396.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003439/0.009502, allocations: 79.28 kB / 396.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.602e-05/0.009548, allocations: 75.28 kB / 396.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.00966, allocations: 158.5 kB / 396.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.009706, allocations: 79.27 kB / 396.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.602e-05/0.009792, allocations: 158.4 kB / 396.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.009925, allocations: 83.28 kB / 396.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.009969, allocations: 79.27 kB / 397 MB, free: 12.69 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0002245/0.01019, allocations: 292.3 kB / 397.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.01031, allocations: 116.9 kB / 397.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.346e-05/0.0104, allocations: 121.5 kB / 397.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003907/0.01079, allocations: 184.2 kB / 397.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001197/0.01091, allocations: 184.1 kB / 397.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001063/0.01102, allocations: 180.2 kB / 398 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.01136, allocations: 388.8 kB / 398.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.715e-05/0.01143, allocations: 101 kB / 398.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.0115, allocations: 116.9 kB / 398.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.01161, allocations: 180.3 kB / 398.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.01172, allocations: 184.2 kB / 399 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001024/0.01183, allocations: 176.6 kB / 399.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001104/0.01194, allocations: 180.3 kB / 399.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.0122, allocations: 323.6 kB / 399.7 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.01232, allocations: 124.8 kB / 399.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.01245, allocations: 176.3 kB / 400 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.01258, allocations: 109 kB / 400.1 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.0127, allocations: 180.2 kB / 400.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.01277, allocations: 108.9 kB / 400.3 MB, free: 9.148 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002315/0.013, allocations: 172.2 kB / 400.5 MB, free: 8.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.013, allocations: 0 / 400.5 MB, free: 8.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003159/0.01332, allocations: 4 kB / 400.5 MB, free: 8.977 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001948/0.01351, allocations: 170.5 kB / 400.7 MB, free: 8.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.797e-05/0.01358, allocations: 7.938 kB / 400.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01358, allocations: 0 / 400.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.01359, allocations: 0 / 400.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.01411, allocations: 455.7 kB / 401.1 MB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.01462, allocations: 312.2 kB / 401.4 MB, free: 8.012 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.01475, allocations: 100.7 kB / 401.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.155e-05/0.01477, allocations: 3.984 kB / 401.5 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.01481, allocations: 8.5 kB / 401.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01481, allocations: 0 / 401.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of Templates: time 0.002831/0.01764, allocations: 261.3 kB / 401.8 MB, free: 7.629 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.374625999014825]