Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.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.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor") translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00205/0.00205, allocations: 180.3 kB / 7.456 MB, free: 2.504 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.21/1.21, allocations: 194.2 MB / 202.1 MB, free: 8.723 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.001658/0.001658, allocations: 120.3 kB / 247.1 MB, free: 6.402 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.1728/0.1728, allocations: 39.94 MB / 331.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.991e-06/6.011e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3537/0.4601, allocations: 104.8 MB / 0.5395 GB, free: 11.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4604, allocations: 77.36 kB / 0.5396 GB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.7421/1.203, allocations: 237.1 MB / 0.7711 GB, free: 65.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.002487/1.205, allocations: 376.1 kB / 0.7715 GB, free: 65.48 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5962 * Number of variables: 5962 Notification: Performance of Generate backend data structure: time 0.05337/1.259, allocations: 15.74 MB / 0.7869 GB, free: 54.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.259, allocations: 8.031 kB / 0.7869 GB, free: 54.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03262/1.291, allocations: 7.915 MB / 0.7946 GB, free: 46.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03345/1.325, allocations: 12.49 MB / 0.8068 GB, free: 33.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/1.326, allocations: 0.6445 MB / 0.8074 GB, free: 33.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008374/1.334, allocations: 1.164 MB / 0.8086 GB, free: 31.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04861/1.383, allocations: 23.49 MB / 0.8315 GB, free: 8.383 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3192/1.702, allocations: 34.11 MB / 0.8648 GB, free: 98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001481/1.704, allocations: 148.9 kB / 0.865 GB, free: 98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00825/1.712, allocations: 71.5 kB / 0.865 GB, free: 98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003749/1.716, allocations: 2.496 MB / 0.8675 GB, free: 97.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1794/1.895, allocations: 142.7 MB / 1.007 GB, free: 31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009149/1.904, allocations: 8.087 MB / 1.015 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007995/1.913, allocations: 7.139 MB / 1.022 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04368/1.956, allocations: 28.04 MB / 1.049 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.618e-05/1.956, allocations: 79.12 kB / 1.049 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=381): time 8.756e-06/1.956, allocations: 0 / 1.049 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=495): time 0.9368/2.893, allocations: 199.5 MB / 1.244 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/2.893, allocations: 277.9 kB / 1.244 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/2.907, allocations: 7.995 MB / 1.252 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002142/2.909, allocations: 25.7 kB / 1.252 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005939/2.915, allocations: 10.38 MB / 1.262 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003853/2.919, allocations: 1.857 MB / 1.264 GB, free: 123 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003474/2.922, allocations: 0 / 1.264 GB, free: 123 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001407/2.923, allocations: 1.047 MB / 1.265 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02016/2.944, allocations: 15.8 MB / 1.28 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02664/2.97, allocations: 26.5 MB / 1.306 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02519/2.996, allocations: 20.01 MB / 1.326 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005048/2.996, allocations: 109.3 kB / 1.326 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2254) (initialization): time 0.06717/3.063, allocations: 40.3 MB / 1.365 GB, free: 74.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/3.063, allocations: 8 kB / 1.365 GB, free: 74.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006123/3.064, allocations: 384 kB / 1.366 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/3.066, allocations: 0.8723 MB / 1.367 GB, free: 73.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02161/3.087, allocations: 4.794 MB / 1.371 GB, free: 69.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005285/3.093, allocations: 5.384 MB / 1.376 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02017/3.113, allocations: 1.241 MB / 1.378 GB, free: 63.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005497/3.118, allocations: 1.041 MB / 1.379 GB, free: 62.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1753 * 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 (2198): * Single equations (assignments): 2188 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008693/3.127, allocations: 1.008 MB / 1.38 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00354/3.131, allocations: 0.8214 MB / 1.38 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2493/3.38, allocations: 32.26 MB / 1.412 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001774/3.38, allocations: 89.56 kB / 1.412 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/3.38, allocations: 6.906 kB / 1.412 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.38e-05/3.38, allocations: 26.39 kB / 1.412 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.087/3.467, allocations: 69.66 MB / 1.48 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/3.467, allocations: 0 / 1.48 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01209/3.479, allocations: 1.553 MB / 1.482 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/3.48, allocations: 313.5 kB / 1.482 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001823/3.482, allocations: 17.34 kB / 1.482 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003642/3.486, allocations: 4.062 MB / 1.486 GB, free: 83.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/3.486, allocations: 5.781 kB / 1.486 GB, free: 83.52 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05629/3.542, allocations: 51.46 MB / 1.536 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009084/3.551, allocations: 3.891 MB / 1.54 GB, free: 55.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004702/3.556, allocations: 4.25 kB / 1.54 GB, free: 55.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0105/3.567, allocations: 0.9837 MB / 1.541 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002045/3.569, allocations: 219.8 kB / 1.541 GB, free: 54.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00112/3.57, allocations: 131.7 kB / 1.541 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00929/3.579, allocations: 5.323 MB / 1.546 GB, free: 49.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01909/3.598, allocations: 3.857 MB / 1.55 GB, free: 46.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (453): * Single equations (assignments): 443 * 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.002325/3.601, allocations: 236.6 kB / 1.55 GB, free: 45.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3148/3.915, allocations: 36.38 MB / 1.586 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/3.915, allocations: 0.625 kB / 1.586 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02909/3.944, allocations: 15.02 MB / 1.601 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01242/3.957, allocations: 1.122 MB / 1.602 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1002/4.057, allocations: 42.77 MB / 1.644 GB, free: 99.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03682/4.094, allocations: 12.09 MB / 1.655 GB, free: 96.19 MB / 0.4948 GB Notification: Performance of SimCode: time 1.904e-06/4.094, allocations: 2.719 kB / 1.655 GB, free: 96.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.5889/4.683, allocations: 222.3 MB / 1.872 GB, free: 57.96 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe 2>&1)