Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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.001277/0.001277, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.363/1.363, allocations: 177.2 MB / 199.4 MB, free: 8.441 MB / 190.1 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.001603/0.001603, allocations: 159.6 kB / 256 MB, free: 4.305 MB / 238.1 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.03836/0.03836, allocations: 6.658 MB / 319 MB, free: 5.367 MB / 302.1 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.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.171e-05, allocations: 12.75 kB / 445.9 MB, free: 25.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.00149/0.001512, allocations: 1.218 MB / 447.1 MB, free: 23.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001669/0.001678, allocations: 59.72 kB / 447.2 MB, free: 23.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.001712, allocations: 0 / 447.2 MB, free: 23.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.956e-05/0.001791, allocations: 4 kB / 447.2 MB, free: 23.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.001896, allocations: 19.86 kB / 447.2 MB, free: 23.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.237e-05/0.001918, allocations: 0 / 447.2 MB, free: 23.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.921e-05/0.001967, allocations: 11.94 kB / 447.2 MB, free: 23.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.751e-05/0.001995, allocations: 3.984 kB / 447.2 MB, free: 23.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.002035, allocations: 8 kB / 447.2 MB, free: 23.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.002075, allocations: 7.984 kB / 447.2 MB, free: 23.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-06/0.002084, allocations: 0 / 447.2 MB, free: 23.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-06/0.00209, allocations: 3.938 kB / 447.2 MB, free: 23.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.002098, allocations: 4 kB / 447.2 MB, free: 23.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.002113, allocations: 3.984 kB / 447.2 MB, free: 23.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.435e-05/0.002158, allocations: 8 kB / 447.2 MB, free: 23.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-06/0.002159, allocations: 4 kB / 447.2 MB, free: 23.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002159, allocations: 0 / 447.2 MB, free: 23.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.164e-06/0.002162, allocations: 0 / 447.2 MB, free: 23.83 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002223/0.002384, allocations: 246.4 kB / 447.5 MB, free: 23.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.002412, allocations: 15.98 kB / 447.5 MB, free: 23.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.002432, allocations: 4.891 kB / 447.5 MB, free: 23.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.021e-05/0.002502, allocations: 113.7 kB / 447.6 MB, free: 23.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.002512, allocations: 384 / 447.6 MB, free: 23.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.002526, allocations: 384 / 447.6 MB, free: 23.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.101e-05/0.002577, allocations: 47.92 kB / 447.7 MB, free: 23.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.002584, allocations: 4.188 kB / 447.7 MB, free: 23.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.00259, allocations: 4.375 kB / 447.7 MB, free: 23.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.002594, allocations: 8.297 kB / 447.7 MB, free: 23.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.205e-05/0.002606, allocations: 3.938 kB / 447.7 MB, free: 23.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.002791, allocations: 110.2 kB / 447.8 MB, free: 23.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.422e-05/0.002826, allocations: 41.11 kB / 447.8 MB, free: 23.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.002841, allocations: 17.84 kB / 447.8 MB, free: 23.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.002851, allocations: 0 / 447.8 MB, free: 23.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.099e-05/0.002862, allocations: 34.5 kB / 447.9 MB, free: 23.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.002863, allocations: 4 kB / 447.9 MB, free: 23.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001008/0.002964, allocations: 45.69 kB / 447.9 MB, free: 23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.002987, allocations: 81.05 kB / 448 MB, free: 22.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.92e-05/0.003026, allocations: 101.8 kB / 448.1 MB, free: 22.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.003032, allocations: 29.7 kB / 448.1 MB, free: 22.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.362e-05/0.003046, allocations: 88.06 kB / 448.2 MB, free: 22.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.003058, allocations: 15.89 kB / 448.2 MB, free: 22.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.003079, allocations: 13.72 kB / 448.2 MB, free: 22.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.00312, allocations: 314.8 kB / 448.6 MB, free: 22.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.003132, allocations: 8 kB / 448.6 MB, free: 22.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.003151, allocations: 31.86 kB / 448.6 MB, free: 22.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.003182, allocations: 39.38 kB / 448.6 MB, free: 22.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.003183, allocations: 4 kB / 448.6 MB, free: 22.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.436e-05/0.003247, allocations: 53.62 kB / 448.7 MB, free: 22.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.844e-06/0.003255, allocations: 6.344 kB / 448.7 MB, free: 22.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-06/0.003257, allocations: 4.094 kB / 448.7 MB, free: 22.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.003265, allocations: 8.109 kB / 448.7 MB, free: 22.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.913e-05/0.003294, allocations: 7.938 kB / 448.7 MB, free: 22.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.003297, allocations: 4 kB / 448.7 MB, free: 22.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.003326, allocations: 7.938 kB / 448.7 MB, free: 22.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-06/0.00333, allocations: 4 kB / 448.7 MB, free: 22.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 3.35e-05/0.003363, allocations: 109.8 kB / 448.8 MB, free: 22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.003373, allocations: 7.953 kB / 448.8 MB, free: 21.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.392e-05/0.003387, allocations: 11.11 kB / 448.9 MB, free: 21.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.003388, allocations: 0 / 448.9 MB, free: 21.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.003393, allocations: 0 / 448.9 MB, free: 21.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.003397, allocations: 11.94 kB / 448.9 MB, free: 21.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.149e-05/0.003488, allocations: 101.3 kB / 449 MB, free: 21.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00349, allocations: 4 kB / 449 MB, free: 21.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.00352, allocations: 3.938 kB / 449 MB, free: 21.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.003522, allocations: 4 kB / 449 MB, free: 21.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.00353, allocations: 0 / 449 MB, free: 21.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.003532, allocations: 4 kB / 449 MB, free: 21.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.003532, allocations: 0 / 449 MB, free: 21.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.836e-05/0.003621, allocations: 85.86 kB / 449.1 MB, free: 21.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.003626, allocations: 0 / 449.1 MB, free: 21.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.003638, allocations: 8.125 kB / 449.1 MB, free: 21.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.003662, allocations: 3.984 kB / 449.1 MB, free: 21.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.003674, allocations: 0 / 449.1 MB, free: 21.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.003677, allocations: 4 kB / 449.1 MB, free: 21.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.612e-05/0.003703, allocations: 83.22 kB / 449.2 MB, free: 21.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.003703, allocations: 0 / 449.2 MB, free: 21.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001929/0.003896, allocations: 8 kB / 449.2 MB, free: 21.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * 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 (2): * Single equations (assignments): 2 * 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 5.466e-05/0.003951, allocations: 91.19 kB / 449.3 MB, free: 21.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.466e-05/0.004016, allocations: 27.98 kB / 449.3 MB, free: 21.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.004017, allocations: 0 / 449.3 MB, free: 21.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.007e-06/0.004026, allocations: 7.938 kB / 449.3 MB, free: 21.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.004172, allocations: 3.938 kB / 449.3 MB, free: 21.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.004417, allocations: 129.7 kB / 449.4 MB, free: 21.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.004452, allocations: 63.34 kB / 449.5 MB, free: 21.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.036e-05/0.004472, allocations: 3.953 kB / 449.5 MB, free: 21.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.004495, allocations: 12.81 kB / 449.5 MB, free: 21.22 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.004496, allocations: 4 kB / 449.5 MB, free: 21.21 MB / 334.1 MB Notification: Performance of Templates: time 0.002864/0.00736, allocations: 325.8 kB / 449.8 MB, free: 20.9 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & ./HanserModelica_HanserModelica.Classes.TestVector2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.244519382715225] Failed to read output from testmodel.py, exit status != 0: 0.014077454805374146 0.031932244000000005 0.026475739 Calling exit ...