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.001316/0.001316, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.8793/0.8793, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001134/0.001134, allocations: 160.6 kB / 257 MB, free: 12.96 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.02514/0.02514, allocations: 6.653 MB / 266.9 MB, free: 3.215 MB / 250.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.262e-06/1.262e-06, allocations: 0 / 285.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.307e-05, allocations: 2.312 kB / 285.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.1038/0.1038, allocations: 1.235 MB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001922/0.104, allocations: 57.42 kB / 286.9 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.104, allocations: 1.688 kB / 286.9 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.957e-05/0.1041, allocations: 5.531 kB / 286.9 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.992e-05/0.1042, allocations: 6 kB / 286.9 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.075e-05/0.1042, allocations: 11.17 kB / 286.9 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.376e-05/0.1043, allocations: 14.41 kB / 286.9 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.1043, allocations: 3.5 kB / 286.9 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.1043, allocations: 7.297 kB / 287 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.1044, allocations: 6.141 kB / 287 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1044, allocations: 5.156 kB / 287 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.1044, allocations: 0.9688 kB / 287 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.1044, allocations: 5.719 kB / 287 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.311e-05/0.1044, allocations: 2.906 kB / 287 MB, free: 21.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.922e-05/0.1045, allocations: 13.5 kB / 287 MB, free: 21.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1045, allocations: 0.75 kB / 287 MB, free: 21.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1045, allocations: 0 / 287 MB, free: 21.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1045, allocations: 0.6875 kB / 287 MB, free: 21.73 MB / 266.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.0002171/0.1047, allocations: 224.1 kB / 287.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1048, allocations: 9.281 kB / 287.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.1048, allocations: 8 kB / 287.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.566e-05/0.1048, allocations: 112.3 kB / 287.3 MB, free: 21.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1048, allocations: 1.781 kB / 287.3 MB, free: 21.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.1049, allocations: 2.312 kB / 287.3 MB, free: 21.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.81e-05/0.1049, allocations: 45.42 kB / 287.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1049, allocations: 1.609 kB / 287.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.1049, allocations: 5.906 kB / 287.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1049, allocations: 384 / 287.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.113e-05/0.1049, allocations: 10.91 kB / 287.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.1051, allocations: 66.14 kB / 287.5 MB, free: 21.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.954e-05/0.1051, allocations: 37.05 kB / 287.5 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.05e-05/0.1051, allocations: 16.34 kB / 287.5 MB, free: 21.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.1051, allocations: 0.9375 kB / 287.5 MB, free: 21.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.1051, allocations: 42.23 kB / 287.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.1052, allocations: 0 / 287.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 8.366e-05/0.1052, allocations: 43.72 kB / 287.6 MB, free: 21.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.1053, allocations: 79.7 kB / 287.7 MB, free: 21.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.784e-05/0.1053, allocations: 106.9 kB / 287.8 MB, free: 20.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-06/0.1053, allocations: 25.7 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-06/0.1053, allocations: 82.03 kB / 287.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.1053, allocations: 14.31 kB / 287.9 MB, free: 20.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.1053, allocations: 14.11 kB / 287.9 MB, free: 20.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.924e-05/0.1054, allocations: 321.9 kB / 288.2 MB, free: 20.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/0.1054, allocations: 2.672 kB / 288.2 MB, free: 20.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.1054, allocations: 26.34 kB / 288.3 MB, free: 20.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.1054, allocations: 38.25 kB / 288.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1054, allocations: 1.062 kB / 288.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.327e-05/0.1055, allocations: 51.67 kB / 288.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1055, allocations: 7.141 kB / 288.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1055, allocations: 1.656 kB / 288.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1055, allocations: 1.062 kB / 288.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.993e-05/0.1055, allocations: 10.95 kB / 288.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.1055, allocations: 1.953 kB / 288.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.1056, allocations: 3.516 kB / 288.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1056, allocations: 1.062 kB / 288.4 MB, free: 20.34 MB / 266.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.874e-05/0.1056, allocations: 120.3 kB / 288.5 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.1056, allocations: 7.203 kB / 288.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.808e-05/0.1056, allocations: 5.484 kB / 288.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1056, allocations: 5.031 kB / 288.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1056, allocations: 1.312 kB / 288.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1056, allocations: 0.5625 kB / 288.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.431e-05/0.1057, allocations: 76.56 kB / 288.6 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.1057, allocations: 0 / 288.6 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.1057, allocations: 3.922 kB / 288.6 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1057, allocations: 2.219 kB / 288.6 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1057, allocations: 5.906 kB / 288.6 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1057, allocations: 0 / 288.6 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1057, allocations: 1.031 kB / 288.6 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.668e-05/0.1058, allocations: 75.83 kB / 288.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.1058, allocations: 7.125 kB / 288.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.1058, allocations: 2.094 kB / 288.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.1058, allocations: 1.062 kB / 288.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.1058, allocations: 2.531 kB / 288.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1058, allocations: 2.172 kB / 288.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.345e-05/0.1058, allocations: 14.08 kB / 288.7 MB, free: 20.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1058, allocations: 0.5 kB / 288.7 MB, free: 20.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.745e-05/0.1059, allocations: 6.125 kB / 288.7 MB, free: 20.04 MB / 266.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 5.901e-05/0.106, allocations: 73.22 kB / 288.8 MB, free: 19.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.839e-05/0.106, allocations: 21.81 kB / 288.8 MB, free: 19.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.106, allocations: 1.375 kB / 288.8 MB, free: 19.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/0.106, allocations: 12.61 kB / 288.8 MB, free: 19.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.249e-05/0.1061, allocations: 6.094 kB / 288.8 MB, free: 19.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.1063, allocations: 132.9 kB / 289 MB, free: 19.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.516e-05/0.1063, allocations: 60.83 kB / 289 MB, free: 19.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.939e-05/0.1063, allocations: 3.062 kB / 289 MB, free: 19.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.1063, allocations: 49.81 kB / 289.1 MB, free: 19.7 MB / 266.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1063, allocations: 0 / 289.1 MB, free: 19.7 MB / 266.7 MB Notification: Performance of Templates: time 0.001687/0.108, allocations: 367 kB / 289.4 MB, free: 19.68 MB / 266.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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.476493540685624]