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.001024/0.001024, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009077/0.0009078, allocations: 177.3 kB / 15.95 MB, free: 216 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.526/1.526, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3748/0.3748, allocations: 40 MB / 310.4 MB, free: 9.809 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.000936/0.0009361, allocations: 19.98 kB / 378.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1824, allocations: 57.96 MB / 436.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.3687/0.5512, allocations: 79.74 MB / 0.5044 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05047/0.6017, allocations: 19.64 MB / 0.5236 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02463/0.6264, allocations: 430.6 kB / 0.524 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0189/0.6453, allocations: 4.244 MB / 0.5281 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04563/0.691, allocations: 10.63 MB / 0.5385 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01105/0.7021, allocations: 1.84 MB / 0.5403 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.06493/0.767, allocations: 29.18 MB / 0.5688 GB, free: 484 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07336/0.8404, allocations: 39.54 MB / 0.6074 GB, free: 8.832 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00685/0.8473, allocations: 3.069 MB / 0.6104 GB, free: 5.754 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007963/0.8553, allocations: 3.897 MB / 0.6142 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0031/0.8585, allocations: 0.5508 MB / 0.6148 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006267/0.8648, allocations: 1.674 MB / 0.6164 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008854/0.8737, allocations: 6.079 MB / 0.6223 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006119/0.8798, allocations: 3.301 MB / 0.6256 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6582/1.538, allocations: 28.2 MB / 0.6531 GB, free: 50.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.538, allocations: 0 / 0.6531 GB, free: 50.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.358e-06/1.538, allocations: 0.75 kB / 0.6531 GB, free: 50.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001809/1.54, allocations: 0 / 0.6531 GB, free: 50.38 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.06535/1.605, allocations: 16.07 MB / 0.6688 GB, free: 41.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/1.605, allocations: 8.781 kB / 0.6688 GB, free: 41.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1723/1.778, allocations: 16.1 MB / 0.6845 GB, free: 36.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03544/1.813, allocations: 9.736 MB / 0.694 GB, free: 33.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001836/1.815, allocations: 1.314 MB / 0.6953 GB, free: 33.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01135/1.826, allocations: 1.734 MB / 0.697 GB, free: 33.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1259/1.952, allocations: 41.1 MB / 0.7371 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009753/1.953, allocations: 102.5 kB / 0.7372 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009275/1.963, allocations: 0.7577 MB / 0.738 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005994/1.969, allocations: 4.171 MB / 0.7421 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08954/2.058, allocations: 33.74 MB / 0.775 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5661/2.624, allocations: 119.2 MB / 0.8914 GB, free: 151.6 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06431/2.689, allocations: 22.3 MB / 0.9132 GB, free: 149.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04805/2.737, allocations: 27.49 MB / 0.94 GB, free: 140.2 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/2.737, allocations: 80.91 kB / 0.9401 GB, free: 140.1 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=372): time 1.256e-05/2.737, allocations: 0 / 0.9401 GB, free: 140.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=486): time 1.322/4.059, allocations: 327.4 MB / 1.26 GB, free: 77.18 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/4.059, allocations: 278.6 kB / 1.26 GB, free: 76.85 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02225/4.081, allocations: 10.44 MB / 1.27 GB, free: 66.41 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.002776/4.084, allocations: 102.7 kB / 1.27 GB, free: 66.31 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00663/4.091, allocations: 10.82 MB / 1.281 GB, free: 55.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003947/4.095, allocations: 1.884 MB / 1.283 GB, free: 53.62 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003633/4.098, allocations: 339.8 kB / 1.283 GB, free: 53.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.002011/4.1, allocations: 1.031 MB / 1.284 GB, free: 52.26 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02423/4.125, allocations: 15.98 MB / 1.3 GB, free: 36.27 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3726/4.497, allocations: 26.53 MB / 1.326 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0395/4.537, allocations: 20 MB / 1.345 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009966/4.538, allocations: 106.2 kB / 1.345 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2205) (initialization): time 0.07994/4.618, allocations: 42.28 MB / 1.387 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004125/4.618, allocations: 168 kB / 1.387 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008952/4.619, allocations: 376 kB / 1.387 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/4.622, allocations: 1.011 MB / 1.388 GB, free: 150 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02444/4.646, allocations: 5.224 MB / 1.393 GB, free: 145.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/4.653, allocations: 6.526 MB / 1.399 GB, free: 139.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02353/4.676, allocations: 2.11 MB / 1.402 GB, free: 138.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005985/4.682, allocations: 1.02 MB / 1.403 GB, free: 137.4 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 (2149): * Single equations (assignments): 2139 * 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.02817/4.711, allocations: 7.846 MB / 1.41 GB, free: 130.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004415/4.715, allocations: 0.873 MB / 1.411 GB, free: 130.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0421/4.757, allocations: 30.46 MB / 1.441 GB, free: 102.5 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001332/4.757, allocations: 89.62 kB / 1.441 GB, free: 102.4 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/4.757, allocations: 4 kB / 1.441 GB, free: 102.4 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-05/4.758, allocations: 27.91 kB / 1.441 GB, free: 102.4 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1081/4.866, allocations: 72.82 MB / 1.512 GB, free: 26.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/4.866, allocations: 4 kB / 1.512 GB, free: 26.76 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3417/5.207, allocations: 2.039 MB / 1.514 GB, free: 184.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/5.209, allocations: 461.4 kB / 1.514 GB, free: 184.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002116/5.211, allocations: 84.06 kB / 1.515 GB, free: 184.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005589/5.217, allocations: 5.144 MB / 1.52 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/5.217, allocations: 2 kB / 1.52 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08075/5.298, allocations: 51.08 MB / 1.569 GB, free: 162.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01253/5.31, allocations: 3.977 MB / 1.573 GB, free: 160.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006159/5.316, allocations: 76 kB / 1.573 GB, free: 160.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01514/5.331, allocations: 1.592 MB / 1.575 GB, free: 160.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003666/5.335, allocations: 255 kB / 1.575 GB, free: 160.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001731/5.337, allocations: 130.1 kB / 1.575 GB, free: 160.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01475/5.352, allocations: 6.501 MB / 1.582 GB, free: 158.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.21e-07/5.352, allocations: 96 / 1.582 GB, free: 158.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.02348/5.375, allocations: 4.312 MB / 1.586 GB, free: 155.4 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.003535/5.379, allocations: 304.3 kB / 1.586 GB, free: 155.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.05296/5.432, allocations: 35.27 MB / 1.621 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/5.432, allocations: 8.625 kB / 1.621 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01956/5.451, allocations: 15.06 MB / 1.635 GB, free: 110.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01066/5.462, allocations: 1.346 MB / 1.637 GB, free: 109.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1057/5.568, allocations: 54.68 MB / 1.69 GB, free: 54.45 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0273/5.595, allocations: 11.33 MB / 1.701 GB, free: 43.07 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.03055/5.626, allocations: 7.364 MB / 1.708 GB, free: 35.71 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01021/5.636, allocations: 0.6244 MB / 1.709 GB, free: 35.09 MB / 0.5763 GB Notification: Performance of SimCode: time 1.673e-06/5.636, allocations: 0 / 1.709 GB, free: 35.09 MB / 0.5763 GB Notification: Performance of Templates: time 0.5633/6.199, allocations: 144.4 MB / 1.85 GB, free: 87.71 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: