Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Sensors.RelativeSensor") translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008277/0.0008276, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.007114/0.007114, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3129/0.3129, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.1. 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.0005327/0.0005328, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1265, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.2503/0.3768, allocations: 91.19 MB / 0.5134 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0486/0.4254, allocations: 19.64 MB / 0.5326 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0259/0.4514, allocations: 431.2 kB / 0.533 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006681/0.4581, allocations: 1.403 MB / 0.5344 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01491/0.473, allocations: 3.969 MB / 0.5383 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007644/0.4807, allocations: 2.193 MB / 0.5404 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02677/0.5075, allocations: 19.17 MB / 0.5591 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06748/0.5751, allocations: 47.58 MB / 0.6056 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008651/0.5838, allocations: 3.755 MB / 0.6093 GB, free: 8.945 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.5951, allocations: 6.516 MB / 0.6156 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00239/0.5976, allocations: 0.5508 MB / 0.6162 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/0.603, allocations: 1.962 MB / 0.6181 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007987/0.611, allocations: 6.713 MB / 0.6246 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01224/0.6233, allocations: 7.502 MB / 0.632 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5637/1.187, allocations: 31.59 MB / 0.6628 GB, free: 34.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.187, allocations: 0 / 0.6628 GB, free: 34.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.699e-06/1.187, allocations: 0 / 0.6628 GB, free: 34.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001492/1.189, allocations: 4.469 kB / 0.6628 GB, free: 34.19 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.05157/1.24, allocations: 15 MB / 0.6775 GB, free: 25.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.24, allocations: 9.594 kB / 0.6775 GB, free: 25.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03966/1.28, allocations: 4.743 MB / 0.6821 GB, free: 23.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02366/1.304, allocations: 9.441 MB / 0.6913 GB, free: 21.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/1.305, allocations: 1.317 MB / 0.6926 GB, free: 21.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008977/1.314, allocations: 1.734 MB / 0.6943 GB, free: 21.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.105/1.419, allocations: 41.09 MB / 0.7344 GB, free: 15.98 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007846/1.42, allocations: 93.88 kB / 0.7345 GB, free: 15.93 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009261/1.429, allocations: 0.764 MB / 0.7353 GB, free: 15.23 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007165/1.436, allocations: 4.174 MB / 0.7393 GB, free: 11.11 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08451/1.521, allocations: 33.74 MB / 0.7723 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5015/2.022, allocations: 119.3 MB / 0.8888 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06141/2.084, allocations: 22.33 MB / 0.9106 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008572/2.092, allocations: 7.064 MB / 0.9175 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03902/2.131, allocations: 27.92 MB / 0.9448 GB, free: 154.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/2.131, allocations: 77.48 kB / 0.9449 GB, free: 154.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=372): time 7.063e-06/2.131, allocations: 0 / 0.9449 GB, free: 154.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=486): time 1.337/3.468, allocations: 326.5 MB / 1.264 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/3.468, allocations: 288.6 kB / 1.264 GB, free: 105.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02079/3.489, allocations: 10.22 MB / 1.274 GB, free: 95.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.002464/3.492, allocations: 106.5 kB / 1.274 GB, free: 95.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.006146/3.498, allocations: 10.76 MB / 1.285 GB, free: 84.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.004869/3.503, allocations: 1.899 MB / 1.286 GB, free: 82.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007346/3.51, allocations: 1.412 MB / 1.288 GB, free: 81.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/3.51, allocations: 305.1 kB / 1.288 GB, free: 81.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02197/3.532, allocations: 16.26 MB / 1.304 GB, free: 64.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3249/3.857, allocations: 26.9 MB / 1.33 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05851/3.916, allocations: 45.25 MB / 1.374 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004127/3.916, allocations: 105.9 kB / 1.375 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.07158/3.988, allocations: 43.39 MB / 1.417 GB, free: 152.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/3.988, allocations: 171.4 kB / 1.417 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005382/3.988, allocations: 379.7 kB / 1.417 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/3.991, allocations: 1.47 MB / 1.419 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02123/4.013, allocations: 5.278 MB / 1.424 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008377/4.021, allocations: 7.808 MB / 1.432 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02118/4.042, allocations: 2.136 MB / 1.434 GB, free: 138 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005434/4.048, allocations: 1.029 MB / 1.435 GB, free: 137 MB / 0.5919 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.01825/4.066, allocations: 7.839 MB / 1.442 GB, free: 130.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002278/4.068, allocations: 0.8704 MB / 1.443 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04349/4.112, allocations: 31.23 MB / 1.474 GB, free: 101.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001298/4.112, allocations: 91.97 kB / 1.474 GB, free: 101.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/4.112, allocations: 8 kB / 1.474 GB, free: 101.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-05/4.112, allocations: 19.92 kB / 1.474 GB, free: 101.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09749/4.21, allocations: 73.55 MB / 1.546 GB, free: 25.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/4.21, allocations: 4 kB / 1.546 GB, free: 25.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3018/4.512, allocations: 2.043 MB / 1.548 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002854/4.514, allocations: 0.9521 MB / 1.549 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001861/4.516, allocations: 85.48 kB / 1.549 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007264/4.524, allocations: 6.486 MB / 1.555 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/4.524, allocations: 7.406 kB / 1.555 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06952/4.593, allocations: 51.86 MB / 1.606 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008217/4.601, allocations: 3.994 MB / 1.61 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004137/4.606, allocations: 77.5 kB / 1.61 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01249/4.618, allocations: 1.608 MB / 1.611 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003016/4.621, allocations: 259.1 kB / 1.612 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001901/4.623, allocations: 130.8 kB / 1.612 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01249/4.636, allocations: 6.333 MB / 1.618 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.042e-06/4.636, allocations: 0 / 1.618 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0201/4.656, allocations: 4.341 MB / 1.622 GB, free: 170.8 MB / 0.5919 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.003136/4.659, allocations: 309.2 kB / 1.622 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04701/4.706, allocations: 35.77 MB / 1.657 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/4.706, allocations: 448 / 1.657 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01926/4.725, allocations: 15.26 MB / 1.672 GB, free: 124.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01296/4.738, allocations: 1.402 MB / 1.674 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08405/4.822, allocations: 56.64 MB / 1.729 GB, free: 66.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01951/4.842, allocations: 11.04 MB / 1.74 GB, free: 55.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.02482/4.867, allocations: 7.347 MB / 1.747 GB, free: 48.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007857/4.875, allocations: 0.6166 MB / 1.747 GB, free: 47.94 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/4.875, allocations: 0 / 1.747 GB, free: 47.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.5019/5.377, allocations: 148.5 MB / 1.892 GB, free: 109.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe 2>&1) Environment - environmentSimulation: