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.00138/0.00138, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.547/1.547, allocations: 230.6 MB / 252.7 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.00251/0.00251, allocations: 217.2 kB / 309.2 MB, free: 3.152 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.04416/0.04416, allocations: 8.924 MB / 374.6 MB, free: 6.602 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.002743/0.002743, allocations: 83.88 kB / 0.4896 GB, free: 44.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.0993, allocations: 55.6 MB / 0.5439 GB, free: 4.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002713/0.102, allocations: 1.227 MB / 0.5451 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002692/0.1023, allocations: 49.94 kB / 0.5451 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.1023, allocations: 0 / 0.5451 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.607e-05/0.1024, allocations: 4 kB / 0.5452 GB, free: 3.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1026, allocations: 15.91 kB / 0.5452 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.208e-05/0.1026, allocations: 4 kB / 0.5452 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.1027, allocations: 11.94 kB / 0.5452 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.1027, allocations: 3.984 kB / 0.5452 GB, free: 3.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.1027, allocations: 8 kB / 0.5452 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.1028, allocations: 7.938 kB / 0.5452 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1028, allocations: 0 / 0.5452 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.1028, allocations: 0 / 0.5452 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.1028, allocations: 3.984 kB / 0.5452 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.1029, allocations: 11.94 kB / 0.5452 GB, free: 3.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.947e-05/0.1029, allocations: 19.92 kB / 0.5452 GB, free: 3.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.103, allocations: 0 / 0.5452 GB, free: 3.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.103, allocations: 0 / 0.5452 GB, free: 3.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.103, allocations: 0 / 0.5452 GB, free: 3.211 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.0004346/0.1034, allocations: 246.4 kB / 0.5455 GB, free: 2.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1034, allocations: 15.98 kB / 0.5455 GB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.1035, allocations: 4.938 kB / 0.5455 GB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1036, allocations: 114.5 kB / 0.5456 GB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1036, allocations: 384 / 0.5456 GB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.1037, allocations: 4.312 kB / 0.5456 GB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1038, allocations: 47.98 kB / 0.5456 GB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1038, allocations: 192 / 0.5456 GB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1038, allocations: 3.938 kB / 0.5457 GB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1038, allocations: 4 kB / 0.5457 GB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.1038, allocations: 3.938 kB / 0.5457 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.1041, allocations: 114.2 kB / 0.5458 GB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.609e-05/0.1042, allocations: 33.19 kB / 0.5458 GB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.1042, allocations: 21.83 kB / 0.5458 GB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.1042, allocations: 7.922 kB / 0.5458 GB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1043, allocations: 34.5 kB / 0.5459 GB, free: 2.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1043, allocations: 4 kB / 0.5459 GB, free: 2.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001681/0.1044, allocations: 49.53 kB / 0.5459 GB, free: 2.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.1045, allocations: 85.09 kB / 0.546 GB, free: 2.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1046, allocations: 97.86 kB / 0.5461 GB, free: 2.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1046, allocations: 29.7 kB / 0.5461 GB, free: 2.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.1047, allocations: 80.14 kB / 0.5462 GB, free: 2.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1047, allocations: 7.938 kB / 0.5462 GB, free: 2.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1047, allocations: 17.72 kB / 0.5462 GB, free: 2.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1049, allocations: 314.8 kB / 0.5465 GB, free: 1.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.1049, allocations: 4.25 kB / 0.5465 GB, free: 1.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.1049, allocations: 35.42 kB / 0.5466 GB, free: 1.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.105, allocations: 39.38 kB / 0.5466 GB, free: 1.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.105, allocations: 0 / 0.5466 GB, free: 1.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001014/0.1051, allocations: 61.56 kB / 0.5467 GB, free: 1.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1051, allocations: 4 kB / 0.5467 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1051, allocations: 128 / 0.5467 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1051, allocations: 11.94 kB / 0.5467 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.975e-05/0.1052, allocations: 4 kB / 0.5467 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1052, allocations: 4 kB / 0.5467 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.1052, allocations: 8 kB / 0.5467 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1052, allocations: 4 kB / 0.5467 GB, free: 1.5 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.151e-05/0.1053, allocations: 109.8 kB / 0.5468 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.1053, allocations: 7.953 kB / 0.5468 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.1053, allocations: 15.09 kB / 0.5468 GB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1053, allocations: 3.938 kB / 0.5468 GB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1053, allocations: 3.938 kB / 0.5468 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1053, allocations: 4 kB / 0.5468 GB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1055, allocations: 109.3 kB / 0.5469 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1055, allocations: 0 / 0.5469 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.1055, allocations: 4 kB / 0.5469 GB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1055, allocations: 4 kB / 0.5469 GB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1055, allocations: 3.938 kB / 0.5469 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1055, allocations: 0 / 0.5469 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1055, allocations: 3.938 kB / 0.5469 GB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1057, allocations: 77.98 kB / 0.547 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.1057, allocations: 96 / 0.547 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1057, allocations: 8.031 kB / 0.547 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/0.1057, allocations: 0 / 0.547 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1058, allocations: 7.922 kB / 0.547 GB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1058, allocations: 0 / 0.547 GB, free: 1.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.084e-05/0.1058, allocations: 87.22 kB / 0.5471 GB, free: 1 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1058, allocations: 4 kB / 0.5471 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.106, allocations: 0 / 0.5471 GB, free: 0.9961 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.913e-05/0.1061, allocations: 95.19 kB / 0.5472 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1062, allocations: 23.98 kB / 0.5472 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1062, allocations: 0 / 0.5472 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.549e-05/0.1062, allocations: 7.938 kB / 0.5472 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1064, allocations: 2.391 kB / 0.5472 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.1067, allocations: 135.7 kB / 0.5474 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.503e-05/0.1067, allocations: 63.34 kB / 0.5474 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.181e-05/0.1068, allocations: 0 / 0.5474 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.1068, allocations: 11.81 kB / 0.5474 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1068, allocations: 4 kB / 0.5474 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of Templates: time 0.002756/0.1095, allocations: 316.5 kB / 0.5478 GB, free: 296 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: 4.879634415730834] Failed to read output from testmodel.py, exit status != 0: 0.11756698042154312 0.13447040799999996 0.02824981699999994 Calling exit ...