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.001823/0.001823, allocations: 89.47 kB / 19.44 MB, free: 344 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.568/1.568, allocations: 177.1 MB / 199.7 MB, free: 5.793 MB / 186.7 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.002222/0.002222, allocations: 156.5 kB / 256.3 MB, free: 13.15 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.04039/0.04039, allocations: 6.654 MB / 319.4 MB, free: 26.57 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 2.164e-06/2.164e-06, allocations: 0 / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.648e-05, allocations: 6.312 kB / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002593/0.002629, allocations: 1.235 MB / 392.1 MB, free: 1.727 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.00287, allocations: 43.8 kB / 392.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.002908, allocations: 0 / 392.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.072e-05/0.002999, allocations: 19.92 kB / 392.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.003122, allocations: 7.938 kB / 392.2 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.285e-05/0.003155, allocations: 7.922 kB / 392.2 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.003222, allocations: 11.94 kB / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.003262, allocations: 4 kB / 392.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.003317, allocations: 7.984 kB / 392.2 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.003367, allocations: 3.984 kB / 392.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.003387, allocations: 4 kB / 392.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.003397, allocations: 0 / 392.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.003412, allocations: 0 / 392.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.003438, allocations: 15.94 kB / 392.3 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.652e-05/0.003505, allocations: 7.984 kB / 392.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003507, allocations: 0 / 392.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003507, allocations: 0 / 392.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.003513, allocations: 0 / 392.3 MB, free: 1.594 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.0005098/0.004022, allocations: 352.3 kB / 392.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.004064, allocations: 8.031 kB / 392.6 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.004107, allocations: 8.875 kB / 392.6 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.004252, allocations: 112.5 kB / 392.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.004266, allocations: 4.375 kB / 392.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.004286, allocations: 4.375 kB / 392.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.004394, allocations: 49.64 kB / 392.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004402, allocations: 192 / 392.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.00441, allocations: 384 / 392.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004415, allocations: 384 / 392.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.004443, allocations: 11.88 kB / 392.8 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.004781, allocations: 132.3 kB / 392.9 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.00487, allocations: 54.16 kB / 393 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.004906, allocations: 23.44 kB / 393 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.004915, allocations: 3.984 kB / 393 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.004948, allocations: 37.39 kB / 393 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004949, allocations: 0 / 393 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001747/0.005123, allocations: 49.59 kB / 393.1 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.005192, allocations: 81.09 kB / 393.2 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.005351, allocations: 165.9 kB / 393.3 MB, free: 324 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.005377, allocations: 25.7 kB / 393.4 MB, free: 292 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.005471, allocations: 126.9 kB / 393.5 MB, free: 160 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.005502, allocations: 15.94 kB / 393.5 MB, free: 144 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.005542, allocations: 23.31 kB / 393.5 MB, free: 112 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000308/0.00585, allocations: 496.4 kB / 394 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.00587, allocations: 8 kB / 394 MB, free: 15.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.005928, allocations: 46.73 kB / 394.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.875e-05/0.006007, allocations: 50.69 kB / 394.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006009, allocations: 0 / 394.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001033/0.006112, allocations: 61.56 kB / 394.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.006128, allocations: 4.125 kB / 394.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006132, allocations: 4 kB / 394.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.006147, allocations: 4 kB / 394.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.006201, allocations: 8 kB / 394.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.006218, allocations: 7.984 kB / 394.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.006265, allocations: 3.938 kB / 394.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.006276, allocations: 4 kB / 394.2 MB, free: 15.38 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 0.0001508/0.006427, allocations: 152.6 kB / 394.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.006445, allocations: 8.234 kB / 394.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.006474, allocations: 11.14 kB / 394.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.006479, allocations: 7.922 kB / 394.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.006492, allocations: 4 kB / 394.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.006499, allocations: 7.938 kB / 394.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.006681, allocations: 116.6 kB / 394.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006682, allocations: 4 kB / 394.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.006723, allocations: 4 kB / 394.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006724, allocations: 0 / 394.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.006735, allocations: 4 kB / 394.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.006736, allocations: 0 / 394.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006737, allocations: 0 / 394.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.006899, allocations: 96.09 kB / 394.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.006908, allocations: 4 kB / 394.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.00692, allocations: 0 / 394.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.006943, allocations: 3.938 kB / 394.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.006963, allocations: 3.984 kB / 394.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.006972, allocations: 8 kB / 394.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.213e-05/0.007054, allocations: 131.1 kB / 394.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007054, allocations: 0 / 394.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.00723, allocations: 4 kB / 394.8 MB, free: 14.74 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 0.0001089/0.007339, allocations: 95.19 kB / 394.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.007449, allocations: 31.64 kB / 394.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007451, allocations: 4 kB / 394.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.007469, allocations: 11.69 kB / 394.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.007613, allocations: 7.953 kB / 394.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.007913, allocations: 133.8 kB / 395 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.141e-05/0.007984, allocations: 67.28 kB / 395.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.628e-05/0.008001, allocations: 384 / 395.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.008024, allocations: 12.5 kB / 395.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of SimCode: time 4.4e-07/0.008025, allocations: 0 / 395.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of Templates: time 0.002755/0.01078, allocations: 330.4 kB / 395.4 MB, free: 13.99 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: 4.8019631010247394]