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.01006/0.01006, allocations: 176.7 kB / 15.12 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.473/1.473, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001735/0.001735, allocations: 124.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1801/0.1801, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006456/0.0006455, allocations: 16.42 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.144, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.5169, allocations: 99.26 MB / 0.5472 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.5172, allocations: 85.83 kB / 0.5472 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1727/0.6899, allocations: 79.78 MB / 0.6252 GB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.887e-06/0.6899, allocations: 0 / 0.6252 GB, free: 1.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001411/0.6901, allocations: 76 kB / 0.6252 GB, free: 1.844 MB / 394.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.01136/0.7015, allocations: 3.668 MB / 0.6288 GB, free: 14.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.7015, allocations: 8.031 kB / 0.6288 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/0.7155, allocations: 3.377 MB / 0.6321 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007286/0.7228, allocations: 2.325 MB / 0.6344 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.7232, allocations: 312 kB / 0.6347 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/0.7254, allocations: 403.9 kB / 0.6351 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/0.7483, allocations: 10.74 MB / 0.6456 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003135/0.7487, allocations: 43.56 kB / 0.6456 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00247/0.7511, allocations: 199.9 kB / 0.6458 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001947/0.7531, allocations: 1.139 MB / 0.6469 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01859/0.7717, allocations: 9.422 MB / 0.6561 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06552/0.8373, allocations: 46.91 MB / 0.7019 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005893/0.8432, allocations: 3.481 MB / 0.7053 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/0.8542, allocations: 5.31 MB / 0.7105 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.8543, allocations: 51.06 kB / 0.7105 GB, free: 8.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.859e-06/0.8543, allocations: 0 / 0.7105 GB, free: 8.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.00743/0.8617, allocations: 3.872 MB / 0.7143 GB, free: 4.102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.8619, allocations: 166.8 kB / 0.7145 GB, free: 3.902 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008496/0.8704, allocations: 3.483 MB / 0.7179 GB, free: 440 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.8706, allocations: 45.7 kB / 0.7179 GB, free: 388 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2734/1.144, allocations: 3.309 MB / 0.7212 GB, free: 126.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.145, allocations: 0.6227 MB / 0.7218 GB, free: 126.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/1.146, allocations: 129.5 kB / 0.7219 GB, free: 126.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004384/1.146, allocations: 0.5883 MB / 0.7225 GB, free: 126.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003205/1.149, allocations: 1.944 MB / 0.7244 GB, free: 126.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005789/1.155, allocations: 6.189 MB / 0.7304 GB, free: 120.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005801/1.161, allocations: 3.481 MB / 0.7338 GB, free: 120.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002081/1.161, allocations: 44.25 kB / 0.7339 GB, free: 120.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01661/1.178, allocations: 7.779 MB / 0.7414 GB, free: 119.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/1.178, allocations: 68.62 kB / 0.7415 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/1.178, allocations: 150.9 kB / 0.7417 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/1.178, allocations: 223.6 kB / 0.7419 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/1.183, allocations: 1.501 MB / 0.7433 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001815/1.183, allocations: 296 kB / 0.7436 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005249/1.188, allocations: 0.9309 MB / 0.7445 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.189, allocations: 408 kB / 0.7449 GB, free: 119.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (813): * Single equations (assignments): 807 * 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.0044/1.194, allocations: 2.278 MB / 0.7471 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006153/1.194, allocations: 317 kB / 0.7474 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/1.195, allocations: 428.8 kB / 0.7479 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.519e-05/1.195, allocations: 37.03 kB / 0.7479 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/1.195, allocations: 0 / 0.7479 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.195, allocations: 7.578 kB / 0.7479 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009099/1.204, allocations: 5.763 MB / 0.7535 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/1.205, allocations: 3.656 kB / 0.7535 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008964/1.205, allocations: 211.8 kB / 0.7537 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.205, allocations: 10.62 kB / 0.7537 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/1.206, allocations: 26.53 kB / 0.7538 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-05/1.206, allocations: 21.5 kB / 0.7538 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.206, allocations: 10.84 kB / 0.7538 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/1.208, allocations: 3.233 MB / 0.757 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008141/1.209, allocations: 399.8 kB / 0.7573 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/1.21, allocations: 24.52 kB / 0.7574 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009526/1.211, allocations: 63.69 kB / 0.7574 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.211, allocations: 84.34 kB / 0.7575 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/1.211, allocations: 48.14 kB / 0.7575 GB, free: 115.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003405/1.214, allocations: 2.377 MB / 0.7599 GB, free: 115.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.214, allocations: 4 kB / 0.7599 GB, free: 115.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005382/1.22, allocations: 1.138 MB / 0.761 GB, free: 115.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (111): * Single equations (assignments): 105 * 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.0004068/1.22, allocations: 149 kB / 0.7611 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00692/1.227, allocations: 4.438 MB / 0.7655 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.227, allocations: 4.719 kB / 0.7655 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.228, allocations: 0.9636 MB / 0.7664 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.23, allocations: 333.8 kB / 0.7667 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.247, allocations: 10.25 MB / 0.7767 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005086/1.252, allocations: 3.354 MB / 0.78 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006004/1.258, allocations: 2.274 MB / 0.7822 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008576/1.259, allocations: 231.6 kB / 0.7824 GB, free: 106.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.503e-06/1.259, allocations: 0 / 0.7824 GB, free: 106.6 MB / 490.7 MB Notification: Performance of Templates: time 0.04855/1.307, allocations: 24.24 MB / 0.8061 GB, free: 95.57 MB / 490.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)