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.00109/0.00109, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.116/1.116, allocations: 177.1 MB / 200 MB, free: 5.547 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.002099/0.002099, allocations: 152.6 kB / 256.6 MB, free: 13.01 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.02351/0.02351, allocations: 6.664 MB / 319.8 MB, free: 26.53 MB / 266.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.372e-06/1.372e-06, allocations: 0 / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.968e-05, allocations: 6.25 kB / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001845/0.001875, allocations: 1.251 MB / 392.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002594/0.002134, allocations: 47.73 kB / 392.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.002183, allocations: 3.938 kB / 392.9 MB, free: 1.285 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.002314, allocations: 11.98 kB / 392.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.002517, allocations: 7.938 kB / 392.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.008e-05/0.002567, allocations: 0 / 392.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.675e-05/0.002664, allocations: 19.92 kB / 393 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.002712, allocations: 0 / 393 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.002772, allocations: 11.98 kB / 393 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.002848, allocations: 11.92 kB / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.002874, allocations: 0 / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.002883, allocations: 0 / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.002905, allocations: 4 kB / 393 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.002927, allocations: 4 kB / 393 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.323e-05/0.003011, allocations: 7.984 kB / 393 MB, free: 1.207 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003014, allocations: 0 / 393 MB, free: 1.207 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.003015, allocations: 0 / 393 MB, free: 1.207 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.003022, allocations: 0 / 393 MB, free: 1.207 MB / 314.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.0004743/0.003496, allocations: 356.6 kB / 393.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.003548, allocations: 12.03 kB / 393.4 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.003602, allocations: 4.938 kB / 393.4 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.00372, allocations: 112.6 kB / 393.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.003732, allocations: 384 / 393.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.003759, allocations: 4.312 kB / 393.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.003859, allocations: 57.61 kB / 393.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.003866, allocations: 192 / 393.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.003875, allocations: 384 / 393.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.003883, allocations: 384 / 393.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.437e-05/0.003897, allocations: 7.938 kB / 393.5 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.004156, allocations: 136.3 kB / 393.7 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.001e-05/0.004216, allocations: 50.22 kB / 393.7 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.00424, allocations: 15.38 kB / 393.7 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.004249, allocations: 0 / 393.7 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.004277, allocations: 45.39 kB / 393.8 MB, free: 268 kB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.004278, allocations: 0 / 393.8 MB, free: 268 kB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001395/0.004418, allocations: 45.58 kB / 393.8 MB, free: 216 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.004455, allocations: 81.11 kB / 393.9 MB, free: 116 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/0.004548, allocations: 166.1 kB / 394.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.004559, allocations: 29.7 kB / 394.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.004596, allocations: 130.9 kB / 394.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.004624, allocations: 11.94 kB / 394.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.004653, allocations: 23.38 kB / 394.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.004784, allocations: 496.1 kB / 394.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.004798, allocations: 4 kB / 394.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.004826, allocations: 38.75 kB / 394.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.992e-05/0.004876, allocations: 46.69 kB / 394.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.004878, allocations: 0 / 394.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.232e-05/0.00495, allocations: 61.56 kB / 394.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.004965, allocations: 8 kB / 394.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.004971, allocations: 0 / 394.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.004985, allocations: 0 / 394.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.005025, allocations: 8 kB / 394.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.005031, allocations: 3.984 kB / 394.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.005055, allocations: 7.891 kB / 394.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.005066, allocations: 12.11 kB / 394.9 MB, free: 15 MB / 330.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.947e-05/0.005135, allocations: 152.6 kB / 395.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.005143, allocations: 4 kB / 395.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.005171, allocations: 11.09 kB / 395.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.005174, allocations: 0 / 395.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.005178, allocations: 4 kB / 395.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.005183, allocations: 3.938 kB / 395.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.005296, allocations: 120.6 kB / 395.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005298, allocations: 0 / 395.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.005318, allocations: 7.938 kB / 395.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.005321, allocations: 4 kB / 395.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.005335, allocations: 0 / 395.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.005337, allocations: 0 / 395.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.00534, allocations: 7.984 kB / 395.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.005451, allocations: 84.08 kB / 395.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.005463, allocations: 15.88 kB / 395.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.005476, allocations: 4 kB / 395.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.005488, allocations: 0 / 395.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.005504, allocations: 288 / 395.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.005509, allocations: 4 kB / 395.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.005551, allocations: 135.2 kB / 395.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005551, allocations: 3.938 kB / 395.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001282/0.005679, allocations: 0 / 395.5 MB, free: 14.37 MB / 330.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.113e-05/0.00576, allocations: 99.23 kB / 395.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.548e-05/0.005845, allocations: 19.69 kB / 395.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.005847, allocations: 3.938 kB / 395.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.005858, allocations: 11.69 kB / 395.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.005974, allocations: 8.359 kB / 395.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.006263, allocations: 137.9 kB / 395.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.537e-05/0.006308, allocations: 55.36 kB / 395.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.62e-05/0.006334, allocations: 0 / 395.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.006364, allocations: 12.48 kB / 395.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006365, allocations: 0 / 395.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of Templates: time 0.002171/0.008536, allocations: 338 kB / 396.2 MB, free: 13.63 MB / 330.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: 3.176556020975113]