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.001031/0.001031, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002475, allocations: 440 kB / 10.41 MB, free: 284 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 1.073/1.073, allocations: 177.2 MB / 188.4 MB, free: 4.41 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2198/1.293, allocations: 53.65 MB / 242 MB, free: 2.621 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.0008341/0.0008341, allocations: 151.3 kB / 242.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001874, allocations: 476.3 kB / 243.4 MB, free: 1.281 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.02435/0.02435, allocations: 6.661 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004749/0.0291, allocations: 2.66 MB / 253.5 MB, free: 7.414 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.884e-06/1.884e-06, allocations: 0 / 254.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.809e-05, allocations: 10.25 kB / 254.7 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002086/0.002104, allocations: 1.292 MB / 256 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.002231, allocations: 59.72 kB / 256.1 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.002264, allocations: 0 / 256.1 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.002302, allocations: 4 kB / 256.1 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.002358, allocations: 11.88 kB / 256.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.819e-05/0.002386, allocations: 4 kB / 256.1 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.002457, allocations: 15.92 kB / 256.1 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.0025, allocations: 11.92 kB / 256.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.00259, allocations: 15.98 kB / 256.2 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.002651, allocations: 0 / 256.2 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.002675, allocations: 0 / 256.2 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.002683, allocations: 4 kB / 256.2 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.002705, allocations: 0 / 256.2 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.002726, allocations: 7.938 kB / 256.2 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.961e-05/0.002816, allocations: 4 kB / 256.2 MB, free: 4.688 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.002831, allocations: 3.984 kB / 256.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.002832, allocations: 0 / 256.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.002843, allocations: 4 kB / 256.2 MB, free: 4.68 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.0004187/0.003262, allocations: 224.7 kB / 256.4 MB, free: 4.434 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.003304, allocations: 8.031 kB / 256.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.003343, allocations: 4.938 kB / 256.4 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.003461, allocations: 113.7 kB / 256.5 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.003473, allocations: 384 / 256.5 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.003497, allocations: 4.312 kB / 256.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.512e-05/0.003582, allocations: 43.97 kB / 256.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003589, allocations: 192 / 256.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.003597, allocations: 384 / 256.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.003603, allocations: 4.375 kB / 256.6 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.452e-05/0.003618, allocations: 7.938 kB / 256.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.003823, allocations: 73.88 kB / 256.7 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.204e-05/0.003875, allocations: 37.23 kB / 256.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.003897, allocations: 21.66 kB / 256.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.003907, allocations: 0 / 256.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.003934, allocations: 38.56 kB / 256.7 MB, free: 3.996 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.003935, allocations: 0 / 256.7 MB, free: 3.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001286/0.004063, allocations: 41.84 kB / 256.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.004109, allocations: 85.14 kB / 256.9 MB, free: 3.848 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.00419, allocations: 110.7 kB / 257 MB, free: 3.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.004202, allocations: 25.7 kB / 257 MB, free: 3.695 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.004227, allocations: 80.14 kB / 257.1 MB, free: 3.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.00427, allocations: 15.88 kB / 257.1 MB, free: 3.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.004299, allocations: 9.719 kB / 257.1 MB, free: 3.582 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.004401, allocations: 326.8 kB / 257.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.004409, allocations: 0 / 257.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.004434, allocations: 27.42 kB / 257.5 MB, free: 3.215 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.004477, allocations: 35.38 kB / 257.5 MB, free: 3.168 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.00448, allocations: 4 kB / 257.5 MB, free: 3.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.279e-05/0.004553, allocations: 49.56 kB / 257.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.004568, allocations: 4 kB / 257.5 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.004575, allocations: 4 kB / 257.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.00459, allocations: 0 / 257.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/0.004633, allocations: 11.98 kB / 257.6 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.004637, allocations: 4.125 kB / 257.6 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.004665, allocations: 4 kB / 257.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.004673, allocations: 4 kB / 257.6 MB, free: 3.078 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.703e-05/0.00474, allocations: 113.8 kB / 257.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.004749, allocations: 4 kB / 257.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.00477, allocations: 3.156 kB / 257.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.004772, allocations: 0 / 257.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.004774, allocations: 0 / 257.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.004779, allocations: 7.984 kB / 257.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.004891, allocations: 69.8 kB / 257.8 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.004894, allocations: 8 kB / 257.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.004922, allocations: 7.938 kB / 257.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.004934, allocations: 11.98 kB / 257.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.004936, allocations: 0 / 257.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.004946, allocations: 0 / 257.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.004949, allocations: 7.938 kB / 257.8 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00495, allocations: 0 / 257.8 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.005055, allocations: 69.92 kB / 257.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.005068, allocations: 0 / 257.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.597e-05/0.005084, allocations: 0 / 257.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.005099, allocations: 8.062 kB / 257.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.0051, allocations: 0 / 257.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.849e-05/0.005119, allocations: 12.84 kB / 257.9 MB, free: 2.707 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005119, allocations: 3.938 kB / 257.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.005275, allocations: 8 kB / 257.9 MB, free: 2.695 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.249e-05/0.005357, allocations: 72.42 kB / 258 MB, free: 2.617 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.599e-05/0.005433, allocations: 16.84 kB / 258 MB, free: 2.598 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.005439, allocations: 4.375 kB / 258 MB, free: 2.594 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.472e-05/0.005454, allocations: 16.84 kB / 258 MB, free: 2.574 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.005557, allocations: 18.59 kB / 258 MB, free: 2.559 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.005967, allocations: 137.1 kB / 258.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.006005, allocations: 55.34 kB / 258.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.315e-05/0.006028, allocations: 4 kB / 258.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.006078, allocations: 51.38 kB / 258.3 MB, free: 2.266 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006078, allocations: 0 / 258.3 MB, free: 2.266 MB / 250.7 MB Notification: Performance of Templates: time 0.002096/0.008174, allocations: 368.3 kB / 258.6 MB, free: 1.91 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.7268402241170406]