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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001442/0.001441, allocations: 181.2 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.466/1.466, allocations: 194.3 MB / 202.4 MB, free: 8.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.001655/0.001655, allocations: 115.8 kB / 247.4 MB, free: 6.242 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.1743/0.1743, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.047e-05/1.049e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09652, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.4882, allocations: 104.9 MB / 0.5401 GB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4885, allocations: 78.45 kB / 0.5402 GB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7829/1.271, allocations: 239.9 MB / 0.7744 GB, free: 66.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.271, allocations: 4 kB / 0.7744 GB, free: 66.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001354/1.273, allocations: 379.4 kB / 0.7748 GB, free: 66.21 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.05241/1.325, allocations: 15.62 MB / 0.79 GB, free: 51.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.325, allocations: 8.031 kB / 0.7901 GB, free: 51.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03464/1.36, allocations: 8.294 MB / 0.7982 GB, free: 43.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03301/1.393, allocations: 12.41 MB / 0.8103 GB, free: 30.86 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001458/1.395, allocations: 0.6481 MB / 0.8109 GB, free: 30.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008773/1.403, allocations: 1.164 MB / 0.812 GB, free: 29.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04857/1.452, allocations: 22.93 MB / 0.8344 GB, free: 6.125 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4443/1.896, allocations: 33.56 MB / 0.8672 GB, free: 54.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001084/1.897, allocations: 149.8 kB / 0.8673 GB, free: 54.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007432/1.905, allocations: 71.44 kB / 0.8674 GB, free: 54.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003367/1.908, allocations: 2.385 MB / 0.8697 GB, free: 54.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1802/2.089, allocations: 141.4 MB / 1.008 GB, free: 18.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/2.099, allocations: 9.906 MB / 1.017 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007373/2.106, allocations: 6.602 MB / 1.024 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002834/2.109, allocations: 2.586 MB / 1.026 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.283e-05/2.109, allocations: 80.89 kB / 1.027 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=409): time 8.125e-06/2.109, allocations: 3.594 kB / 1.027 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of matching and sorting (n=523): time 1.229/3.338, allocations: 233.9 MB / 1.255 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/3.339, allocations: 285.2 kB / 1.255 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01724/3.356, allocations: 7.853 MB / 1.263 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002339/3.358, allocations: 25.7 kB / 1.263 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00779/3.366, allocations: 10.82 MB / 1.273 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003973/3.37, allocations: 1.95 MB / 1.275 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00264/3.373, allocations: 1.641 kB / 1.275 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001189/3.374, allocations: 1.059 MB / 1.276 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01956/3.393, allocations: 15.52 MB / 1.292 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03021/3.424, allocations: 26.2 MB / 1.317 GB, free: 84.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02608/3.45, allocations: 19.65 MB / 1.336 GB, free: 76.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003565/3.45, allocations: 109.1 kB / 1.336 GB, free: 76.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2273) (initialization): time 0.06471/3.515, allocations: 39.7 MB / 1.375 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002802/3.515, allocations: 171 kB / 1.375 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005532/3.516, allocations: 381.8 kB / 1.376 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/3.518, allocations: 0.9142 MB / 1.377 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02243/3.54, allocations: 5.388 MB / 1.382 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005647/3.546, allocations: 6.001 MB / 1.388 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01971/3.565, allocations: 1.825 MB / 1.39 GB, free: 50.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005287/3.571, allocations: 1.047 MB / 1.391 GB, free: 49.12 MB / 0.5261 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.009005/3.58, allocations: 1.017 MB / 1.392 GB, free: 48.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002869/3.583, allocations: 0.8252 MB / 1.392 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04204/3.625, allocations: 30.2 MB / 1.422 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001542/3.625, allocations: 96.53 kB / 1.422 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/3.625, allocations: 8 kB / 1.422 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001148/3.625, allocations: 22.36 kB / 1.422 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4556/4.081, allocations: 69.78 MB / 1.49 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/4.081, allocations: 6.812 kB / 1.49 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01326/4.094, allocations: 2.167 MB / 1.492 GB, free: 82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/4.095, allocations: 318.9 kB / 1.493 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001836/4.097, allocations: 17.25 kB / 1.493 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/4.1, allocations: 4.106 MB / 1.497 GB, free: 78.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/4.1, allocations: 3.688 kB / 1.497 GB, free: 78.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05562/4.156, allocations: 50.87 MB / 1.546 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009863/4.166, allocations: 3.903 MB / 1.55 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005934/4.172, allocations: 9.188 kB / 1.55 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01249/4.184, allocations: 1.563 MB / 1.552 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002289/4.187, allocations: 283.2 kB / 1.552 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001698/4.188, allocations: 140.6 kB / 1.552 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01166/4.2, allocations: 5.2 MB / 1.557 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.51e-07/4.2, allocations: 0 / 1.557 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01982/4.22, allocations: 3.889 MB / 1.561 GB, free: 52.47 MB / 0.5261 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.002472/4.222, allocations: 227.4 kB / 1.561 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04327/4.266, allocations: 34.25 MB / 1.595 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/4.266, allocations: 4.625 kB / 1.595 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01711/4.283, allocations: 14.85 MB / 1.609 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009129/4.292, allocations: 1.153 MB / 1.61 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4589/4.751, allocations: 45.1 MB / 1.654 GB, free: 99.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02929/4.78, allocations: 11.37 MB / 1.665 GB, free: 98.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02172/4.802, allocations: 7.496 MB / 1.673 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005879/4.808, allocations: 0.6098 MB / 1.673 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of SimCode: time 7.62e-07/4.808, allocations: 0.8438 kB / 1.673 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of Templates: time 0.2081/5.016, allocations: 138.7 MB / 1.809 GB, free: 22.18 MB / 0.5417 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)