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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009368, allocations: 86.41 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000999/0.000999, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3892/0.3892, allocations: 40.01 MB / 310.4 MB, free: 9.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006128/0.0006132, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1238, allocations: 57.95 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.3339/0.4578, allocations: 84.68 MB / 0.5092 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05293/0.5108, allocations: 18.76 MB / 0.5276 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02101/0.5319, allocations: 431.2 kB / 0.528 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01863/0.5505, allocations: 4.598 MB / 0.5325 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04147/0.5921, allocations: 12.99 MB / 0.5452 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01045/0.6025, allocations: 1.759 MB / 0.5469 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.06249/0.6651, allocations: 43.12 MB / 0.589 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06811/0.7332, allocations: 39.87 MB / 0.6279 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.7434, allocations: 4.002 MB / 0.6318 GB, free: 76 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.6191/1.363, allocations: 6.329 MB / 0.638 GB, free: 47.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004692/1.367, allocations: 0.5475 MB / 0.6385 GB, free: 47.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/1.378, allocations: 1.703 MB / 0.6402 GB, free: 47.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0128/1.391, allocations: 6.585 MB / 0.6466 GB, free: 47.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01097/1.402, allocations: 3.292 MB / 0.6499 GB, free: 47.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05452/1.456, allocations: 27.89 MB / 0.6771 GB, free: 39.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/1.456, allocations: 2.531 kB / 0.6771 GB, free: 39.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.767e-06/1.456, allocations: 0 / 0.6771 GB, free: 39.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.002046/1.458, allocations: 0 / 0.6771 GB, free: 39.55 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5965 * Number of variables: 5965 Notification: Performance of Generate backend data structure: time 0.06389/1.522, allocations: 15.19 MB / 0.6919 GB, free: 31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.522, allocations: 9.75 kB / 0.6919 GB, free: 31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03462/1.557, allocations: 4.745 MB / 0.6966 GB, free: 28.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02953/1.586, allocations: 9.344 MB / 0.7057 GB, free: 26.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001702/1.588, allocations: 1.315 MB / 0.707 GB, free: 26.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01049/1.599, allocations: 1.736 MB / 0.7087 GB, free: 26.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1278/1.727, allocations: 40.94 MB / 0.7487 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001179/1.728, allocations: 98.73 kB / 0.7488 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01008/1.738, allocations: 0.7541 MB / 0.7495 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007262/1.745, allocations: 4.186 MB / 0.7536 GB, free: 13.3 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09305/1.838, allocations: 33.55 MB / 0.7863 GB, free: 1.762 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5731/2.411, allocations: 119.3 MB / 0.9028 GB, free: 143.2 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06296/2.475, allocations: 22.31 MB / 0.9246 GB, free: 140.7 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009383/2.484, allocations: 7.062 MB / 0.9315 GB, free: 140.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05387/2.538, allocations: 27.91 MB / 0.9588 GB, free: 126.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/2.538, allocations: 76.97 kB / 0.9588 GB, free: 126.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=372): time 1.458e-05/2.538, allocations: 2.75 kB / 0.9588 GB, free: 126.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=486): time 1.351/3.889, allocations: 326.5 MB / 1.278 GB, free: 65.61 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/3.889, allocations: 282.6 kB / 1.278 GB, free: 65.28 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02559/3.915, allocations: 10.16 MB / 1.288 GB, free: 55.11 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.003058/3.918, allocations: 97.7 kB / 1.288 GB, free: 55.01 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00902/3.927, allocations: 10.76 MB / 1.299 GB, free: 44.25 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.004977/3.932, allocations: 1.898 MB / 1.3 GB, free: 42.37 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005095/3.937, allocations: 349.7 kB / 1.301 GB, free: 42.04 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.003455/3.941, allocations: 1.041 MB / 1.302 GB, free: 40.98 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4017/4.343, allocations: 16.2 MB / 1.318 GB, free: 194.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0453/4.388, allocations: 26.84 MB / 1.344 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04082/4.429, allocations: 20.22 MB / 1.363 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006475/4.43, allocations: 109 kB / 1.364 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.09282/4.522, allocations: 43.26 MB / 1.406 GB, free: 136.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/4.523, allocations: 164 kB / 1.406 GB, free: 136.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001558/4.525, allocations: 379.6 kB / 1.406 GB, free: 136.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00464/4.53, allocations: 1.525 MB / 1.408 GB, free: 134.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02346/4.553, allocations: 5.276 MB / 1.413 GB, free: 130.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009447/4.563, allocations: 7.816 MB / 1.421 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02404/4.587, allocations: 2.134 MB / 1.423 GB, free: 122.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006906/4.594, allocations: 1.031 MB / 1.424 GB, free: 121.3 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1713 * Number of states: 0 () * Number of discrete variables: 48 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (2187): * Single equations (assignments): 2177 * 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 {(2,100.0%) 10,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02723/4.621, allocations: 7.841 MB / 1.431 GB, free: 114.4 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004568/4.626, allocations: 0.866 MB / 1.432 GB, free: 114 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05534/4.681, allocations: 31.2 MB / 1.463 GB, free: 87.07 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001623/4.681, allocations: 91.45 kB / 1.463 GB, free: 86.98 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.026e-05/4.681, allocations: 7.125 kB / 1.463 GB, free: 86.98 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001405/4.681, allocations: 35.66 kB / 1.463 GB, free: 86.96 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4835/5.165, allocations: 73.52 MB / 1.535 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/5.165, allocations: 0 / 1.535 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01183/5.177, allocations: 2.044 MB / 1.537 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002546/5.179, allocations: 0.9573 MB / 1.538 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002032/5.181, allocations: 81.89 kB / 1.538 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00642/5.188, allocations: 6.465 MB / 1.544 GB, free: 170 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/5.188, allocations: 3.781 kB / 1.544 GB, free: 170 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0779/5.266, allocations: 51.82 MB / 1.595 GB, free: 147.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009577/5.275, allocations: 3.998 MB / 1.598 GB, free: 145.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005335/5.281, allocations: 77.47 kB / 1.599 GB, free: 145.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01237/5.293, allocations: 1.608 MB / 1.6 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003276/5.297, allocations: 256.1 kB / 1.6 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002858/5.299, allocations: 130 kB / 1.6 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01803/5.317, allocations: 6.273 MB / 1.607 GB, free: 141 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.11e-07/5.317, allocations: 2 kB / 1.607 GB, free: 141 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.02557/5.343, allocations: 4.345 MB / 1.611 GB, free: 136.7 MB / 0.5763 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 434 * 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.003244/5.346, allocations: 294.8 kB / 1.611 GB, free: 136.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.05507/5.401, allocations: 35.68 MB / 1.646 GB, free: 104.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/5.401, allocations: 7.891 kB / 1.646 GB, free: 104.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.02121/5.423, allocations: 15.23 MB / 1.661 GB, free: 90.93 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01747/5.44, allocations: 1.39 MB / 1.662 GB, free: 89.77 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/5.543, allocations: 55.07 MB / 1.716 GB, free: 35.13 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02884/5.572, allocations: 11.02 MB / 1.727 GB, free: 24.06 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.373/5.945, allocations: 7.354 MB / 1.734 GB, free: 164.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008558/5.954, allocations: 0.6219 MB / 1.735 GB, free: 164.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.162e-06/5.954, allocations: 0 / 1.735 GB, free: 164.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.2354/6.189, allocations: 145.5 MB / 1.877 GB, free: 66.86 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: