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.009662/0.009662, allocations: 102 kB / 15.73 MB, free: 6.039 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.002148/0.002148, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.667/1.667, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.3746/0.3746, allocations: 39.95 MB / 309.8 MB, free: 9.57 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.002019/0.002019, allocations: 68.33 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.285, allocations: 56.87 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.0284/0.3134, allocations: 27.34 MB / 0.5078 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.3358, allocations: 8.761 MB / 0.5164 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007867/0.3437, allocations: 219.7 kB / 0.5166 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03922/0.3829, allocations: 22.09 MB / 0.5382 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01237/0.3953, allocations: 4.143 MB / 0.5422 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01093/0.4063, allocations: 4.818 MB / 0.5469 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01688/0.4232, allocations: 11.18 MB / 0.5578 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05654/0.4798, allocations: 32.79 MB / 0.5899 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.4934, allocations: 7.609 MB / 0.5973 GB, free: 8.953 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01528/0.5087, allocations: 9.554 MB / 0.6066 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006695/0.5155, allocations: 2.324 MB / 0.6089 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.5265, allocations: 3.63 MB / 0.6124 GB, free: 9.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01415/0.5407, allocations: 9.075 MB / 0.6213 GB, free: 332 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02006/0.5608, allocations: 10.29 MB / 0.6314 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.5689/1.13, allocations: 34.23 MB / 0.6648 GB, free: 62.31 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.13, allocations: 0 / 0.6648 GB, free: 62.31 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.843e-06/1.13, allocations: 0 / 0.6648 GB, free: 62.31 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001156/1.131, allocations: 0.5938 kB / 0.6648 GB, free: 62.31 MB / 0.4982 GB 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.06714/1.198, allocations: 19.16 MB / 0.6835 GB, free: 52.8 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.198, allocations: 13.05 kB / 0.6835 GB, free: 52.8 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03673/1.235, allocations: 4.663 MB / 0.688 GB, free: 50.55 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03024/1.265, allocations: 9.519 MB / 0.6973 GB, free: 45.32 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/1.266, allocations: 1.322 MB / 0.6986 GB, free: 44.77 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01034/1.277, allocations: 1.733 MB / 0.7003 GB, free: 44.23 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1126/1.389, allocations: 40.95 MB / 0.7403 GB, free: 8.793 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009686/1.39, allocations: 93.03 kB / 0.7404 GB, free: 8.738 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009488/1.4, allocations: 0.7673 MB / 0.7412 GB, free: 8.035 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005635/1.405, allocations: 4.175 MB / 0.7452 GB, free: 3.914 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09084/1.496, allocations: 33.61 MB / 0.7781 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5486/2.045, allocations: 118.4 MB / 0.8937 GB, free: 160 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05699/2.102, allocations: 22.04 MB / 0.9152 GB, free: 157.6 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008082/2.11, allocations: 7.07 MB / 0.9221 GB, free: 157.6 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04876/2.159, allocations: 27.9 MB / 0.9494 GB, free: 144.9 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.356e-05/2.159, allocations: 80.97 kB / 0.9494 GB, free: 144.8 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=372): time 1.076e-05/2.159, allocations: 0 / 0.9494 GB, free: 144.8 MB / 0.6232 GB Notification: Performance of matching and sorting (n=486): time 1.649/3.808, allocations: 325.1 MB / 1.267 GB, free: 169.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/3.808, allocations: 282 kB / 1.267 GB, free: 169.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02279/3.831, allocations: 10.22 MB / 1.277 GB, free: 158.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002932/3.834, allocations: 99.03 kB / 1.277 GB, free: 158.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.007413/3.841, allocations: 10.77 MB / 1.288 GB, free: 148.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.004381/3.846, allocations: 1.903 MB / 1.29 GB, free: 146.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01413/3.86, allocations: 3.789 MB / 1.293 GB, free: 142.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/3.86, allocations: 301.1 kB / 1.294 GB, free: 142.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02574/3.886, allocations: 16.26 MB / 1.309 GB, free: 125.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03465/3.921, allocations: 26.91 MB / 1.336 GB, free: 93.65 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05416/3.975, allocations: 45.23 MB / 1.38 GB, free: 43.13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000451/3.975, allocations: 112 kB / 1.38 GB, free: 43.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.5523/4.528, allocations: 43.39 MB / 1.422 GB, free: 228.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000244/4.528, allocations: 165.8 kB / 1.423 GB, free: 228.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005797/4.529, allocations: 374.6 kB / 1.423 GB, free: 228.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003643/4.532, allocations: 1.47 MB / 1.424 GB, free: 228.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02255/4.555, allocations: 5.284 MB / 1.43 GB, free: 228.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009168/4.564, allocations: 8.381 MB / 1.438 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02346/4.587, allocations: 2.133 MB / 1.44 GB, free: 221.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006498/4.594, allocations: 1.031 MB / 1.441 GB, free: 220.7 MB / 0.67 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.02825/4.622, allocations: 7.843 MB / 1.448 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003863/4.626, allocations: 0.8633 MB / 1.449 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05253/4.679, allocations: 31.23 MB / 1.48 GB, free: 186.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001815/4.679, allocations: 88.23 kB / 1.48 GB, free: 186.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/4.679, allocations: 5.531 kB / 1.48 GB, free: 186.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001332/4.679, allocations: 34.58 kB / 1.48 GB, free: 186.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1147/4.794, allocations: 73.35 MB / 1.552 GB, free: 112.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/4.794, allocations: 11.88 kB / 1.552 GB, free: 112.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01276/4.807, allocations: 2.047 MB / 1.554 GB, free: 110 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/4.809, allocations: 0.9577 MB / 1.554 GB, free: 109 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002664/4.812, allocations: 85.39 kB / 1.555 GB, free: 109 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006529/4.819, allocations: 6.907 MB / 1.561 GB, free: 101.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/4.819, allocations: 0 / 1.561 GB, free: 101.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06586/4.884, allocations: 51.87 MB / 1.612 GB, free: 50.37 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01443/4.899, allocations: 3.984 MB / 1.616 GB, free: 46.44 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005696/4.905, allocations: 73.33 kB / 1.616 GB, free: 46.37 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01373/4.918, allocations: 1.565 MB / 1.617 GB, free: 44.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003479/4.922, allocations: 258.9 kB / 1.618 GB, free: 44.55 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0011/4.923, allocations: 131.6 kB / 1.618 GB, free: 44.42 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01751/4.941, allocations: 6.333 MB / 1.624 GB, free: 38.11 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.733e-06/4.941, allocations: 0 / 1.624 GB, free: 38.11 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.02642/4.967, allocations: 4.34 MB / 1.628 GB, free: 33.78 MB / 0.67 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.003402/4.971, allocations: 317.2 kB / 1.629 GB, free: 33.46 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.4276/5.398, allocations: 35.81 MB / 1.664 GB, free: 241 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/5.398, allocations: 448 / 1.664 GB, free: 241 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.02014/5.418, allocations: 15.25 MB / 1.678 GB, free: 233.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01167/5.43, allocations: 1.507 MB / 1.68 GB, free: 233.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1085/5.539, allocations: 48 MB / 1.727 GB, free: 191.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03325/5.572, allocations: 11.02 MB / 1.738 GB, free: 183.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.02869/5.601, allocations: 7.348 MB / 1.745 GB, free: 176 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01005/5.611, allocations: 0.6166 MB / 1.745 GB, free: 175.4 MB / 0.67 GB Notification: Performance of SimCode: time 2.114e-06/5.611, allocations: 3.938 kB / 1.745 GB, free: 175.4 MB / 0.67 GB Notification: Performance of Templates: time 0.7632/6.374, allocations: 163.4 MB / 1.905 GB, free: 227.1 MB / 0.67 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)