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.001353/0.001353, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.463/1.463, allocations: 230.6 MB / 253.4 MB, free: 8.289 MB / 206.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.00199/0.00199, allocations: 218.9 kB / 310 MB, free: 3.145 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.04121/0.04121, allocations: 8.925 MB / 375.3 MB, free: 1.898 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.002829/0.002829, allocations: 79.88 kB / 0.4904 GB, free: 6.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2831, allocations: 55.61 MB / 0.5447 GB, free: 27.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001959/0.2851, allocations: 1.214 MB / 0.5459 GB, free: 26.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001919/0.2853, allocations: 58.34 kB / 0.546 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.2853, allocations: 4 kB / 0.546 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.631e-05/0.2854, allocations: 10.25 kB / 0.546 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2855, allocations: 7.938 kB / 0.546 GB, free: 26.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.754e-05/0.2855, allocations: 7.172 kB / 0.546 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.2856, allocations: 10.09 kB / 0.546 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.2856, allocations: 14.39 kB / 0.546 GB, free: 26.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.2856, allocations: 3.219 kB / 0.546 GB, free: 26.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.2857, allocations: 7.125 kB / 0.546 GB, free: 26.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2857, allocations: 0 / 0.546 GB, free: 26.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.2857, allocations: 0 / 0.546 GB, free: 26.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.2857, allocations: 7.188 kB / 0.546 GB, free: 26.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.2857, allocations: 11.36 kB / 0.546 GB, free: 26.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.731e-05/0.2858, allocations: 11.3 kB / 0.546 GB, free: 26.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2858, allocations: 3.156 kB / 0.5461 GB, free: 26.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2858, allocations: 0 / 0.5461 GB, free: 26.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2858, allocations: 0 / 0.5461 GB, free: 26.11 MB / 382.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.0002872/0.2861, allocations: 254.1 kB / 0.5463 GB, free: 25.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2862, allocations: 9.906 kB / 0.5463 GB, free: 25.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.2862, allocations: 0.9375 kB / 0.5463 GB, free: 25.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.2863, allocations: 105.7 kB / 0.5464 GB, free: 25.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2863, allocations: 11.56 kB / 0.5464 GB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.2863, allocations: 384 / 0.5464 GB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.2864, allocations: 46.72 kB / 0.5465 GB, free: 25.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2864, allocations: 192 / 0.5465 GB, free: 25.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.2864, allocations: 3.938 kB / 0.5465 GB, free: 25.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2864, allocations: 3.031 kB / 0.5465 GB, free: 25.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.539e-05/0.2864, allocations: 3.938 kB / 0.5465 GB, free: 25.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.2866, allocations: 142.3 kB / 0.5466 GB, free: 25.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/0.2867, allocations: 39.53 kB / 0.5466 GB, free: 25.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.2867, allocations: 12.97 kB / 0.5467 GB, free: 25.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.2867, allocations: 3.938 kB / 0.5467 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.2867, allocations: 38.56 kB / 0.5467 GB, free: 25.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2867, allocations: 0 / 0.5467 GB, free: 25.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.2869, allocations: 50.31 kB / 0.5467 GB, free: 25.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2869, allocations: 80.05 kB / 0.5468 GB, free: 25.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.2869, allocations: 103.5 kB / 0.5469 GB, free: 25.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.2869, allocations: 25.7 kB / 0.5469 GB, free: 25.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.879e-05/0.287, allocations: 84.14 kB / 0.547 GB, free: 25.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.287, allocations: 11.58 kB / 0.547 GB, free: 25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.287, allocations: 20.91 kB / 0.5471 GB, free: 24.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.2871, allocations: 314.4 kB / 0.5474 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.2871, allocations: 6.469 kB / 0.5474 GB, free: 24.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.2871, allocations: 37.7 kB / 0.5474 GB, free: 24.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.058e-05/0.2871, allocations: 48.64 kB / 0.5474 GB, free: 24.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2871, allocations: 0 / 0.5474 GB, free: 24.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.625e-05/0.2872, allocations: 53.58 kB / 0.5475 GB, free: 24.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2872, allocations: 9.828 kB / 0.5475 GB, free: 24.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2872, allocations: 3.938 kB / 0.5475 GB, free: 24.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2872, allocations: 3.188 kB / 0.5475 GB, free: 24.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.349e-05/0.2873, allocations: 6.281 kB / 0.5475 GB, free: 24.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2873, allocations: 4.125 kB / 0.5475 GB, free: 24.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.2873, allocations: 0 / 0.5475 GB, free: 24.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2873, allocations: 3.281 kB / 0.5475 GB, free: 24.52 MB / 382.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 4.384e-05/0.2874, allocations: 113.1 kB / 0.5476 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.2874, allocations: 7.891 kB / 0.5476 GB, free: 24.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.2874, allocations: 13.73 kB / 0.5477 GB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2874, allocations: 0 / 0.5477 GB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2874, allocations: 0 / 0.5477 GB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2874, allocations: 0 / 0.5477 GB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.2875, allocations: 133.9 kB / 0.5478 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2875, allocations: 0 / 0.5478 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.2875, allocations: 6.469 kB / 0.5478 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2875, allocations: 0 / 0.5478 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.2875, allocations: 7.031 kB / 0.5478 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2875, allocations: 0 / 0.5478 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2875, allocations: 0 / 0.5478 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/0.2876, allocations: 81.98 kB / 0.5479 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.2876, allocations: 3.156 kB / 0.5479 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2876, allocations: 7.875 kB / 0.5479 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.2877, allocations: 0 / 0.5479 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.2877, allocations: 6.703 kB / 0.5479 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2877, allocations: 0 / 0.5479 GB, free: 24.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.2877, allocations: 82.53 kB / 0.548 GB, free: 24.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2877, allocations: 0 / 0.548 GB, free: 24.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001808/0.2879, allocations: 6.25 kB / 0.548 GB, free: 24.06 MB / 382.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.179e-05/0.2879, allocations: 92.22 kB / 0.5481 GB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.206e-05/0.288, allocations: 23.94 kB / 0.5481 GB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.288, allocations: 0 / 0.5481 GB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.727e-06/0.288, allocations: 3.125 kB / 0.5481 GB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.2882, allocations: 12.7 kB / 0.5481 GB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.2884, allocations: 168.8 kB / 0.5483 GB, free: 23.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.257e-05/0.2885, allocations: 0.6819 MB / 0.5489 GB, free: 23.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.2885, allocations: 7.438 kB / 0.5489 GB, free: 23.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2885, allocations: 3.938 kB / 0.5489 GB, free: 23.07 MB / 382.1 MB Notification: Performance of Templates: time 0.001704/0.2902, allocations: 0.5302 MB / 0.5495 GB, free: 23.03 MB / 382.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: 7.177433456061408] Failed to read output from testmodel.py, exit status != 0: 0.2981269769370556 0.30759579000000004 0.019412310000000002 Calling exit ...