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.001386/0.001385, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001561/0.001561, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 222 MB, free: 4.777 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.2989/0.2989, allocations: 39.93 MB / 309.3 MB, free: 9.637 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.001347/0.001347, allocations: 63.89 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 56.89 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.3167/0.4467, allocations: 93.53 MB / 0.515 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05888/0.5056, allocations: 19.7 MB / 0.5342 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03255/0.5382, allocations: 433.6 kB / 0.5346 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03813/0.5765, allocations: 22.45 MB / 0.5566 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.591, allocations: 3.959 MB / 0.5604 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01268/0.6038, allocations: 4.707 MB / 0.565 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02661/0.6304, allocations: 19.18 MB / 0.5837 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04832/0.6788, allocations: 32.51 MB / 0.6155 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01434/0.6932, allocations: 6.532 MB / 0.6219 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3319/1.025, allocations: 9.972 MB / 0.6316 GB, free: 33.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006236/1.031, allocations: 1.659 MB / 0.6332 GB, free: 33.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/1.043, allocations: 3.073 MB / 0.6362 GB, free: 33.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0152/1.058, allocations: 8.472 MB / 0.6445 GB, free: 33.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03484/1.093, allocations: 9.582 MB / 0.6539 GB, free: 31.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05739/1.15, allocations: 33.16 MB / 0.6862 GB, free: 23.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.15, allocations: 2.906 kB / 0.6862 GB, free: 23.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/1.15, allocations: 0 / 0.6862 GB, free: 23.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001804/1.152, allocations: 0 / 0.6862 GB, free: 23.34 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.08789/1.24, allocations: 19.16 MB / 0.705 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.693e-05/1.24, allocations: 11.06 kB / 0.705 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03866/1.279, allocations: 4.661 MB / 0.7095 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03032/1.309, allocations: 9.435 MB / 0.7187 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002637/1.312, allocations: 1.32 MB / 0.72 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01629/1.328, allocations: 1.736 MB / 0.7217 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.162/1.49, allocations: 40.96 MB / 0.7617 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001172/1.491, allocations: 94.95 kB / 0.7618 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0122/1.504, allocations: 0.7615 MB / 0.7625 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008224/1.512, allocations: 4.173 MB / 0.7666 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09614/1.608, allocations: 33.61 MB / 0.7994 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5086/2.117, allocations: 119.3 MB / 0.9159 GB, free: 165 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06174/2.178, allocations: 22.06 MB / 0.9375 GB, free: 162.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009224/2.188, allocations: 7.07 MB / 0.9444 GB, free: 160.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04964/2.237, allocations: 27.9 MB / 0.9716 GB, free: 146.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.297e-05/2.238, allocations: 75.92 kB / 0.9717 GB, free: 146.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=372): time 1.075e-05/2.238, allocations: 0 / 0.9717 GB, free: 146.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=486): time 1.695/3.933, allocations: 325.1 MB / 1.289 GB, free: 122.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/3.933, allocations: 278.6 kB / 1.289 GB, free: 122.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02413/3.957, allocations: 10.22 MB / 1.299 GB, free: 112.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.003811/3.961, allocations: 103.1 kB / 1.299 GB, free: 112.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.01407/3.975, allocations: 10.76 MB / 1.31 GB, free: 101.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.006572/3.982, allocations: 1.902 MB / 1.312 GB, free: 99.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02686/4.008, allocations: 3.783 MB / 1.316 GB, free: 95.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001316/4.009, allocations: 305.1 kB / 1.316 GB, free: 95.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02476/4.033, allocations: 16.26 MB / 1.332 GB, free: 79.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03985/4.073, allocations: 26.91 MB / 1.358 GB, free: 47.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4481/4.521, allocations: 45.24 MB / 1.402 GB, free: 181.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003972/4.522, allocations: 108.2 kB / 1.402 GB, free: 181.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.1275/4.649, allocations: 43.39 MB / 1.445 GB, free: 163.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001038/4.651, allocations: 165.2 kB / 1.445 GB, free: 163.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001406/4.652, allocations: 376.5 kB / 1.445 GB, free: 163.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008483/4.661, allocations: 1.475 MB / 1.447 GB, free: 163.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04455/4.705, allocations: 5.282 MB / 1.452 GB, free: 163.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/4.721, allocations: 7.82 MB / 1.459 GB, free: 158.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03767/4.758, allocations: 2.131 MB / 1.462 GB, free: 158.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008369/4.767, allocations: 1.027 MB / 1.463 GB, free: 158.1 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,10,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.03422/4.801, allocations: 7.846 MB / 1.47 GB, free: 151.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00414/4.805, allocations: 0.8749 MB / 1.471 GB, free: 150.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05539/4.861, allocations: 31.22 MB / 1.502 GB, free: 123.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001776/4.861, allocations: 91.55 kB / 1.502 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.517e-05/4.861, allocations: 8 kB / 1.502 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001513/4.861, allocations: 20.77 kB / 1.502 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1417/5.003, allocations: 73.54 MB / 1.573 GB, free: 51.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-05/5.003, allocations: 7.844 kB / 1.573 GB, free: 51.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01434/5.017, allocations: 2.047 MB / 1.575 GB, free: 49.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003351/5.021, allocations: 0.9551 MB / 1.576 GB, free: 48.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003515/5.024, allocations: 79.98 kB / 1.576 GB, free: 48.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007431/5.032, allocations: 6.483 MB / 1.583 GB, free: 42.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/5.032, allocations: 0 / 1.583 GB, free: 42.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4655/5.497, allocations: 51.86 MB / 1.633 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01091/5.508, allocations: 3.984 MB / 1.637 GB, free: 191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005138/5.513, allocations: 77.36 kB / 1.637 GB, free: 191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01565/5.529, allocations: 1.567 MB / 1.639 GB, free: 190.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004438/5.534, allocations: 251.2 kB / 1.639 GB, free: 190.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001658/5.535, allocations: 130.4 kB / 1.639 GB, free: 190.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.02232/5.558, allocations: 6.335 MB / 1.645 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.052e-06/5.558, allocations: 0 / 1.645 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.02933/5.587, allocations: 4.343 MB / 1.65 GB, free: 188.3 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004253/5.591, allocations: 309.8 kB / 1.65 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0584/5.65, allocations: 35.77 MB / 1.685 GB, free: 172.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/5.65, allocations: 3.625 kB / 1.685 GB, free: 172.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02659/5.676, allocations: 15.26 MB / 1.7 GB, free: 158.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01807/5.694, allocations: 1.392 MB / 1.701 GB, free: 157.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/5.809, allocations: 56.56 MB / 1.756 GB, free: 106 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03514/5.844, allocations: 11.03 MB / 1.767 GB, free: 97.56 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.02698/5.871, allocations: 7.356 MB / 1.774 GB, free: 90.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008631/5.879, allocations: 0.6166 MB / 1.775 GB, free: 89.58 MB / 0.6075 GB Notification: Performance of SimCode: time 1.252e-06/5.879, allocations: 0 / 1.775 GB, free: 89.58 MB / 0.6075 GB Notification: Performance of Templates: time 0.5435/6.423, allocations: 151.1 MB / 1.923 GB, free: 153.2 MB / 0.6075 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)