Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.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.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009694, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001059/0.001059, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3483/0.3483, allocations: 40 MB / 310.4 MB, free: 9.895 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.0007576/0.0007578, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1345, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.4123/0.5469, allocations: 28.99 MB / 465.8 MB, free: 33.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02571/0.5726, allocations: 7.544 MB / 473.3 MB, free: 31.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0108/0.5835, allocations: 141.5 kB / 473.4 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007605/0.5912, allocations: 1.401 MB / 474.8 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02197/0.6132, allocations: 4.297 MB / 479.1 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.6167, allocations: 481.4 kB / 479.6 MB, free: 30.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0282/0.6449, allocations: 13.77 MB / 493.4 MB, free: 26.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007694/0.6527, allocations: 2.642 MB / 496 MB, free: 25.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.656, allocations: 0.8226 MB / 496.8 MB, free: 25.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.6599, allocations: 1.138 MB / 498 MB, free: 24.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.6613, allocations: 112.8 kB / 498.1 MB, free: 24.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.6654, allocations: 0.8848 MB / 499 MB, free: 24.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003303/0.6687, allocations: 1.268 MB / 0.4885 GB, free: 24.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002507/0.6713, allocations: 0.6692 MB / 0.4892 GB, free: 23.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.683, allocations: 4.534 MB / 0.4936 GB, free: 22.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6831, allocations: 1 kB / 0.4936 GB, free: 22.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.01e-06/0.6831, allocations: 0 / 0.4936 GB, free: 22.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002944/0.6834, allocations: 0 / 0.4936 GB, free: 22.69 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.01781/0.7013, allocations: 3.386 MB / 0.4969 GB, free: 20.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.7014, allocations: 13 kB / 0.4969 GB, free: 20.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1107/0.8121, allocations: 8.236 MB / 0.505 GB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00919/0.8213, allocations: 2.453 MB / 0.5074 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004066/0.8218, allocations: 172.3 kB / 0.5075 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/0.8245, allocations: 231.8 kB / 0.5077 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/0.8439, allocations: 7.855 MB / 0.5154 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002652/0.8442, allocations: 39.59 kB / 0.5154 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001535/0.8458, allocations: 111.9 kB / 0.5156 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003119/0.8489, allocations: 1.664 MB / 0.5172 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/0.8628, allocations: 6.656 MB / 0.5237 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04736/0.9102, allocations: 31.31 MB / 0.5542 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005263/0.9155, allocations: 2.291 MB / 0.5565 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006259/0.9162, allocations: 319.8 kB / 0.5568 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.9163, allocations: 51.06 kB / 0.5568 GB, free: 10.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 5.059e-06/0.9163, allocations: 0 / 0.5568 GB, free: 10.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=141): time 0.03767/0.954, allocations: 11.69 MB / 0.5683 GB, free: 15.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.9542, allocations: 200.6 kB / 0.5684 GB, free: 14.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005625/0.9598, allocations: 3.854 MB / 0.5722 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003241/0.9601, allocations: 41.7 kB / 0.5722 GB, free: 10.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.9622, allocations: 2.678 MB / 0.5749 GB, free: 8.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007257/0.9629, allocations: 0.5672 MB / 0.5754 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.9631, allocations: 104 kB / 0.5755 GB, free: 7.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003606/0.9635, allocations: 0.5332 MB / 0.576 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/0.9663, allocations: 1.677 MB / 0.5777 GB, free: 5.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004862/0.9712, allocations: 5.087 MB / 0.5826 GB, free: 14.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/0.9753, allocations: 2.878 MB / 0.5855 GB, free: 11.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.027e-05/0.9754, allocations: 36 kB / 0.5855 GB, free: 11.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01176/0.9871, allocations: 6.756 MB / 0.5921 GB, free: 4.828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.295e-05/0.9873, allocations: 56 kB / 0.5921 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/0.9874, allocations: 124.1 kB / 0.5923 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009666/0.9884, allocations: 416.6 kB / 0.5927 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/0.9925, allocations: 1.244 MB / 0.5939 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.9966, allocations: 3.147 MB / 0.5969 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.001, allocations: 299.4 kB / 0.5972 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009044/1.002, allocations: 336 kB / 0.5975 GB, free: 15.08 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 27 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (665): * Single equations (assignments): 661 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004022/1.006, allocations: 1.775 MB / 0.5993 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008629/1.007, allocations: 312 kB / 0.5996 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/1.011, allocations: 1.853 MB / 0.6014 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.011, allocations: 19.95 kB / 0.6014 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.011, allocations: 4 kB / 0.6014 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.011, allocations: 3.984 kB / 0.6014 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.022, allocations: 5.63 MB / 0.6069 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.022, allocations: 3.938 kB / 0.6069 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.023, allocations: 219.7 kB / 0.6071 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006636/1.024, allocations: 224.7 kB / 0.6073 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-05/1.024, allocations: 27.98 kB / 0.6074 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/1.027, allocations: 2.569 MB / 0.6099 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.027, allocations: 0.625 kB / 0.6099 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005975/1.033, allocations: 3.993 MB / 0.6138 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/1.035, allocations: 0.5631 MB / 0.6143 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/1.035, allocations: 20 kB / 0.6143 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.036, allocations: 75.97 kB / 0.6144 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.037, allocations: 72.5 kB / 0.6145 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.037, allocations: 40.55 kB / 0.6145 GB, free: 13.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004593/1.041, allocations: 2.428 MB / 0.6169 GB, free: 10.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.041, allocations: 3.938 kB / 0.6169 GB, free: 10.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005265/1.047, allocations: 0.8398 MB / 0.6177 GB, free: 10.11 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (112): * Single equations (assignments): 108 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005165/1.047, allocations: 159.8 kB / 0.6179 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007132/1.054, allocations: 4.071 MB / 0.6218 GB, free: 5.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.054, allocations: 4 kB / 0.6219 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/1.056, allocations: 1.141 MB / 0.623 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.058, allocations: 347.9 kB / 0.6233 GB, free: 4.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2556/1.314, allocations: 8.61 MB / 0.6317 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/1.317, allocations: 2.829 MB / 0.6345 GB, free: 141.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004149/1.321, allocations: 1.741 MB / 0.6362 GB, free: 141.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/1.321, allocations: 211.9 kB / 0.6364 GB, free: 141.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/1.321, allocations: 2.781 kB / 0.6364 GB, free: 141.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06321/1.385, allocations: 28.12 MB / 0.6638 GB, free: 136.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) Environment - environmentSimulation: