Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001318/0.001319, allocations: 108 kB / 15.61 MB, free: 152 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.001365/0.001365, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.697/1.697, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.4409/0.4409, allocations: 38 MB / 307.8 MB, free: 9.973 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.001655/0.001655, allocations: 74.78 kB / 375.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1495, allocations: 56.46 MB / 431.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3085/0.458, allocations: 23.84 MB / 455.5 MB, free: 35.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.4761, allocations: 8.079 MB / 463.6 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007533/0.4837, allocations: 198.1 kB / 463.8 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03307/0.5168, allocations: 22.03 MB / 485.8 MB, free: 28.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01488/0.5318, allocations: 3.7 MB / 489.5 MB, free: 26.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.5422, allocations: 3.99 MB / 493.5 MB, free: 25.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02009/0.5623, allocations: 9.738 MB / 0.4915 GB, free: 21.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04985/0.6122, allocations: 32.18 MB / 0.5229 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01568/0.6279, allocations: 7.021 MB / 0.5298 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01603/0.644, allocations: 8.888 MB / 0.5384 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008299/0.6524, allocations: 2.25 MB / 0.5406 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.6653, allocations: 3.49 MB / 0.544 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0165/0.6819, allocations: 8.503 MB / 0.5523 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02633/0.7082, allocations: 9.812 MB / 0.5619 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04289/0.7512, allocations: 32.88 MB / 0.594 GB, free: 6.566 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.7512, allocations: 0 / 0.594 GB, free: 6.566 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.7512, allocations: 7.938 kB / 0.594 GB, free: 6.559 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001711/0.7529, allocations: 0 / 0.594 GB, free: 6.559 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.05337/0.8063, allocations: 16.99 MB / 0.6106 GB, free: 5.465 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.8064, allocations: 11.89 kB / 0.6106 GB, free: 5.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02314/0.8295, allocations: 3.823 MB / 0.6144 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02215/0.8517, allocations: 7.925 MB / 0.6221 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001464/0.8532, allocations: 1.26 MB / 0.6233 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007503/0.8608, allocations: 1.648 MB / 0.625 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.542/1.403, allocations: 36.8 MB / 0.6609 GB, free: 108.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001343/1.404, allocations: 113.9 kB / 0.661 GB, free: 108.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00673/1.411, allocations: 0.7472 MB / 0.6617 GB, free: 108 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007739/1.419, allocations: 3.937 MB / 0.6656 GB, free: 107.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07282/1.492, allocations: 27.49 MB / 0.6924 GB, free: 97.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1775/1.669, allocations: 122.7 MB / 0.8123 GB, free: 7.852 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02514/1.694, allocations: 8.164 MB / 0.8203 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00541/1.7, allocations: 3.629 MB / 0.8238 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4294/2.129, allocations: 14.68 MB / 0.8381 GB, free: 148.9 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/2.129, allocations: 65.06 kB / 0.8382 GB, free: 148.8 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=274): time 6.682e-06/2.129, allocations: 0 / 0.8382 GB, free: 148.8 MB / 0.5295 GB Notification: Performance of matching and sorting (n=309): time 0.1412/2.271, allocations: 51.4 MB / 0.8884 GB, free: 134.9 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/2.271, allocations: 214.9 kB / 0.8886 GB, free: 134.6 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02217/2.293, allocations: 10.71 MB / 0.8991 GB, free: 130.6 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0008147/2.294, allocations: 78.69 kB / 0.8991 GB, free: 130.5 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.008683/2.303, allocations: 11.05 MB / 0.9099 GB, free: 122.1 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002001/2.305, allocations: 1.357 MB / 0.9113 GB, free: 121.2 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01066/2.315, allocations: 3.844 MB / 0.915 GB, free: 119.2 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 8.28e-05/2.315, allocations: 301.1 kB / 0.9153 GB, free: 118.9 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/2.326, allocations: 5.998 MB / 0.9212 GB, free: 116.8 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01827/2.344, allocations: 18.5 MB / 0.9392 GB, free: 93.94 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02451/2.369, allocations: 26.44 MB / 0.965 GB, free: 62.6 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005553/2.369, allocations: 132 kB / 0.9652 GB, free: 62.47 MB / 0.5295 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.04137/2.411, allocations: 23.58 MB / 0.9882 GB, free: 39.34 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007198/2.412, allocations: 196 kB / 0.9884 GB, free: 39.14 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008972/2.412, allocations: 446.2 kB / 0.9888 GB, free: 38.71 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/2.415, allocations: 1.099 MB / 0.9899 GB, free: 37.61 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01349/2.429, allocations: 4.378 MB / 0.9942 GB, free: 33.22 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005934/2.435, allocations: 4.97 MB / 0.999 GB, free: 28.12 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01471/2.449, allocations: 1.041 MB / 1 GB, free: 27.09 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003315/2.453, allocations: 1.152 MB / 1.001 GB, free: 25.93 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.01526/2.468, allocations: 7.866 MB / 1.009 GB, free: 18.05 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002035/2.47, allocations: 0.8213 MB / 1.01 GB, free: 17.22 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/2.481, allocations: 5.972 MB / 1.015 GB, free: 11.2 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.992e-05/2.481, allocations: 39.94 kB / 1.016 GB, free: 11.16 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.111e-05/2.481, allocations: 0 / 1.016 GB, free: 11.16 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.406e-05/2.481, allocations: 15.95 kB / 1.016 GB, free: 11.14 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3374/2.819, allocations: 20.43 MB / 1.035 GB, free: 138.1 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/2.819, allocations: 4.125 kB / 1.035 GB, free: 138.1 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/2.822, allocations: 0.5731 MB / 1.036 GB, free: 138.1 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/2.823, allocations: 499.3 kB / 1.037 GB, free: 138.1 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004899/2.824, allocations: 58.38 kB / 1.037 GB, free: 138.1 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/2.827, allocations: 3.463 MB / 1.04 GB, free: 136.7 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/2.827, allocations: 6.344 kB / 1.04 GB, free: 136.7 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/2.84, allocations: 9.798 MB / 1.05 GB, free: 133 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002866/2.843, allocations: 1.225 MB / 1.051 GB, free: 132.7 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/2.845, allocations: 54.61 kB / 1.051 GB, free: 132.7 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003511/2.848, allocations: 303.5 kB / 1.051 GB, free: 132.7 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/2.849, allocations: 175 kB / 1.051 GB, free: 132.7 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/2.849, allocations: 107.5 kB / 1.051 GB, free: 132.6 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.01064/2.86, allocations: 6.586 MB / 1.058 GB, free: 130.3 MB / 0.5452 GB Notification: Performance of sort global known variables: time 5.51e-07/2.86, allocations: 1.375 kB / 1.058 GB, free: 130.3 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.02068/2.88, allocations: 2.888 MB / 1.061 GB, free: 130 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.001673/2.882, allocations: 279.8 kB / 1.061 GB, free: 129.8 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.03106/2.913, allocations: 16.85 MB / 1.077 GB, free: 125.1 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/2.913, allocations: 448 / 1.077 GB, free: 125.1 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.004399/2.918, allocations: 2.794 MB / 1.08 GB, free: 124 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008073/2.926, allocations: 1.55 MB / 1.082 GB, free: 123.4 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05967/2.985, allocations: 29.27 MB / 1.11 GB, free: 110.6 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02215/3.008, allocations: 10.46 MB / 1.12 GB, free: 104.4 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.01477/3.022, allocations: 5.314 MB / 1.126 GB, free: 101 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002832/3.025, allocations: 0.6039 MB / 1.126 GB, free: 100.4 MB / 0.5452 GB Notification: Performance of SimCode: time 1.943e-06/3.025, allocations: 0 / 1.126 GB, free: 100.4 MB / 0.5452 GB Notification: Performance of Templates: time 0.1509/3.176, allocations: 80.32 MB / 1.205 GB, free: 25.33 MB / 0.5452 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)