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.001196/0.001195, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001664/0.001664, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.549/1.549, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.324/0.324, allocations: 39.92 MB / 309.4 MB, free: 9.285 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.001403/0.001403, allocations: 70.41 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1258, allocations: 56.88 MB / 434 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.2903/0.4162, allocations: 93.52 MB / 0.5151 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05662/0.4729, allocations: 19.6 MB / 0.5343 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03786/0.5109, allocations: 432.8 kB / 0.5347 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.039/0.5499, allocations: 21.58 MB / 0.5558 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0177/0.5677, allocations: 3.846 MB / 0.5595 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01323/0.5809, allocations: 4.625 MB / 0.564 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02239/0.6033, allocations: 11.45 MB / 0.5752 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06119/0.6646, allocations: 34.58 MB / 0.609 GB, free: 5.363 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01536/0.68, allocations: 7.624 MB / 0.6164 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01608/0.6961, allocations: 10.33 MB / 0.6265 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008755/0.7049, allocations: 2.328 MB / 0.6288 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.336/1.041, allocations: 3.653 MB / 0.6324 GB, free: 44.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01586/1.057, allocations: 9.147 MB / 0.6413 GB, free: 44.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02736/1.084, allocations: 10.34 MB / 0.6514 GB, free: 42.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05682/1.141, allocations: 33.76 MB / 0.6844 GB, free: 32.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.141, allocations: 0.9062 kB / 0.6844 GB, free: 32.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/1.141, allocations: 0 / 0.6844 GB, free: 32.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001686/1.143, allocations: 0 / 0.6844 GB, free: 32.54 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.07787/1.221, allocations: 19.16 MB / 0.7031 GB, free: 20.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.221, allocations: 19.52 kB / 0.7031 GB, free: 20.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03466/1.255, allocations: 4.657 MB / 0.7076 GB, free: 17.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02645/1.282, allocations: 9.435 MB / 0.7169 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001576/1.284, allocations: 1.321 MB / 0.7182 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01051/1.294, allocations: 1.731 MB / 0.7198 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1214/1.416, allocations: 40.95 MB / 0.7598 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009772/1.417, allocations: 98.06 kB / 0.7599 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009153/1.426, allocations: 0.7572 MB / 0.7607 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007057/1.433, allocations: 4.18 MB / 0.7648 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08835/1.521, allocations: 33.62 MB / 0.7976 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5651/2.086, allocations: 119.3 MB / 0.9141 GB, free: 77.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05389/2.14, allocations: 22.03 MB / 0.9356 GB, free: 73.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01005/2.15, allocations: 7.073 MB / 0.9425 GB, free: 72.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0514/2.202, allocations: 27.9 MB / 0.9697 GB, free: 48.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.901e-05/2.202, allocations: 80.89 kB / 0.9698 GB, free: 48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=372): time 7.774e-06/2.202, allocations: 0 / 0.9698 GB, free: 48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=486): time 1.398/3.601, allocations: 325.2 MB / 1.287 GB, free: 123.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/3.601, allocations: 283.8 kB / 1.288 GB, free: 123.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02982/3.631, allocations: 10.22 MB / 1.298 GB, free: 113 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.003545/3.634, allocations: 102.7 kB / 1.298 GB, free: 112.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.009501/3.644, allocations: 10.77 MB / 1.308 GB, free: 102.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.005189/3.649, allocations: 1.893 MB / 1.31 GB, free: 100.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01866/3.668, allocations: 3.785 MB / 1.314 GB, free: 96.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/3.668, allocations: 309.1 kB / 1.314 GB, free: 96.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02505/3.693, allocations: 16.26 MB / 1.33 GB, free: 79.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03587/3.729, allocations: 26.91 MB / 1.356 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4733/4.202, allocations: 45.24 MB / 1.4 GB, free: 231.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000467/4.203, allocations: 110.7 kB / 1.401 GB, free: 231.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.09015/4.293, allocations: 43.39 MB / 1.443 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002267/4.293, allocations: 164.1 kB / 1.443 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006628/4.294, allocations: 374.4 kB / 1.443 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003775/4.297, allocations: 1.475 MB / 1.445 GB, free: 213 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02261/4.32, allocations: 5.285 MB / 1.45 GB, free: 212.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009893/4.33, allocations: 8.386 MB / 1.458 GB, free: 207.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02482/4.355, allocations: 2.135 MB / 1.46 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006851/4.362, allocations: 1.03 MB / 1.461 GB, free: 207 MB / 0.6544 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.02558/4.387, allocations: 7.841 MB / 1.469 GB, free: 200.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003543/4.391, allocations: 0.8643 MB / 1.47 GB, free: 199.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04674/4.438, allocations: 31.23 MB / 1.5 GB, free: 172.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001715/4.438, allocations: 95.59 kB / 1.5 GB, free: 172.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/4.438, allocations: 7.938 kB / 1.5 GB, free: 172.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001477/4.438, allocations: 19.03 kB / 1.5 GB, free: 172.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1223/4.56, allocations: 73.55 MB / 1.572 GB, free: 98.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.591e-05/4.561, allocations: 3.984 kB / 1.572 GB, free: 98.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01288/4.573, allocations: 2.047 MB / 1.574 GB, free: 96.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/4.576, allocations: 0.9544 MB / 1.575 GB, free: 95.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002633/4.579, allocations: 85.08 kB / 1.575 GB, free: 95.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006414/4.585, allocations: 6.912 MB / 1.582 GB, free: 88.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/4.585, allocations: 0 / 1.582 GB, free: 88.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06906/4.654, allocations: 51.86 MB / 1.633 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01168/4.666, allocations: 3.993 MB / 1.637 GB, free: 33.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006788/4.673, allocations: 76.56 kB / 1.637 GB, free: 33.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01465/4.688, allocations: 1.573 MB / 1.638 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004388/4.692, allocations: 252 kB / 1.638 GB, free: 31.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002997/4.695, allocations: 124.7 kB / 1.639 GB, free: 31.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01824/4.713, allocations: 6.337 MB / 1.645 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.41e-07/4.713, allocations: 4.312 kB / 1.645 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.4275/5.141, allocations: 4.343 MB / 1.649 GB, free: 250.8 MB / 0.6544 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.004417/5.145, allocations: 308.2 kB / 1.649 GB, free: 250.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.08975/5.235, allocations: 49.9 MB / 1.698 GB, free: 241.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/5.235, allocations: 4.188 kB / 1.698 GB, free: 241.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02235/5.257, allocations: 15.26 MB / 1.713 GB, free: 234.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01908/5.277, allocations: 1.502 MB / 1.714 GB, free: 232.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1335/5.41, allocations: 56.56 MB / 1.77 GB, free: 181.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03768/5.448, allocations: 11.02 MB / 1.78 GB, free: 173 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.02963/5.478, allocations: 7.352 MB / 1.788 GB, free: 167.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009402/5.487, allocations: 0.6272 MB / 1.788 GB, free: 167.1 MB / 0.6544 GB Notification: Performance of SimCode: time 1.072e-06/5.487, allocations: 0 / 1.788 GB, free: 167.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.5321/6.019, allocations: 157.1 MB / 1.942 GB, free: 239.9 MB / 0.6544 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)