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.001152/0.001152, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.065/1.065, allocations: 177.1 MB / 200.5 MB, free: 5.539 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.001229/0.001229, allocations: 172.5 kB / 257 MB, free: 13.05 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.02371/0.02371, allocations: 6.657 MB / 320.1 MB, free: 26.6 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.533e-06/1.533e-06, allocations: 0 / 391.6 MB, free: 3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.313e-05, allocations: 6.25 kB / 391.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001552/0.001575, allocations: 1.254 MB / 392.9 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000176/0.001751, allocations: 59.67 kB / 392.9 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.001786, allocations: 0 / 392.9 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.812e-05/0.001864, allocations: 4 kB / 392.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.00198, allocations: 7.922 kB / 393 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.154e-05/0.002002, allocations: 4 kB / 393 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.002063, allocations: 15.92 kB / 393 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.002095, allocations: 4 kB / 393 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.002138, allocations: 8 kB / 393 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.002181, allocations: 11.92 kB / 393 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.002198, allocations: 0 / 393 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-06/0.002205, allocations: 0 / 393 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.00222, allocations: 4 kB / 393 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.002237, allocations: 3.984 kB / 393 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.521e-05/0.002302, allocations: 11.98 kB / 393 MB, free: 1.598 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002304, allocations: 0 / 393 MB, free: 1.598 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002305, allocations: 0 / 393 MB, free: 1.598 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.237e-06/0.002308, allocations: 4 kB / 393 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.0003117/0.00262, allocations: 356.5 kB / 393.4 MB, free: 1.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.002656, allocations: 12.03 kB / 393.4 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.002691, allocations: 4.938 kB / 393.4 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.002802, allocations: 112.6 kB / 393.5 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.002815, allocations: 384 / 393.5 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.002835, allocations: 384 / 393.5 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.314e-05/0.002928, allocations: 49.62 kB / 393.5 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.002935, allocations: 192 / 393.5 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.002946, allocations: 8.375 kB / 393.6 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.002955, allocations: 4.375 kB / 393.6 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.345e-05/0.002969, allocations: 7.875 kB / 393.6 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.003197, allocations: 124.3 kB / 393.7 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/0.003247, allocations: 54.16 kB / 393.7 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.003266, allocations: 15.5 kB / 393.8 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.003273, allocations: 7.938 kB / 393.8 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.003294, allocations: 33.39 kB / 393.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.003296, allocations: 0 / 393.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.00343, allocations: 53.8 kB / 393.8 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.003472, allocations: 81.14 kB / 393.9 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.003802, allocations: 169.8 kB / 394.1 MB, free: 328 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.003811, allocations: 29.7 kB / 394.1 MB, free: 292 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.003847, allocations: 126.9 kB / 394.2 MB, free: 160 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.003869, allocations: 3.953 kB / 394.3 MB, free: 156 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.003894, allocations: 23.38 kB / 394.3 MB, free: 124 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.004006, allocations: 0.4923 MB / 394.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.004016, allocations: 0 / 394.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.004039, allocations: 34.75 kB / 394.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.004083, allocations: 50.69 kB / 394.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.004086, allocations: 3.984 kB / 394.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.657e-05/0.004143, allocations: 53.58 kB / 394.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.004156, allocations: 8 kB / 394.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004161, allocations: 0 / 394.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.004173, allocations: 0 / 394.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.291e-05/0.004206, allocations: 11.98 kB / 394.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.00421, allocations: 4.125 kB / 394.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.004233, allocations: 11.89 kB / 394.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.004237, allocations: 3.938 kB / 394.9 MB, free: 15.4 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 5.421e-05/0.004291, allocations: 160.6 kB / 395.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-06/0.004297, allocations: 0 / 395.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.004319, allocations: 7.156 kB / 395.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.00432, allocations: 0 / 395.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.004324, allocations: 3.938 kB / 395.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.004327, allocations: 3.938 kB / 395.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.034e-05/0.004418, allocations: 120.6 kB / 395.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.004419, allocations: 0 / 395.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.00444, allocations: 11.98 kB / 395.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.004441, allocations: 0 / 395.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.004454, allocations: 4 kB / 395.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.004456, allocations: 7.984 kB / 395.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.004456, allocations: 0 / 395.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.946e-05/0.004546, allocations: 88.06 kB / 395.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-06/0.004554, allocations: 11.89 kB / 395.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.004563, allocations: 0 / 395.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.004575, allocations: 0 / 395.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.00459, allocations: 8 kB / 395.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.004592, allocations: 4 kB / 395.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.76e-05/0.004629, allocations: 135.1 kB / 395.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004629, allocations: 0 / 395.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.004756, allocations: 4 kB / 395.5 MB, free: 14.76 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 6.501e-05/0.004821, allocations: 91.25 kB / 395.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.983e-05/0.004891, allocations: 23.62 kB / 395.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.004893, allocations: 0 / 395.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.004905, allocations: 19.92 kB / 395.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.005011, allocations: 0 / 395.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.005236, allocations: 133.9 kB / 395.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.826e-05/0.005264, allocations: 59.34 kB / 395.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.816e-05/0.005282, allocations: 3.938 kB / 395.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.005303, allocations: 12.5 kB / 395.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.005304, allocations: 0 / 395.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of Templates: time 0.001851/0.007155, allocations: 341.7 kB / 396.2 MB, free: 14.02 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.0252165209967643]