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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 245.5 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 190.2 kB / 300.5 MB, free: 9.848 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04274/0.04274, allocations: 8.933 MB / 364.3 MB, free: 10.2 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002382/0.002382, allocations: 87.27 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.08859, allocations: 54.42 MB / 0.5289 GB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002307/0.0909, allocations: 1.196 MB / 0.5301 GB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001957/0.0911, allocations: 51.78 kB / 0.5301 GB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.09113, allocations: 0 / 0.5301 GB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.09125, allocations: 7.938 kB / 0.5302 GB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.09136, allocations: 15.91 kB / 0.5302 GB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.684e-05/0.09138, allocations: 4 kB / 0.5302 GB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.09146, allocations: 15.88 kB / 0.5302 GB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.09149, allocations: 3.984 kB / 0.5302 GB, free: 15.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.09152, allocations: 12 kB / 0.5302 GB, free: 15.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.09156, allocations: 3.938 kB / 0.5302 GB, free: 15.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.09158, allocations: 4 kB / 0.5302 GB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.09159, allocations: 0 / 0.5302 GB, free: 15.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.0916, allocations: 3.984 kB / 0.5302 GB, free: 15.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.09162, allocations: 8 kB / 0.5302 GB, free: 15.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.768e-05/0.09168, allocations: 11.86 kB / 0.5302 GB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.09168, allocations: 4 kB / 0.5302 GB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09169, allocations: 0 / 0.5302 GB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.09169, allocations: 0 / 0.5302 GB, free: 15.55 MB / 350.1 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.0004248/0.09212, allocations: 331.5 kB / 0.5305 GB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.09214, allocations: 8.031 kB / 0.5306 GB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.09217, allocations: 0.9375 kB / 0.5306 GB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.09234, allocations: 172.3 kB / 0.5307 GB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.09235, allocations: 384 / 0.5307 GB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.09236, allocations: 4.312 kB / 0.5307 GB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.236e-05/0.09245, allocations: 47.92 kB / 0.5308 GB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.09246, allocations: 192 / 0.5308 GB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.09247, allocations: 7.938 kB / 0.5308 GB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.09248, allocations: 4 kB / 0.5308 GB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.09249, allocations: 0 / 0.5308 GB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.09282, allocations: 166.5 kB / 0.5309 GB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.888e-05/0.09288, allocations: 41.28 kB / 0.531 GB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.09291, allocations: 17.72 kB / 0.531 GB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-06/0.09291, allocations: 0 / 0.531 GB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.09295, allocations: 38.56 kB / 0.531 GB, free: 14.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.09295, allocations: 3.984 kB / 0.531 GB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.09308, allocations: 49.56 kB / 0.5311 GB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.09313, allocations: 85.05 kB / 0.5312 GB, free: 14.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.09323, allocations: 102.1 kB / 0.5313 GB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.09324, allocations: 29.7 kB / 0.5313 GB, free: 14.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.09329, allocations: 80.14 kB / 0.5314 GB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.09331, allocations: 11.95 kB / 0.5314 GB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.09334, allocations: 9.719 kB / 0.5314 GB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.09349, allocations: 322.8 kB / 0.5317 GB, free: 13.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.0935, allocations: 0 / 0.5317 GB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-05/0.09356, allocations: 35.44 kB / 0.5317 GB, free: 13.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.09361, allocations: 39.38 kB / 0.5318 GB, free: 13.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.09361, allocations: 0 / 0.5318 GB, free: 13.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.106e-05/0.09371, allocations: 61.58 kB / 0.5318 GB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.09372, allocations: 12.12 kB / 0.5318 GB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.09372, allocations: 3.938 kB / 0.5318 GB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.09374, allocations: 0 / 0.5318 GB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-05/0.09378, allocations: 15.92 kB / 0.5319 GB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.09378, allocations: 0 / 0.5319 GB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.09381, allocations: 4 kB / 0.5319 GB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-06/0.09382, allocations: 0 / 0.5319 GB, free: 13.61 MB / 350.1 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 8.769e-05/0.0939, allocations: 121.7 kB / 0.532 GB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-06/0.09391, allocations: 0 / 0.532 GB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.09393, allocations: 11.06 kB / 0.532 GB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.09393, allocations: 4 kB / 0.532 GB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.09394, allocations: 0 / 0.532 GB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.09394, allocations: 0 / 0.532 GB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.09412, allocations: 161.7 kB / 0.5321 GB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.09412, allocations: 0 / 0.5321 GB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.09416, allocations: 4 kB / 0.5322 GB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.09416, allocations: 0 / 0.5322 GB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.09417, allocations: 7.875 kB / 0.5322 GB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.09417, allocations: 4 kB / 0.5322 GB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.09417, allocations: 0 / 0.5322 GB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.09432, allocations: 81.88 kB / 0.5322 GB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.09437, allocations: 85.05 kB / 0.5323 GB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.09439, allocations: 7.969 kB / 0.5323 GB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.359e-05/0.09441, allocations: 0 / 0.5323 GB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.09443, allocations: 3.984 kB / 0.5323 GB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.09443, allocations: 96 / 0.5323 GB, free: 13.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.608e-05/0.09447, allocations: 83.28 kB / 0.5324 GB, free: 12.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09447, allocations: 0 / 0.5324 GB, free: 12.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.09466, allocations: 8 kB / 0.5324 GB, free: 12.93 MB / 350.1 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 9.452e-05/0.09476, allocations: 95.25 kB / 0.5325 GB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.615e-05/0.09484, allocations: 23.92 kB / 0.5325 GB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.09484, allocations: 0 / 0.5325 GB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.09486, allocations: 12.19 kB / 0.5325 GB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.09499, allocations: 4 kB / 0.5326 GB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.0953, allocations: 161.2 kB / 0.5327 GB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.09561, allocations: 0.6805 MB / 0.5334 GB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.09562, allocations: 7.438 kB / 0.5334 GB, free: 11.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09563, allocations: 0 / 0.5334 GB, free: 11.88 MB / 350.1 MB Notification: Performance of Templates: time 0.001972/0.0976, allocations: 0.5249 MB / 0.5339 GB, free: 11.36 MB / 350.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.578464377904311] Failed to read output from testmodel.py, exit status != 0: 0.2410219870507717 0.118268388 0.023717201 Calling exit ...