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.001844/0.001844, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.468/1.468, allocations: 177.2 MB / 200.1 MB, free: 8.344 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.001758/0.001758, allocations: 167.9 kB / 256.6 MB, free: 4.281 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.03898/0.03898, allocations: 6.657 MB / 319.6 MB, free: 5.359 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003724/0.003724, allocations: 83.88 kB / 446.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1642, allocations: 55.58 MB / 0.4902 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002879/0.167, allocations: 1.216 MB / 0.4914 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002355/0.1673, allocations: 53.92 kB / 0.4915 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.1673, allocations: 0 / 0.4915 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.1674, allocations: 7.938 kB / 0.4915 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1675, allocations: 11.92 kB / 0.4915 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.224e-05/0.1676, allocations: 0 / 0.4915 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.1676, allocations: 15.88 kB / 0.4915 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.1677, allocations: 11.98 kB / 0.4915 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.1677, allocations: 7.984 kB / 0.4915 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.1678, allocations: 7.938 kB / 0.4915 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1678, allocations: 0 / 0.4915 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.1678, allocations: 0 / 0.4915 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1678, allocations: 0 / 0.4915 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.1678, allocations: 11.98 kB / 0.4915 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 7.472e-05/0.1679, allocations: 7.938 kB / 0.4915 GB, free: 1.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1679, allocations: 0 / 0.4915 GB, free: 1.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1679, allocations: 0 / 0.4915 GB, free: 1.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1679, allocations: 0 / 0.4915 GB, free: 1.367 MB / 414.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.0004624/0.1684, allocations: 254.4 kB / 0.4918 GB, free: 1.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1684, allocations: 15.98 kB / 0.4918 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.1685, allocations: 0.9375 kB / 0.4918 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1686, allocations: 114.5 kB / 0.4919 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1686, allocations: 384 / 0.4919 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1687, allocations: 8.297 kB / 0.4919 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.1688, allocations: 47.92 kB / 0.492 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1688, allocations: 192 / 0.492 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1688, allocations: 3.938 kB / 0.492 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1688, allocations: 4 kB / 0.492 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.1688, allocations: 4 kB / 0.492 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.1691, allocations: 114.2 kB / 0.4921 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.364e-05/0.1691, allocations: 41.12 kB / 0.4921 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.1692, allocations: 17.83 kB / 0.4921 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.1692, allocations: 0 / 0.4921 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1692, allocations: 34.5 kB / 0.4922 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1692, allocations: 0 / 0.4922 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001487/0.1693, allocations: 53.58 kB / 0.4922 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.1694, allocations: 81.05 kB / 0.4923 GB, free: 440 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.1695, allocations: 110 kB / 0.4924 GB, free: 320 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1695, allocations: 25.7 kB / 0.4924 GB, free: 288 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.1696, allocations: 80.14 kB / 0.4925 GB, free: 204 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.1696, allocations: 11.88 kB / 0.4925 GB, free: 192 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1696, allocations: 17.72 kB / 0.4925 GB, free: 168 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1698, allocations: 314.8 kB / 0.4928 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.1698, allocations: 4 kB / 0.4928 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.1699, allocations: 35.42 kB / 0.4929 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.558e-05/0.1699, allocations: 39.38 kB / 0.4929 GB, free: 15.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1699, allocations: 0 / 0.4929 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.25e-05/0.17, allocations: 61.62 kB / 0.493 GB, free: 15.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.17, allocations: 4 kB / 0.493 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.17, allocations: 0 / 0.493 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1701, allocations: 7.938 kB / 0.493 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.892e-05/0.1701, allocations: 7.938 kB / 0.493 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1701, allocations: 4 kB / 0.493 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.1701, allocations: 4.078 kB / 0.493 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1701, allocations: 8 kB / 0.493 GB, free: 15.64 MB / 430.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 0.0001358/0.1703, allocations: 105.8 kB / 0.4931 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.1703, allocations: 7.984 kB / 0.4931 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.909e-05/0.1703, allocations: 7.156 kB / 0.4931 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1703, allocations: 3.938 kB / 0.4931 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1703, allocations: 0 / 0.4931 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1703, allocations: 0 / 0.4931 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.1705, allocations: 105.3 kB / 0.4932 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1705, allocations: 0 / 0.4932 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.1705, allocations: 4 kB / 0.4932 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1705, allocations: 8 kB / 0.4932 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1705, allocations: 7.938 kB / 0.4932 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1705, allocations: 4 kB / 0.4932 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1705, allocations: 3.938 kB / 0.4932 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1707, allocations: 77.92 kB / 0.4933 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.1707, allocations: 3.953 kB / 0.4933 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1707, allocations: 4.031 kB / 0.4933 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.1707, allocations: 288 / 0.4933 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.1707, allocations: 7.922 kB / 0.4933 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.1707, allocations: 3.938 kB / 0.4933 GB, free: 15.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.553e-05/0.1708, allocations: 91.36 kB / 0.4934 GB, free: 15.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1708, allocations: 0 / 0.4934 GB, free: 15.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001786/0.171, allocations: 4 kB / 0.4934 GB, free: 15.14 MB / 430.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 0.0001047/0.1711, allocations: 91.25 kB / 0.4935 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.1712, allocations: 23.92 kB / 0.4935 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1712, allocations: 0 / 0.4935 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.1712, allocations: 7.938 kB / 0.4936 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1713, allocations: 8.375 kB / 0.4936 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.1716, allocations: 135.5 kB / 0.4937 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.664e-05/0.1717, allocations: 63.34 kB / 0.4937 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.983e-05/0.1717, allocations: 0 / 0.4937 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1717, allocations: 12.5 kB / 0.4938 GB, free: 14.75 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1717, allocations: 0 / 0.4938 GB, free: 14.75 MB / 430.1 MB Notification: Performance of Templates: time 0.002619/0.1743, allocations: 313.2 kB / 0.4941 GB, free: 14.45 MB / 430.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.999290516017936] Failed to read output from testmodel.py, exit status != 0: 0.18502908502705395 0.19826147800000002 0.027017464 Calling exit ...