Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor") translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001264/0.001264, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.344/1.344, allocations: 170.7 MB / 178.7 MB, free: 6.969 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.0016/0.0016, allocations: 104.2 kB / 218 MB, free: 15.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1862/0.1862, allocations: 37.97 MB / 295.1 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.325e-05/1.329e-05, allocations: 4 kB / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.252, allocations: 48.69 MB / 398.7 MB, free: 6.043 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.3772, allocations: 98.04 MB / 496.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.3775, allocations: 75.97 kB / 496.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15/1.528, allocations: 239.8 MB / 0.7194 GB, free: 19.15 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.884e-06/1.528, allocations: 0 / 0.7194 GB, free: 19.15 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0007184/1.529, allocations: 371 kB / 0.7197 GB, free: 19.15 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5960 * Number of variables: 5960 Notification: Performance of Generate backend data structure: time 0.05074/1.579, allocations: 15.61 MB / 0.735 GB, free: 16.6 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.579, allocations: 9.781 kB / 0.735 GB, free: 16.6 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03526/1.615, allocations: 8.296 MB / 0.7431 GB, free: 15.56 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03085/1.646, allocations: 12.4 MB / 0.7552 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009322/1.647, allocations: 0.6422 MB / 0.7558 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008059/1.655, allocations: 1.159 MB / 0.7569 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04689/1.701, allocations: 22.92 MB / 0.7793 GB, free: 14.09 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07549/1.777, allocations: 33.56 MB / 0.8121 GB, free: 4.742 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001122/1.778, allocations: 147.8 kB / 0.8122 GB, free: 4.727 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007101/1.785, allocations: 72.47 kB / 0.8123 GB, free: 4.727 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003156/1.788, allocations: 2.384 MB / 0.8146 GB, free: 4.328 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5181/2.307, allocations: 141.7 MB / 0.9531 GB, free: 10.96 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/2.318, allocations: 9.911 MB / 0.9627 GB, free: 8.609 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007344/2.326, allocations: 6.602 MB / 0.9692 GB, free: 8.562 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002982/2.329, allocations: 2.576 MB / 0.9717 GB, free: 22.56 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.723e-05/2.329, allocations: 88.14 kB / 0.9718 GB, free: 22.52 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=409): time 9.438e-06/2.329, allocations: 0 / 0.9718 GB, free: 22.52 MB / 0.4949 GB Notification: Performance of matching and sorting (n=523): time 0.9075/3.236, allocations: 233.6 MB / 1.2 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/3.236, allocations: 285.5 kB / 1.2 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02097/3.257, allocations: 7.852 MB / 1.208 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002644/3.26, allocations: 29.39 kB / 1.208 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007745/3.268, allocations: 10.82 MB / 1.218 GB, free: 85.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004606/3.273, allocations: 1.951 MB / 1.22 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003552/3.276, allocations: 0 / 1.22 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002124/3.278, allocations: 1.056 MB / 1.221 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02098/3.299, allocations: 15.51 MB / 1.237 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0281/3.327, allocations: 26.2 MB / 1.262 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3986/3.726, allocations: 19.64 MB / 1.281 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005299/3.727, allocations: 109.5 kB / 1.281 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2273) (initialization): time 0.07312/3.8, allocations: 39.7 MB / 1.32 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002606/3.8, allocations: 169.8 kB / 1.32 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005868/3.801, allocations: 383.5 kB / 1.321 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/3.803, allocations: 0.9176 MB / 1.322 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02441/3.827, allocations: 5.39 MB / 1.327 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/3.834, allocations: 5.985 MB / 1.333 GB, free: 84.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02392/3.858, allocations: 1.831 MB / 1.335 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006665/3.865, allocations: 1.046 MB / 1.336 GB, free: 84.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1748 * Number of states: 0 () * Number of discrete variables: 45 (relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrowColor[3],relative_a1.arrowColor[2],relative_a1.arrowColor[1],BodyBox2.color[3],BodyBox2.color[2],BodyBox2.color[1],BodyBox2.body.sphereColor[3],BodyBox2.body.sphereColor[2],BodyBox2.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (2211): * Single equations (assignments): 2201 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008124/3.873, allocations: 1.014 MB / 1.337 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003528/3.876, allocations: 0.8237 MB / 1.337 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04513/3.921, allocations: 30.19 MB / 1.367 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002016/3.922, allocations: 97.73 kB / 1.367 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/3.922, allocations: 5.5 kB / 1.367 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001402/3.922, allocations: 27.39 kB / 1.367 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1027/4.025, allocations: 69.8 MB / 1.435 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/4.025, allocations: 0 / 1.435 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0138/4.039, allocations: 2.166 MB / 1.437 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/4.04, allocations: 316.8 kB / 1.438 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002105/4.042, allocations: 19.7 kB / 1.438 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/4.045, allocations: 4.11 MB / 1.442 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/4.045, allocations: 0 / 1.442 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5048/4.55, allocations: 52.9 MB / 1.493 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01258/4.563, allocations: 3.904 MB / 1.497 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005294/4.568, allocations: 12.94 kB / 1.497 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01325/4.582, allocations: 1.565 MB / 1.499 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002638/4.584, allocations: 274.9 kB / 1.499 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001257/4.586, allocations: 137.8 kB / 1.499 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01428/4.6, allocations: 5.205 MB / 1.504 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/4.6, allocations: 0 / 1.504 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02379/4.624, allocations: 3.888 MB / 1.508 GB, free: 86.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (479): * Single equations (assignments): 469 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003104/4.627, allocations: 229.9 kB / 1.508 GB, free: 86.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04712/4.674, allocations: 34.25 MB / 1.541 GB, free: 72.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/4.674, allocations: 4.062 kB / 1.541 GB, free: 72.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01793/4.692, allocations: 14.86 MB / 1.556 GB, free: 65.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/4.702, allocations: 1.155 MB / 1.557 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08886/4.791, allocations: 42.21 MB / 1.598 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02844/4.819, allocations: 11.37 MB / 1.609 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02821/4.848, allocations: 7.498 MB / 1.617 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008667/4.856, allocations: 0.609 MB / 1.617 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/4.856, allocations: 0 / 1.617 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.592/5.448, allocations: 138.8 MB / 1.753 GB, free: 53.91 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe 2>&1)