Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.344/1.344, allocations: 194.3 MB / 202.4 MB, free: 8.477 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001648/0.001648, allocations: 116.4 kB / 247.4 MB, free: 6.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1819/0.1819, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.486e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 54.86 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4828, allocations: 98.51 MB / 0.5339 GB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.483, allocations: 79.08 kB / 0.534 GB, free: 1.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2015/0.6845, allocations: 78.19 MB / 0.6103 GB, free: 11.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6846, allocations: 0 / 0.6103 GB, free: 11.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001943/0.6848, allocations: 76 kB / 0.6104 GB, free: 11.12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01448/0.6993, allocations: 3.551 MB / 0.6139 GB, free: 7.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.6993, allocations: 12.03 kB / 0.6139 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.7153, allocations: 3.375 MB / 0.6172 GB, free: 4.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007452/0.7228, allocations: 2.325 MB / 0.6194 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.7231, allocations: 136 kB / 0.6196 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002827/0.726, allocations: 232 kB / 0.6198 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01604/0.7421, allocations: 6.682 MB / 0.6263 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02553/0.7677, allocations: 9.999 MB / 0.6361 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002463/0.7679, allocations: 47.39 kB / 0.6361 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002458/0.7704, allocations: 32 kB / 0.6361 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/0.7724, allocations: 1.136 MB / 0.6373 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3593/1.132, allocations: 45.86 MB / 0.682 GB, free: 95.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/1.135, allocations: 2.79 MB / 0.6848 GB, free: 94.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/1.137, allocations: 1.026 MB / 0.6858 GB, free: 94.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-05/1.137, allocations: 24.38 kB / 0.6858 GB, free: 94.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/1.137, allocations: 52.08 kB / 0.6858 GB, free: 94.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=179): time 5.26e-06/1.137, allocations: 1.375 kB / 0.6858 GB, free: 94.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=179): time 0.004736/1.141, allocations: 2.392 MB / 0.6882 GB, free: 93.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/1.141, allocations: 169.4 kB / 0.6883 GB, free: 93.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005336/1.147, allocations: 3.103 MB / 0.6914 GB, free: 93.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/1.147, allocations: 27.11 kB / 0.6914 GB, free: 93.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002114/1.149, allocations: 3.362 MB / 0.6947 GB, free: 91.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009503/1.15, allocations: 0.6896 MB / 0.6953 GB, free: 91.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/1.15, allocations: 0 / 0.6953 GB, free: 91.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004188/1.151, allocations: 0.6603 MB / 0.696 GB, free: 91.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/1.154, allocations: 1.91 MB / 0.6979 GB, free: 91.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00423/1.158, allocations: 6.438 MB / 0.7041 GB, free: 85.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004326/1.162, allocations: 3.576 MB / 0.7076 GB, free: 85.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-05/1.162, allocations: 46.12 kB / 0.7077 GB, free: 85.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.0105/1.173, allocations: 7.251 MB / 0.7148 GB, free: 84.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/1.173, allocations: 75.22 kB / 0.7148 GB, free: 84.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.173, allocations: 170.4 kB / 0.715 GB, free: 84.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/1.173, allocations: 236.1 kB / 0.7152 GB, free: 84.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004786/1.178, allocations: 1.617 MB / 0.7168 GB, free: 84.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002151/1.178, allocations: 316.9 kB / 0.7171 GB, free: 84.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004892/1.183, allocations: 0.8163 MB / 0.7179 GB, free: 83.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006554/1.184, allocations: 442.5 kB / 0.7183 GB, free: 83.59 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (877): * Single equations (assignments): 871 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007369/1.185, allocations: 493.3 kB / 0.7188 GB, free: 83.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/1.185, allocations: 306 kB / 0.7191 GB, free: 83.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/1.188, allocations: 1.895 MB / 0.7209 GB, free: 82.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.844e-05/1.188, allocations: 40.58 kB / 0.721 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.188, allocations: 7.875 kB / 0.721 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/1.188, allocations: 7.078 kB / 0.721 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009646/1.197, allocations: 5.745 MB / 0.7266 GB, free: 80.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.197, allocations: 7.562 kB / 0.7266 GB, free: 80.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.198, allocations: 252.2 kB / 0.7268 GB, free: 80.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/1.199, allocations: 11.62 kB / 0.7269 GB, free: 80.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.306e-05/1.199, allocations: 21.84 kB / 0.7269 GB, free: 80.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/1.199, allocations: 21.97 kB / 0.7269 GB, free: 80.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.199, allocations: 14.88 kB / 0.7269 GB, free: 80.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/1.202, allocations: 3.603 MB / 0.7304 GB, free: 78.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007508/1.203, allocations: 384.2 kB / 0.7308 GB, free: 78.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/1.203, allocations: 14.89 kB / 0.7308 GB, free: 78.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009493/1.204, allocations: 49.52 kB / 0.7309 GB, free: 78.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.204, allocations: 103.7 kB / 0.731 GB, free: 78.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.204, allocations: 53.45 kB / 0.731 GB, free: 78.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003095/1.207, allocations: 2.025 MB / 0.733 GB, free: 77.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.207, allocations: 0 / 0.733 GB, free: 77.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005958/1.213, allocations: 1.016 MB / 0.734 GB, free: 77.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000404/1.214, allocations: 138.3 kB / 0.7341 GB, free: 77.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006952/1.221, allocations: 4.394 MB / 0.7384 GB, free: 75.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.221, allocations: 0 / 0.7384 GB, free: 75.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.222, allocations: 1.048 MB / 0.7394 GB, free: 75.33 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/1.224, allocations: 261.7 kB / 0.7397 GB, free: 75.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.239, allocations: 7.344 MB / 0.7469 GB, free: 70.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004343/1.243, allocations: 3.361 MB / 0.7501 GB, free: 67.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0057/1.249, allocations: 2.486 MB / 0.7526 GB, free: 66.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/1.25, allocations: 226.7 kB / 0.7528 GB, free: 66.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/1.25, allocations: 0 / 0.7528 GB, free: 66.24 MB / 474.7 MB Notification: Performance of Templates: time 0.04289/1.292, allocations: 21.76 MB / 0.774 GB, free: 53.11 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1)