Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.628/1.628, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3708/0.3708, allocations: 39.94 MB / 309.7 MB, free: 9.219 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.00145/0.00145, allocations: 63.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 56.89 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.2593/0.3941, allocations: 23.82 MB / 458.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.4101, allocations: 8.089 MB / 466.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007548/0.4178, allocations: 197.3 kB / 466.6 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03186/0.4497, allocations: 22.03 MB / 488.6 MB, free: 27.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01263/0.4624, allocations: 3.695 MB / 492.3 MB, free: 25.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009809/0.4722, allocations: 3.995 MB / 496.3 MB, free: 23.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01903/0.4913, allocations: 9.73 MB / 0.4942 GB, free: 19.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04947/0.5408, allocations: 32.18 MB / 0.5256 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01618/0.557, allocations: 7.025 MB / 0.5325 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/0.5726, allocations: 8.888 MB / 0.5412 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00916/0.5818, allocations: 2.25 MB / 0.5434 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.5952, allocations: 3.486 MB / 0.5468 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01417/0.6094, allocations: 8.499 MB / 0.5551 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02166/0.6311, allocations: 9.815 MB / 0.5646 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04515/0.6763, allocations: 32.88 MB / 0.5967 GB, free: 2.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.6764, allocations: 0 / 0.5967 GB, free: 2.371 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6764, allocations: 0 / 0.5967 GB, free: 2.371 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001274/0.6777, allocations: 0 / 0.5967 GB, free: 2.371 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5715 * Number of variables: 5715 Notification: Performance of Generate backend data structure: time 0.062/0.7397, allocations: 17.01 MB / 0.6134 GB, free: 1.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.7398, allocations: 15.83 kB / 0.6134 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02524/0.765, allocations: 3.819 MB / 0.6171 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/0.7855, allocations: 7.914 MB / 0.6248 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001511/0.787, allocations: 1.256 MB / 0.6261 GB, free: 4.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008504/0.7955, allocations: 1.652 MB / 0.6277 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5597/1.355, allocations: 36.8 MB / 0.6636 GB, free: 107.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001244/1.357, allocations: 120.5 kB / 0.6637 GB, free: 107.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008469/1.365, allocations: 0.7382 MB / 0.6644 GB, free: 106.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008381/1.374, allocations: 3.937 MB / 0.6683 GB, free: 106.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07542/1.449, allocations: 27.5 MB / 0.6951 GB, free: 93.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1495/1.599, allocations: 122.7 MB / 0.815 GB, free: 1.289 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02519/1.624, allocations: 8.174 MB / 0.823 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005046/1.629, allocations: 3.625 MB / 0.8265 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4366/2.065, allocations: 14.68 MB / 0.8409 GB, free: 143 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/2.066, allocations: 65.81 kB / 0.8409 GB, free: 142.9 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=274): time 5.931e-06/2.066, allocations: 0.9062 kB / 0.8409 GB, free: 142.9 MB / 0.5295 GB Notification: Performance of matching and sorting (n=309): time 0.1394/2.205, allocations: 51.41 MB / 0.8911 GB, free: 128.8 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/2.205, allocations: 217.9 kB / 0.8913 GB, free: 128.6 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/2.22, allocations: 10.71 MB / 0.9018 GB, free: 124.5 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0008442/2.221, allocations: 70.3 kB / 0.9019 GB, free: 124.5 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0073/2.229, allocations: 11.05 MB / 0.9127 GB, free: 116.1 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001885/2.231, allocations: 1.365 MB / 0.914 GB, free: 115.2 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005137/2.236, allocations: 3.828 MB / 0.9177 GB, free: 113.2 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 5.002e-05/2.236, allocations: 308.9 kB / 0.918 GB, free: 112.9 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007903/2.244, allocations: 6 MB / 0.9239 GB, free: 109.3 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01541/2.259, allocations: 18.49 MB / 0.9419 GB, free: 85.92 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02343/2.283, allocations: 26.44 MB / 0.9678 GB, free: 54.32 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003911/2.283, allocations: 128 kB / 0.9679 GB, free: 54.2 MB / 0.5295 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.04044/2.323, allocations: 23.58 MB / 0.9909 GB, free: 30.57 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002877/2.324, allocations: 196 kB / 0.9911 GB, free: 30.38 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005825/2.324, allocations: 452.1 kB / 0.9915 GB, free: 29.94 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/2.326, allocations: 1.091 MB / 0.9926 GB, free: 28.84 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01325/2.34, allocations: 4.389 MB / 0.9969 GB, free: 24.45 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004879/2.345, allocations: 4.971 MB / 1.002 GB, free: 19.35 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/2.358, allocations: 1.037 MB / 1.003 GB, free: 18.31 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00328/2.362, allocations: 1.156 MB / 1.004 GB, free: 17.16 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2039 * Number of states: 0 () * Number of discrete variables: 33 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (2325): * Single equations (assignments): 2317 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01362/2.375, allocations: 7.858 MB / 1.012 GB, free: 9.281 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/2.377, allocations: 0.8174 MB / 1.012 GB, free: 8.453 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008442/2.385, allocations: 5.979 MB / 1.018 GB, free: 2.426 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.996e-05/2.385, allocations: 38.44 kB / 1.018 GB, free: 2.391 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/2.385, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/2.385, allocations: 19.94 kB / 1.018 GB, free: 2.371 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3291/2.714, allocations: 20.43 MB / 1.038 GB, free: 137.1 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/2.714, allocations: 6.938 kB / 1.038 GB, free: 137.1 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/2.717, allocations: 0.5727 MB / 1.039 GB, free: 137.1 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/2.718, allocations: 493.8 kB / 1.039 GB, free: 137 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/2.719, allocations: 68.19 kB / 1.039 GB, free: 137 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/2.722, allocations: 3.459 MB / 1.043 GB, free: 134.9 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/2.722, allocations: 10 kB / 1.043 GB, free: 134.9 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/2.734, allocations: 9.797 MB / 1.052 GB, free: 131.2 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003819/2.738, allocations: 1.227 MB / 1.053 GB, free: 130.9 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001946/2.74, allocations: 55.3 kB / 1.053 GB, free: 130.9 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004263/2.745, allocations: 303.3 kB / 1.054 GB, free: 130.9 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/2.745, allocations: 173.7 kB / 1.054 GB, free: 130.8 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002466/2.745, allocations: 110.7 kB / 1.054 GB, free: 130.8 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.01439/2.76, allocations: 6.576 MB / 1.06 GB, free: 128.5 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.01e-07/2.76, allocations: 2.844 kB / 1.06 GB, free: 128.5 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01931/2.779, allocations: 2.89 MB / 1.063 GB, free: 128.2 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.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 (279): * Single equations (assignments): 271 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001579/2.781, allocations: 273.7 kB / 1.064 GB, free: 128 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.03032/2.811, allocations: 16.85 MB / 1.08 GB, free: 123.3 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/2.811, allocations: 448 / 1.08 GB, free: 123.3 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.004216/2.815, allocations: 2.796 MB / 1.083 GB, free: 122.3 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009229/2.825, allocations: 1.552 MB / 1.084 GB, free: 121.6 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06164/2.886, allocations: 29.27 MB / 1.113 GB, free: 107 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02654/2.913, allocations: 10.46 MB / 1.123 GB, free: 99 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.01761/2.93, allocations: 5.31 MB / 1.128 GB, free: 95.64 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/2.933, allocations: 0.6054 MB / 1.129 GB, free: 95.05 MB / 0.5452 GB Notification: Performance of SimCode: time 1.122e-06/2.933, allocations: 4 kB / 1.129 GB, free: 95.05 MB / 0.5452 GB Notification: Performance of Templates: time 0.1536/3.087, allocations: 80.32 MB / 1.207 GB, free: 18.92 MB / 0.5452 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)