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.00133/0.00133, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.52/1.52, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001529/0.001529, allocations: 221 kB / 310 MB, free: 3.109 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.04301/0.04301, allocations: 8.924 MB / 375.3 MB, free: 6.578 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.002702/0.002702, allocations: 84.3 kB / 0.4903 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09518, allocations: 55.61 MB / 0.5446 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.003183/0.09836, allocations: 1.212 MB / 0.5458 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002615/0.09863, allocations: 53.91 kB / 0.5459 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.09867, allocations: 0 / 0.5459 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.09877, allocations: 7.938 kB / 0.5459 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.09891, allocations: 11.92 kB / 0.5459 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.464e-05/0.09894, allocations: 4 kB / 0.5459 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.09902, allocations: 19.88 kB / 0.5459 GB, free: 3.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.09907, allocations: 0 / 0.5459 GB, free: 3.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.09911, allocations: 15.91 kB / 0.5459 GB, free: 3.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.09916, allocations: 4 kB / 0.5459 GB, free: 3.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.09918, allocations: 4 kB / 0.5459 GB, free: 3.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-06/0.09919, allocations: 0 / 0.5459 GB, free: 3.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.0992, allocations: 0 / 0.5459 GB, free: 3.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.09923, allocations: 11.94 kB / 0.546 GB, free: 3.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.801e-05/0.09931, allocations: 11.92 kB / 0.546 GB, free: 3.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.09931, allocations: 4 kB / 0.546 GB, free: 3.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09931, allocations: 4 kB / 0.546 GB, free: 3.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.09932, allocations: 0 / 0.546 GB, free: 3.18 MB / 366.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.0004034/0.09973, allocations: 250.3 kB / 0.5462 GB, free: 2.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.09977, allocations: 11.98 kB / 0.5462 GB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.0998, allocations: 0.9375 kB / 0.5462 GB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.09994, allocations: 114.5 kB / 0.5463 GB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.09995, allocations: 4.359 kB / 0.5463 GB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.09998, allocations: 8.359 kB / 0.5464 GB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.1001, allocations: 43.92 kB / 0.5464 GB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1001, allocations: 192 / 0.5464 GB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1001, allocations: 11.94 kB / 0.5464 GB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1001, allocations: 0 / 0.5464 GB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.1001, allocations: 4 kB / 0.5464 GB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.1004, allocations: 114.2 kB / 0.5465 GB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.236e-05/0.1005, allocations: 37.16 kB / 0.5466 GB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.1005, allocations: 9.719 kB / 0.5466 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1005, allocations: 0 / 0.5466 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1006, allocations: 42.61 kB / 0.5466 GB, free: 2.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1006, allocations: 3.938 kB / 0.5466 GB, free: 2.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.1007, allocations: 49.59 kB / 0.5467 GB, free: 2.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.1008, allocations: 81.05 kB / 0.5467 GB, free: 2.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.1009, allocations: 101.8 kB / 0.5468 GB, free: 2.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1009, allocations: 25.7 kB / 0.5469 GB, free: 2.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.1009, allocations: 88.14 kB / 0.5469 GB, free: 2.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.101, allocations: 3.953 kB / 0.5469 GB, free: 2.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.101, allocations: 21.7 kB / 0.547 GB, free: 1.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1011, allocations: 310.8 kB / 0.5473 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.1012, allocations: 4 kB / 0.5473 GB, free: 1.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.1012, allocations: 27.44 kB / 0.5473 GB, free: 1.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/0.1013, allocations: 51.61 kB / 0.5473 GB, free: 1.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1013, allocations: 0 / 0.5473 GB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.054e-05/0.1013, allocations: 49.64 kB / 0.5474 GB, free: 1.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1014, allocations: 11.94 kB / 0.5474 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1014, allocations: 3.984 kB / 0.5474 GB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1014, allocations: 3.938 kB / 0.5474 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.1014, allocations: 16.06 kB / 0.5474 GB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1014, allocations: 0 / 0.5474 GB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.1015, allocations: 4 kB / 0.5474 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1015, allocations: 3.938 kB / 0.5474 GB, free: 1.473 MB / 366.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 8.544e-05/0.1016, allocations: 117.8 kB / 0.5475 GB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.1016, allocations: 3.953 kB / 0.5475 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.483e-05/0.1016, allocations: 3.156 kB / 0.5475 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1016, allocations: 11.92 kB / 0.5476 GB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1016, allocations: 0 / 0.5476 GB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1016, allocations: 0 / 0.5476 GB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1018, allocations: 109.3 kB / 0.5477 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1018, allocations: 0 / 0.5477 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.1018, allocations: 7.984 kB / 0.5477 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1018, allocations: 0 / 0.5477 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1018, allocations: 4 kB / 0.5477 GB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1018, allocations: 4 kB / 0.5477 GB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1018, allocations: 3.938 kB / 0.5477 GB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1019, allocations: 77.92 kB / 0.5478 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.1019, allocations: 4.312 kB / 0.5478 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.102, allocations: 0 / 0.5478 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.102, allocations: 4.094 kB / 0.5478 GB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.102, allocations: 11.92 kB / 0.5478 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.102, allocations: 0 / 0.5478 GB, free: 1.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.176e-05/0.102, allocations: 87.27 kB / 0.5479 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.102, allocations: 0 / 0.5479 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001818/0.1022, allocations: 4 kB / 0.5479 GB, free: 0.9688 MB / 366.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 8.947e-05/0.1023, allocations: 91.25 kB / 0.5479 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.1024, allocations: 15.94 kB / 0.548 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1024, allocations: 8.25 kB / 0.548 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-05/0.1024, allocations: 7.922 kB / 0.548 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1026, allocations: 8.266 kB / 0.548 GB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.1029, allocations: 161.4 kB / 0.5481 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.21e-05/0.1029, allocations: 63.34 kB / 0.5482 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.1029, allocations: 7.438 kB / 0.5482 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1029, allocations: 0 / 0.5482 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of Templates: time 0.002006/0.1049, allocations: 0.5353 MB / 0.5487 GB, free: 12 kB / 366.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.037157421000302] Failed to read output from testmodel.py, exit status != 0: 0.1124915205873549 0.127833619 0.025450886000000002 Calling exit ...