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.00111/0.00111, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9886/0.9886, allocations: 177.2 MB / 200 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] 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.001312/0.001312, allocations: 160.6 kB / 256.6 MB, free: 13 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.04944/0.04944, allocations: 6.659 MB / 319.8 MB, free: 26.53 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 2.274e-06/2.274e-06, allocations: 0 / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.11e-05, allocations: 2.312 kB / 391.6 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001497/0.001528, allocations: 0.54 MB / 392.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.003128, allocations: 1.174 MB / 393.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.003173, allocations: 4 kB / 393.3 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.003392, allocations: 7.922 kB / 393.3 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.003497, allocations: 27.8 kB / 393.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.579e-05/0.003563, allocations: 11.97 kB / 393.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.108e-05/0.003634, allocations: 35.91 kB / 393.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.003674, allocations: 0 / 393.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.003838, allocations: 43.78 kB / 393.5 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.003953, allocations: 35.89 kB / 393.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.00397, allocations: 0 / 393.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.003984, allocations: 4 kB / 393.5 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.004057, allocations: 39.83 kB / 393.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.004084, allocations: 11.94 kB / 393.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.207e-05/0.004166, allocations: 43.81 kB / 393.6 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.004168, allocations: 4 kB / 393.6 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.004171, allocations: 4 kB / 393.6 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004175, allocations: 0 / 393.6 MB, free: 0.6016 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.0004114/0.004586, allocations: 432.1 kB / 394 MB, free: 148 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.00462, allocations: 12.03 kB / 394 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.004657, allocations: 12.84 kB / 394.1 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.004781, allocations: 152.4 kB / 394.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.004791, allocations: 384 / 394.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.004803, allocations: 8.359 kB / 394.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.983e-05/0.004873, allocations: 46.19 kB / 394.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004882, allocations: 192 / 394.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004891, allocations: 384 / 394.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.0049, allocations: 3.938 kB / 394.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.004919, allocations: 7.984 kB / 394.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.005062, allocations: 136.7 kB / 394.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.429e-05/0.005126, allocations: 35.05 kB / 394.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.005149, allocations: 11.69 kB / 394.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.00517, allocations: 3.938 kB / 394.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.00519, allocations: 37.39 kB / 394.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.005191, allocations: 4 kB / 394.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001373/0.005329, allocations: 53.73 kB / 394.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.005356, allocations: 55.34 kB / 394.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.0055, allocations: 237.9 kB / 394.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.005509, allocations: 29.7 kB / 394.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.005569, allocations: 154.9 kB / 395 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.005598, allocations: 15.84 kB / 395 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.005629, allocations: 19.36 kB / 395 MB, free: 14.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.005743, allocations: 0.5001 MB / 395.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.005755, allocations: 3.938 kB / 395.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-06/0.005764, allocations: 4 kB / 395.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.005796, allocations: 23.69 kB / 395.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005798, allocations: 0 / 395.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.366e-05/0.005862, allocations: 53.58 kB / 395.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.005874, allocations: 8 kB / 395.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005878, allocations: 0 / 395.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.005893, allocations: 0 / 395.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.005959, allocations: 7.984 kB / 395.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.005965, allocations: 3.938 kB / 395.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.005992, allocations: 7.938 kB / 395.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.005997, allocations: 0 / 395.7 MB, free: 14.35 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 6.421e-05/0.006061, allocations: 156.6 kB / 395.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.006075, allocations: 19.89 kB / 395.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.006178, allocations: 59.03 kB / 395.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.00618, allocations: 0 / 395.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.006183, allocations: 3.938 kB / 395.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006186, allocations: 0 / 395.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.834e-05/0.006264, allocations: 144.6 kB / 396 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006265, allocations: 0 / 396 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.006291, allocations: 11.98 kB / 396 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006293, allocations: 4 kB / 396 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.006298, allocations: 4 kB / 396 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006298, allocations: 0 / 396 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.0063, allocations: 3.984 kB / 396.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.204e-05/0.006362, allocations: 92.27 kB / 396.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.00638, allocations: 11.91 kB / 396.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.00639, allocations: 4 kB / 396.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.006411, allocations: 3.984 kB / 396.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.006424, allocations: 4 kB / 396.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.006426, allocations: 3.938 kB / 396.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.0065, allocations: 180.2 kB / 396.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0065, allocations: 0 / 396.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.006634, allocations: 12 kB / 396.4 MB, free: 13.57 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 6.01e-05/0.006694, allocations: 91.25 kB / 396.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.42e-05/0.006768, allocations: 27.61 kB / 396.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.00677, allocations: 0 / 396.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/0.00678, allocations: 11.69 kB / 396.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.006892, allocations: 8 kB / 396.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.007141, allocations: 190.2 kB / 396.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.00718, allocations: 79.2 kB / 396.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.325e-05/0.007213, allocations: 19.72 kB / 396.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.00724, allocations: 12.5 kB / 396.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007241, allocations: 0 / 396.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of Templates: time 0.002033/0.009274, allocations: 0.6232 MB / 397.4 MB, free: 12.45 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: 3.2851008186116815]