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.0008213/0.0008213, allocations: 80.48 kB / 19.93 MB, free: 4.633 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 0.872/0.872, allocations: 177.1 MB / 200.2 MB, free: 5.934 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.00102/0.00102, allocations: 164.6 kB / 256.7 MB, free: 13.34 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.0215/0.0215, allocations: 6.663 MB / 319.8 MB, free: 26.78 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.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.333e-06/1.333e-06, allocations: 0 / 446.6 MB, free: 37.17 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.474e-05, allocations: 6.281 kB / 446.6 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001139/0.001154, allocations: 1.216 MB / 447.8 MB, free: 35.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.001313, allocations: 52.14 kB / 447.9 MB, free: 35.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.001347, allocations: 3.938 kB / 447.9 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 7.686e-05/0.001424, allocations: 19.92 kB / 447.9 MB, free: 35.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.001535, allocations: 4 kB / 447.9 MB, free: 35.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.228e-05/0.001557, allocations: 0 / 447.9 MB, free: 35.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.001612, allocations: 19.92 kB / 447.9 MB, free: 35.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.001648, allocations: 0 / 447.9 MB, free: 35.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.001684, allocations: 7.984 kB / 448 MB, free: 35.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.001727, allocations: 11.92 kB / 448 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.001747, allocations: 3.938 kB / 448 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.001754, allocations: 0 / 448 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.001767, allocations: 0 / 448 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.001783, allocations: 15.94 kB / 448 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.713e-05/0.00184, allocations: 7.984 kB / 448 MB, free: 35.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.001842, allocations: 0 / 448 MB, free: 35.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.001843, allocations: 0 / 448 MB, free: 35.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.001847, allocations: 0 / 448 MB, free: 35.79 MB / 330.7 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.000247/0.002094, allocations: 249.3 kB / 448.2 MB, free: 35.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.002125, allocations: 8.031 kB / 448.2 MB, free: 35.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.002151, allocations: 8.891 kB / 448.3 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.002219, allocations: 113.7 kB / 448.4 MB, free: 35.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.002229, allocations: 4.359 kB / 448.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.002247, allocations: 4.375 kB / 448.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.51e-05/0.002312, allocations: 47.97 kB / 448.4 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.002319, allocations: 192 / 448.4 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.002326, allocations: 384 / 448.4 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.00233, allocations: 384 / 448.4 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.002345, allocations: 11.88 kB / 448.4 MB, free: 35.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.00253, allocations: 118.2 kB / 448.5 MB, free: 35.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.408e-05/0.002564, allocations: 41.12 kB / 448.6 MB, free: 35.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.002577, allocations: 9.844 kB / 448.6 MB, free: 35.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.002586, allocations: 4 kB / 448.6 MB, free: 35.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.027e-06/0.002595, allocations: 34.56 kB / 448.6 MB, free: 35.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.002595, allocations: 0 / 448.6 MB, free: 35.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001079/0.002703, allocations: 49.62 kB / 448.7 MB, free: 34.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.002724, allocations: 77.11 kB / 448.8 MB, free: 34.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.455e-05/0.002769, allocations: 109.8 kB / 448.9 MB, free: 34.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-06/0.002773, allocations: 25.7 kB / 448.9 MB, free: 34.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.214e-05/0.002785, allocations: 80.14 kB / 449 MB, free: 34.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.002804, allocations: 7.906 kB / 449 MB, free: 34.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.002823, allocations: 17.72 kB / 449 MB, free: 34.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.461e-05/0.002847, allocations: 319.1 kB / 449.3 MB, free: 34.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.002858, allocations: 8 kB / 449.3 MB, free: 34.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.002873, allocations: 35.38 kB / 449.3 MB, free: 34.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.002902, allocations: 31.44 kB / 449.4 MB, free: 34.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.002904, allocations: 0 / 449.4 MB, free: 34.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.172e-05/0.002946, allocations: 65.56 kB / 449.4 MB, free: 34.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.002956, allocations: 4.125 kB / 449.4 MB, free: 34.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.002961, allocations: 8 kB / 449.5 MB, free: 34.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.002972, allocations: 4 kB / 449.5 MB, free: 34.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.473e-05/0.002997, allocations: 7.984 kB / 449.5 MB, free: 34.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.003002, allocations: 7.984 kB / 449.5 MB, free: 34.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.003021, allocations: 3.938 kB / 449.5 MB, free: 34.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.003026, allocations: 0 / 449.5 MB, free: 34.09 MB / 330.7 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 2.724e-05/0.003053, allocations: 117.7 kB / 449.6 MB, free: 33.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-06/0.003057, allocations: 3.953 kB / 449.6 MB, free: 33.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.003071, allocations: 15.09 kB / 449.6 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.003073, allocations: 0 / 449.6 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.003076, allocations: 4 kB / 449.6 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.003079, allocations: 3.938 kB / 449.6 MB, free: 33.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.766e-05/0.003136, allocations: 105.3 kB / 449.7 MB, free: 33.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.003137, allocations: 0 / 449.7 MB, free: 33.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.003154, allocations: 8 kB / 449.7 MB, free: 33.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.003155, allocations: 0 / 449.7 MB, free: 33.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.003161, allocations: 4 kB / 449.7 MB, free: 33.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.003162, allocations: 3.984 kB / 449.7 MB, free: 33.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.003163, allocations: 0 / 449.7 MB, free: 33.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.86e-05/0.003231, allocations: 77.92 kB / 449.8 MB, free: 33.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.003236, allocations: 8.312 kB / 449.8 MB, free: 33.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.003244, allocations: 0 / 449.8 MB, free: 33.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.003255, allocations: 4.031 kB / 449.8 MB, free: 33.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.003266, allocations: 3.984 kB / 449.8 MB, free: 33.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.003268, allocations: 0 / 449.8 MB, free: 33.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.547e-05/0.003283, allocations: 91.2 kB / 449.9 MB, free: 33.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003283, allocations: 0 / 449.9 MB, free: 33.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.003401, allocations: 4 kB / 449.9 MB, free: 33.58 MB / 330.7 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 4.917e-05/0.003451, allocations: 95.19 kB / 450 MB, free: 33.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.09e-05/0.003512, allocations: 23.94 kB / 450 MB, free: 33.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.003513, allocations: 0 / 450 MB, free: 33.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/0.003519, allocations: 4 kB / 450 MB, free: 33.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.003623, allocations: 2.5 kB / 450 MB, free: 33.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.003809, allocations: 159.3 kB / 450.2 MB, free: 33.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.305e-05/0.003832, allocations: 63.34 kB / 450.3 MB, free: 33.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.003849, allocations: 8.875 kB / 450.3 MB, free: 33.17 MB / 330.7 MB Notification: Performance of SimCode: time 3.5e-07/0.00385, allocations: 4 kB / 450.3 MB, free: 33.16 MB / 330.7 MB Notification: Performance of Templates: time 0.00116/0.00501, allocations: 0.5391 MB / 450.8 MB, free: 32.62 MB / 330.7 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.0704109482467175] Failed to read output from testmodel.py, exit status != 0: 0.008637933060526848 0.013834037 0.010820412000000001 Calling exit ...