Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.001826/0.001826, allocations: 85.48 kB / 19.44 MB, free: 344 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.597/1.597, allocations: 177.1 MB / 199.7 MB, free: 5.801 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.002048/0.002048, allocations: 164.6 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.04073/0.04073, allocations: 6.665 MB / 319.4 MB, free: 26.56 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.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 390.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.224e-05, allocations: 2.312 kB / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001929/0.001962, allocations: 0.5354 MB / 391.4 MB, free: 2.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.003804, allocations: 1.151 MB / 392.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.003843, allocations: 0 / 392.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.00402, allocations: 15.92 kB / 392.6 MB, free: 1.258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.004148, allocations: 19.86 kB / 392.6 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.71e-05/0.004235, allocations: 19.91 kB / 392.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.004324, allocations: 35.84 kB / 392.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.004361, allocations: 0 / 392.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.004556, allocations: 39.83 kB / 392.7 MB, free: 1.145 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.004687, allocations: 31.95 kB / 392.8 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.00471, allocations: 0 / 392.8 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.004724, allocations: 4 kB / 392.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.004826, allocations: 47.78 kB / 392.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.004865, allocations: 11.92 kB / 392.8 MB, free: 1.051 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.004966, allocations: 43.83 kB / 392.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004968, allocations: 0 / 392.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004968, allocations: 4 kB / 392.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004973, allocations: 0 / 392.9 MB, free: 1.004 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006736/0.005647, allocations: 435.8 kB / 393.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.005686, allocations: 8.031 kB / 393.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.005739, allocations: 16.84 kB / 393.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.005947, allocations: 148.4 kB / 393.5 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.00596, allocations: 4.375 kB / 393.5 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.005974, allocations: 8.359 kB / 393.5 MB, free: 344 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.006078, allocations: 30.27 kB / 393.5 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.006086, allocations: 192 / 393.5 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.006094, allocations: 384 / 393.5 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.006101, allocations: 3.938 kB / 393.5 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.006139, allocations: 15.91 kB / 393.5 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.006366, allocations: 144.7 kB / 393.7 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.006451, allocations: 39.05 kB / 393.7 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.00648, allocations: 11.69 kB / 393.7 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.006506, allocations: 4 kB / 393.7 MB, free: 36 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.006559, allocations: 33.39 kB / 393.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.00656, allocations: 3.938 kB / 393.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002002/0.00676, allocations: 57.67 kB / 393.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.006808, allocations: 55.34 kB / 393.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.007067, allocations: 241.9 kB / 394.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.00709, allocations: 29.7 kB / 394.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.007191, allocations: 150.9 kB / 394.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.007222, allocations: 15.89 kB / 394.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.007259, allocations: 23.38 kB / 394.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.007529, allocations: 0.4962 MB / 394.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.007546, allocations: 4 kB / 394.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-06/0.007556, allocations: 0 / 394.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.007602, allocations: 19.69 kB / 394.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007604, allocations: 0 / 394.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.231e-05/0.007696, allocations: 53.58 kB / 394.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.007709, allocations: 4 kB / 394.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007714, allocations: 0 / 394.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.007725, allocations: 0 / 394.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.007803, allocations: 7.984 kB / 394.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.00781, allocations: 11.94 kB / 394.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.007874, allocations: 7.938 kB / 394.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.007883, allocations: 4 kB / 394.9 MB, free: 14.74 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 (3): * Single equations (assignments): 3 * 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.000114/0.007997, allocations: 156.6 kB / 395.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.008017, allocations: 11.91 kB / 395.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.008164, allocations: 62.66 kB / 395.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.008166, allocations: 0 / 395.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.008172, allocations: 3.938 kB / 395.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.008179, allocations: 4.359 kB / 395.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.008323, allocations: 140.6 kB / 395.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008324, allocations: 0 / 395.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.008367, allocations: 7.984 kB / 395.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008368, allocations: 0 / 395.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.008378, allocations: 3.984 kB / 395.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.008379, allocations: 0 / 395.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.008382, allocations: 7.984 kB / 395.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.008515, allocations: 92.27 kB / 395.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.008553, allocations: 11.91 kB / 395.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.008574, allocations: 11.92 kB / 395.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.008626, allocations: 4 kB / 395.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.008644, allocations: 4 kB / 395.4 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.008654, allocations: 11.94 kB / 395.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.008814, allocations: 180.2 kB / 395.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008814, allocations: 0 / 395.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.008986, allocations: 4 kB / 395.6 MB, free: 13.96 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 (3): * Single equations (assignments): 3 * 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.000113/0.009099, allocations: 95.25 kB / 395.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.335e-05/0.009192, allocations: 19.67 kB / 395.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.009194, allocations: 0 / 395.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.009221, allocations: 19.62 kB / 395.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.009375, allocations: 12 kB / 395.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.009745, allocations: 186.2 kB / 395.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.009846, allocations: 93.03 kB / 396 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.009898, allocations: 19.72 kB / 396.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.009932, allocations: 12.5 kB / 396.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009933, allocations: 0 / 396.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of Templates: time 0.003282/0.01321, allocations: 0.6073 MB / 396.7 MB, free: 12.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.820285215973854]