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.005646/0.005646, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001068/0.001068, allocations: 186.1 kB / 16.67 MB, free: 5.949 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3075/0.3075, allocations: 39.94 MB / 309.8 MB, free: 9.43 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.001473/0.001473, allocations: 63.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3391, allocations: 56.88 MB / 492.7 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.02637/0.3655, allocations: 27.34 MB / 0.5078 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02592/0.3914, allocations: 8.764 MB / 0.5164 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009148/0.4006, allocations: 224 kB / 0.5166 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03834/0.4391, allocations: 22.1 MB / 0.5382 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.4523, allocations: 4.128 MB / 0.5422 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01278/0.4651, allocations: 4.83 MB / 0.5469 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02002/0.4852, allocations: 11.18 MB / 0.5578 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05538/0.5406, allocations: 32.8 MB / 0.5899 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01528/0.556, allocations: 7.57 MB / 0.5973 GB, free: 9.004 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01695/0.573, allocations: 9.554 MB / 0.6066 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007188/0.5802, allocations: 2.324 MB / 0.6089 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/0.5907, allocations: 3.634 MB / 0.6124 GB, free: 9.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01472/0.6054, allocations: 9.052 MB / 0.6213 GB, free: 408 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02336/0.6288, allocations: 10.29 MB / 0.6313 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.6981/1.327, allocations: 34.23 MB / 0.6647 GB, free: 62.47 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/1.327, allocations: 3.312 kB / 0.6647 GB, free: 62.47 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.974e-06/1.327, allocations: 0.75 kB / 0.6647 GB, free: 62.47 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001867/1.329, allocations: 0 / 0.6647 GB, free: 62.47 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.09636/1.425, allocations: 19.15 MB / 0.6834 GB, free: 52.91 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/1.425, allocations: 12.61 kB / 0.6835 GB, free: 52.91 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0465/1.472, allocations: 4.661 MB / 0.688 GB, free: 50.67 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04534/1.517, allocations: 9.522 MB / 0.6973 GB, free: 45.43 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001583/1.519, allocations: 1.317 MB / 0.6986 GB, free: 44.88 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01564/1.535, allocations: 1.733 MB / 0.7003 GB, free: 44.34 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1628/1.697, allocations: 40.96 MB / 0.7403 GB, free: 8.902 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001467/1.699, allocations: 96.55 kB / 0.7404 GB, free: 8.844 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01305/1.712, allocations: 0.7597 MB / 0.7411 GB, free: 8.152 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006767/1.719, allocations: 4.172 MB / 0.7452 GB, free: 4.031 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09307/1.812, allocations: 33.61 MB / 0.778 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6769/2.489, allocations: 118.4 MB / 0.8936 GB, free: 160.1 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05898/2.548, allocations: 22.04 MB / 0.9152 GB, free: 157.7 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008864/2.557, allocations: 7.079 MB / 0.9221 GB, free: 157.7 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0498/2.607, allocations: 27.89 MB / 0.9493 GB, free: 145 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.393e-05/2.607, allocations: 80.53 kB / 0.9494 GB, free: 144.9 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=372): time 9.288e-06/2.607, allocations: 1.406 kB / 0.9494 GB, free: 144.9 MB / 0.6232 GB Notification: Performance of matching and sorting (n=486): time 1.494/4.101, allocations: 325.1 MB / 1.267 GB, free: 169.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/4.101, allocations: 280.4 kB / 1.267 GB, free: 169.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01836/4.12, allocations: 10.23 MB / 1.277 GB, free: 159.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002801/4.122, allocations: 104 kB / 1.277 GB, free: 159 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.007305/4.13, allocations: 10.76 MB / 1.288 GB, free: 148.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.004767/4.135, allocations: 1.902 MB / 1.29 GB, free: 146.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01386/4.148, allocations: 3.783 MB / 1.293 GB, free: 142.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/4.149, allocations: 301.1 kB / 1.294 GB, free: 142.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02222/4.171, allocations: 16.26 MB / 1.309 GB, free: 125.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03137/4.202, allocations: 26.92 MB / 1.336 GB, free: 93.76 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05041/4.253, allocations: 45.24 MB / 1.38 GB, free: 43.24 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004014/4.253, allocations: 108.6 kB / 1.38 GB, free: 43.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.5207/4.774, allocations: 43.39 MB / 1.422 GB, free: 228.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003094/4.774, allocations: 165.8 kB / 1.423 GB, free: 228.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009021/4.775, allocations: 375.1 kB / 1.423 GB, free: 228.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003944/4.779, allocations: 1.47 MB / 1.424 GB, free: 228.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02427/4.803, allocations: 5.279 MB / 1.429 GB, free: 228.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009235/4.813, allocations: 8.38 MB / 1.438 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02358/4.836, allocations: 2.143 MB / 1.44 GB, free: 221.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006758/4.843, allocations: 1.027 MB / 1.441 GB, free: 220.8 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.02327/4.866, allocations: 7.841 MB / 1.448 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003195/4.87, allocations: 0.8664 MB / 1.449 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04791/4.918, allocations: 31.22 MB / 1.48 GB, free: 186.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001244/4.918, allocations: 91.84 kB / 1.48 GB, free: 186.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/4.918, allocations: 4 kB / 1.48 GB, free: 186.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.599e-05/4.918, allocations: 27.58 kB / 1.48 GB, free: 186.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.108/5.026, allocations: 73.36 MB / 1.552 GB, free: 112.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/5.026, allocations: 3.938 kB / 1.552 GB, free: 112.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01354/5.039, allocations: 2.055 MB / 1.554 GB, free: 110.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/5.042, allocations: 0.9573 MB / 1.554 GB, free: 109.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002122/5.044, allocations: 85.55 kB / 1.555 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006484/5.051, allocations: 6.9 MB / 1.561 GB, free: 102 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/5.051, allocations: 8 kB / 1.561 GB, free: 101.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06434/5.115, allocations: 51.86 MB / 1.612 GB, free: 50.51 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01215/5.127, allocations: 3.991 MB / 1.616 GB, free: 46.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004801/5.132, allocations: 74.81 kB / 1.616 GB, free: 46.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0139/5.146, allocations: 1.567 MB / 1.617 GB, free: 44.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003938/5.15, allocations: 262.9 kB / 1.618 GB, free: 44.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002426/5.153, allocations: 131.7 kB / 1.618 GB, free: 44.56 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01601/5.169, allocations: 6.329 MB / 1.624 GB, free: 38.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.11e-07/5.169, allocations: 384 / 1.624 GB, free: 38.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0257/5.194, allocations: 4.341 MB / 1.628 GB, free: 33.92 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.004097/5.198, allocations: 312.2 kB / 1.629 GB, free: 33.61 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.4477/5.646, allocations: 35.81 MB / 1.663 GB, free: 241 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/5.646, allocations: 448 / 1.663 GB, free: 241 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.02122/5.667, 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.01492/5.682, allocations: 1.494 MB / 1.68 GB, free: 233.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09849/5.781, allocations: 48.01 MB / 1.727 GB, free: 192.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03196/5.813, allocations: 11.02 MB / 1.737 GB, free: 183.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.02306/5.836, allocations: 7.352 MB / 1.745 GB, free: 176.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007746/5.844, allocations: 0.6205 MB / 1.745 GB, free: 175.5 MB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/5.844, allocations: 4 kB / 1.745 GB, free: 175.5 MB / 0.67 GB Notification: Performance of Templates: time 0.6446/6.489, allocations: 163.6 MB / 1.905 GB, free: 226.9 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)