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.0006992/0.0006992, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009131/0.001612, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9676/0.9676, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1707/1.138, allocations: 53.64 MB / 241.9 MB, free: 2.719 MB / 234.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.001252/0.001252, allocations: 150.9 kB / 242.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001685/0.002937, allocations: 482.1 kB / 243.2 MB, free: 1.398 MB / 234.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.03191/0.03191, allocations: 6.652 MB / 250.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004857/0.03677, allocations: 2.669 MB / 253.3 MB, free: 7.535 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 2.354e-06/2.354e-06, allocations: 0 / 254.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.705e-05, allocations: 2.312 kB / 254.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002637/0.002664, allocations: 1.29 MB / 255.8 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001406/0.002804, allocations: 51.73 kB / 255.9 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.002836, allocations: 4 kB / 255.9 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.002882, allocations: 4 kB / 255.9 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.002946, allocations: 15.81 kB / 255.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.754e-05/0.002974, allocations: 7.969 kB / 255.9 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.003037, allocations: 15.94 kB / 255.9 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.003079, allocations: 0 / 255.9 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.629e-05/0.003155, allocations: 15.98 kB / 255.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.003214, allocations: 7.938 kB / 255.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.003234, allocations: 0 / 255.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.003242, allocations: 0 / 255.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.003256, allocations: 4 kB / 256 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.003276, allocations: 0 / 256 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.527e-05/0.003352, allocations: 15.92 kB / 256 MB, free: 4.844 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.003368, allocations: 0 / 256 MB, free: 4.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.00337, allocations: 0 / 256 MB, free: 4.844 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.003386, allocations: 4 kB / 256 MB, free: 4.84 MB / 250.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.0003787/0.003765, allocations: 220.7 kB / 256.2 MB, free: 4.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.003802, allocations: 12.03 kB / 256.2 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.003833, allocations: 0.9375 kB / 256.2 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.003943, allocations: 113.7 kB / 256.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.003955, allocations: 384 / 256.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.003973, allocations: 4.359 kB / 256.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.452e-05/0.004058, allocations: 47.98 kB / 256.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.004065, allocations: 192 / 256.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.004072, allocations: 4.375 kB / 256.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.004079, allocations: 4.359 kB / 256.4 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.004098, allocations: 7.875 kB / 256.4 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.004315, allocations: 69.92 kB / 256.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.437e-05/0.004369, allocations: 33.19 kB / 256.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.004389, allocations: 21.83 kB / 256.5 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.004397, allocations: 3.938 kB / 256.5 MB, free: 4.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.004422, allocations: 38.56 kB / 256.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.004423, allocations: 0 / 256.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001241/0.004547, allocations: 41.62 kB / 256.6 MB, free: 4.109 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.004594, allocations: 81.11 kB / 256.7 MB, free: 4.012 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.004667, allocations: 102.7 kB / 256.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.004678, allocations: 25.7 kB / 256.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.004704, allocations: 84.14 kB / 256.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.004745, allocations: 15.88 kB / 256.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.004785, allocations: 13.72 kB / 256.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.004896, allocations: 318.8 kB / 257.2 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.004907, allocations: 8.25 kB / 257.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.004935, allocations: 23.44 kB / 257.2 MB, free: 3.383 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.602e-05/0.004991, allocations: 47.34 kB / 257.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.004993, allocations: 0 / 257.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.666e-05/0.00508, allocations: 49.56 kB / 257.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.005096, allocations: 11.94 kB / 257.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.005102, allocations: 4.125 kB / 257.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.005115, allocations: 0 / 257.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.005164, allocations: 8 kB / 257.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.005168, allocations: 0 / 257.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.005201, allocations: 4 kB / 257.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.005206, allocations: 0 / 257.4 MB, free: 3.242 MB / 250.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 6.515e-05/0.005271, allocations: 117.8 kB / 257.5 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.005281, allocations: 3.984 kB / 257.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.005303, allocations: 3.156 kB / 257.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.005305, allocations: 4 kB / 257.5 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.005307, allocations: 4 kB / 257.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.005311, allocations: 3.938 kB / 257.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.00543, allocations: 77.78 kB / 257.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.005432, allocations: 0 / 257.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.005462, allocations: 4 kB / 257.6 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.005467, allocations: 0 / 257.6 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.005471, allocations: 4 kB / 257.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.005481, allocations: 0 / 257.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.005482, allocations: 0 / 257.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.005483, allocations: 0 / 257.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.005594, allocations: 81.91 kB / 257.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.005607, allocations: 4 kB / 257.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.005627, allocations: 0 / 257.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.005642, allocations: 7.922 kB / 257.7 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.005645, allocations: 0 / 257.7 MB, free: 2.883 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.636e-05/0.005661, allocations: 9.141 kB / 257.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005661, allocations: 0 / 257.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.005825, allocations: 4 kB / 257.7 MB, free: 2.867 MB / 250.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 8.102e-05/0.005906, allocations: 72.42 kB / 257.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.594e-05/0.005982, allocations: 36.84 kB / 257.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.005986, allocations: 0 / 257.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.005997, allocations: 8.859 kB / 257.8 MB, free: 2.738 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.684e-05/0.006084, allocations: 7.938 kB / 257.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.006491, allocations: 125.3 kB / 257.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.006525, allocations: 59.3 kB / 258 MB, free: 2.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.384e-05/0.006549, allocations: 0 / 258 MB, free: 2.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.006586, allocations: 51.75 kB / 258 MB, free: 2.449 MB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.006586, allocations: 7.938 kB / 258 MB, free: 2.441 MB / 250.7 MB Notification: Performance of Templates: time 0.002072/0.008658, allocations: 368.7 kB / 258.4 MB, free: 2.086 MB / 250.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.538193535991013]