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.001371/0.001371, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.032/1.032, allocations: 177.2 MB / 201 MB, free: 5.703 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.001534/0.001534, allocations: 152.6 kB / 257.7 MB, free: 12.98 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.04622/0.04622, allocations: 6.66 MB / 320.9 MB, free: 11.45 MB / 298.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 5.781e-06/5.781e-06, allocations: 0 / 392.9 MB, free: 3.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/3.12e-05, allocations: 9.969 kB / 392.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002209/0.00224, allocations: 1.243 MB / 394.1 MB, free: 2.125 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.002455, allocations: 43.75 kB / 394.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.002499, allocations: 0 / 394.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 8.905e-05/0.002588, allocations: 11.94 kB / 394.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.0027, allocations: 15.92 kB / 394.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.613e-05/0.002726, allocations: 3.984 kB / 394.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.002794, allocations: 15.94 kB / 394.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.002838, allocations: 3.984 kB / 394.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.002885, allocations: 4 kB / 394.2 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.002933, allocations: 7.938 kB / 394.2 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.002953, allocations: 0 / 394.2 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-06/0.00296, allocations: 0 / 394.2 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.002978, allocations: 7.984 kB / 394.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.002995, allocations: 8 kB / 394.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 7.099e-05/0.003066, allocations: 15.92 kB / 394.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003069, allocations: 0 / 394.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00307, allocations: 0 / 394.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.003073, allocations: 0 / 394.2 MB, free: 1.988 MB / 362.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.0003729/0.003446, allocations: 356.6 kB / 394.6 MB, free: 1.602 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.003486, allocations: 8.031 kB / 394.6 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.003514, allocations: 4.938 kB / 394.6 MB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.00362, allocations: 120.5 kB / 394.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.003631, allocations: 384 / 394.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.003646, allocations: 4.312 kB / 394.7 MB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.614e-05/0.003722, allocations: 49.64 kB / 394.8 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.003729, allocations: 192 / 394.8 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-06/0.003735, allocations: 384 / 394.8 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.003741, allocations: 384 / 394.8 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.488e-05/0.003756, allocations: 15.86 kB / 394.8 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.003968, allocations: 113 kB / 394.9 MB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.004025, allocations: 54.16 kB / 395 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.004045, allocations: 19.36 kB / 395 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.00405, allocations: 0 / 395 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.004078, allocations: 41.45 kB / 395 MB, free: 1.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.004079, allocations: 4 kB / 395 MB, free: 1.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001071/0.004186, allocations: 37.64 kB / 395.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.004228, allocations: 81.09 kB / 395.1 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.004303, allocations: 157.9 kB / 395.3 MB, free: 0.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.004314, allocations: 25.7 kB / 395.3 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.004356, allocations: 134.9 kB / 395.4 MB, free: 0.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.004385, allocations: 11.94 kB / 395.5 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.004419, allocations: 19.38 kB / 395.5 MB, free: 0.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.004551, allocations: 0.4922 MB / 396 MB, free: 40 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.00456, allocations: 4.25 kB / 396 MB, free: 36 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.362e-05/0.004603, allocations: 46.67 kB / 396 MB, free: 15.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.00465, allocations: 34.75 kB / 396.1 MB, free: 15.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004652, allocations: 4 kB / 396.1 MB, free: 15.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.907e-05/0.004731, allocations: 57.52 kB / 396.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.004742, allocations: 8 kB / 396.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.004747, allocations: 4.125 kB / 396.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.004756, allocations: 0 / 396.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.809e-05/0.004794, allocations: 8 kB / 396.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.004797, allocations: 0 / 396.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.004824, allocations: 4 kB / 396.1 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.004831, allocations: 3.938 kB / 396.1 MB, free: 15.83 MB / 378.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 7.27e-05/0.004904, allocations: 164.5 kB / 396.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.004912, allocations: 0 / 396.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.004933, allocations: 11.14 kB / 396.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.004935, allocations: 0 / 396.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.004936, allocations: 7.938 kB / 396.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.004939, allocations: 0 / 396.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.005058, allocations: 101.2 kB / 396.4 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.005061, allocations: 7.984 kB / 396.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.005088, allocations: 8 kB / 396.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005089, allocations: 0 / 396.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.005099, allocations: 0 / 396.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.005101, allocations: 3.984 kB / 396.4 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005102, allocations: 4 kB / 396.4 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.005214, allocations: 96.22 kB / 396.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.005222, allocations: 8 kB / 396.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.005235, allocations: 11.98 kB / 396.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.635e-05/0.005251, allocations: 0 / 396.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.005263, allocations: 0 / 396.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.005267, allocations: 4 kB / 396.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.392e-05/0.005321, allocations: 127.2 kB / 396.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005321, allocations: 0 / 396.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.005507, allocations: 0 / 396.7 MB, free: 15.22 MB / 378.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 7.962e-05/0.005587, allocations: 91.25 kB / 396.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.225e-05/0.005659, allocations: 35.61 kB / 396.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.00566, allocations: 0 / 396.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.005677, allocations: 11.69 kB / 396.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.005827, allocations: 3.938 kB / 396.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.006035, allocations: 134 kB / 397 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.791e-05/0.006073, allocations: 59.34 kB / 397 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.064e-05/0.006094, allocations: 0 / 397 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.006132, allocations: 66.58 kB / 397.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.006133, allocations: 8 kB / 397.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of Templates: time 0.001801/0.007934, allocations: 358 kB / 397.4 MB, free: 14.39 MB / 378.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.8782749427482486]