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.001411/0.001411, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.007/1.007, allocations: 177.2 MB / 200.3 MB, free: 5.348 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.001454/0.001454, allocations: 167.1 kB / 256.9 MB, free: 12.8 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.02549/0.02549, allocations: 6.651 MB / 320.1 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 2.665e-06/2.665e-06, allocations: 0 / 392.1 MB, free: 3.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.477e-05, allocations: 2.312 kB / 392.1 MB, free: 3.363 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002697/0.002732, allocations: 1.235 MB / 393.3 MB, free: 2.117 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002461/0.002978, allocations: 55.72 kB / 393.4 MB, free: 2.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.003023, allocations: 4 kB / 393.4 MB, free: 2.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.142e-05/0.003115, allocations: 11.94 kB / 393.4 MB, free: 2.047 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.003245, allocations: 3.938 kB / 393.4 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.954e-05/0.003275, allocations: 3.984 kB / 393.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.003339, allocations: 15.94 kB / 393.4 MB, free: 2.023 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.003385, allocations: 3.984 kB / 393.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.003438, allocations: 7.984 kB / 393.4 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.003493, allocations: 8 kB / 393.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.003508, allocations: 0 / 393.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.003516, allocations: 0 / 393.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.003533, allocations: 3.938 kB / 393.4 MB, free: 2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.003556, allocations: 15.98 kB / 393.4 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 7.302e-05/0.003629, allocations: 4 kB / 393.4 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003631, allocations: 0 / 393.4 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003633, allocations: 0 / 393.4 MB, free: 1.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.003637, allocations: 3.938 kB / 393.5 MB, free: 1.977 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.0003702/0.004007, allocations: 360.6 kB / 393.8 MB, free: 1.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.004055, allocations: 12.03 kB / 393.8 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.004086, allocations: 0.9375 kB / 393.8 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.004188, allocations: 116.6 kB / 393.9 MB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.0042, allocations: 384 / 393.9 MB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.004219, allocations: 4.375 kB / 393.9 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.211e-05/0.004311, allocations: 49.64 kB / 394 MB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.004321, allocations: 4.172 kB / 394 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.004327, allocations: 384 / 394 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.004336, allocations: 4.375 kB / 394 MB, free: 1.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.356e-05/0.004349, allocations: 7.875 kB / 394 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.0046, allocations: 109 kB / 394.1 MB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.256e-05/0.004662, allocations: 54.16 kB / 394.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.004688, allocations: 19.38 kB / 394.2 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.004698, allocations: 8.062 kB / 394.2 MB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.004727, allocations: 41.36 kB / 394.2 MB, free: 1.051 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.004729, allocations: 0 / 394.2 MB, free: 1.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.000126/0.004855, allocations: 41.58 kB / 394.3 MB, free: 1.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.004895, allocations: 81.11 kB / 394.3 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.004988, allocations: 161.9 kB / 394.5 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.004999, allocations: 25.7 kB / 394.5 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.005045, allocations: 130.9 kB / 394.7 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.005074, allocations: 7.938 kB / 394.7 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.005109, allocations: 27.61 kB / 394.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.005256, allocations: 0.4883 MB / 395.2 MB, free: 24 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.005269, allocations: 4 kB / 395.2 MB, free: 20 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.005314, allocations: 34.75 kB / 395.2 MB, free: 15.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.005367, allocations: 54.66 kB / 395.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.00537, allocations: 0 / 395.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.268e-05/0.005452, allocations: 53.66 kB / 395.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.005465, allocations: 8 kB / 395.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.005474, allocations: 3.984 kB / 395.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.005487, allocations: 4 kB / 395.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.334e-05/0.005531, allocations: 8 kB / 395.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.005535, allocations: 4 kB / 395.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.005563, allocations: 0 / 395.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.005569, allocations: 3.938 kB / 395.4 MB, free: 15.81 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.563e-05/0.005645, allocations: 160.5 kB / 395.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.005656, allocations: 0 / 395.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.005681, allocations: 11.16 kB / 395.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.005683, allocations: 4 kB / 395.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.005685, allocations: 0 / 395.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.005689, allocations: 3.984 kB / 395.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.005817, allocations: 105.2 kB / 395.6 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.005818, allocations: 0 / 395.6 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.005845, allocations: 4 kB / 395.6 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.005849, allocations: 3.984 kB / 395.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.00586, allocations: 4 kB / 395.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005862, allocations: 0 / 395.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.005864, allocations: 3.984 kB / 395.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.005986, allocations: 99.95 kB / 395.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.005995, allocations: 7.938 kB / 395.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.006005, allocations: 0 / 395.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.006025, allocations: 3.938 kB / 395.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.006037, allocations: 4 kB / 395.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.00604, allocations: 0 / 395.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.006086, allocations: 135.4 kB / 395.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006087, allocations: 0 / 395.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.006291, allocations: 4 kB / 395.9 MB, free: 15.2 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 8.73e-05/0.006378, allocations: 99.31 kB / 396 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.942e-05/0.006447, allocations: 19.62 kB / 396 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.006449, allocations: 0 / 396 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.006464, allocations: 15.67 kB / 396 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.006618, allocations: 3.938 kB / 396 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.006856, allocations: 134 kB / 396.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.006891, allocations: 55.36 kB / 396.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.429e-05/0.006915, allocations: 8.359 kB / 396.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.006956, allocations: 70.2 kB / 396.3 MB, free: 14.73 MB / 378.7 MB Notification: Performance of SimCode: time 5.82e-07/0.006957, allocations: 0 / 396.3 MB, free: 14.73 MB / 378.7 MB Notification: Performance of Templates: time 0.002185/0.009142, allocations: 364.3 kB / 396.7 MB, free: 14.38 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.9182591512799263]