Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0013/0.0013, allocations: 108 kB / 15.6 MB, free: 132 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.002275/0.002275, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.668/1.668, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3425/0.3425, allocations: 38 MB / 307.8 MB, free: 10.01 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.00154/0.00154, allocations: 75.91 kB / 375.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1154, allocations: 56.46 MB / 431.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.0113/0.1267, allocations: 9.423 MB / 441.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007738/0.1345, allocations: 3.606 MB / 444.7 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.1364, allocations: 51.88 kB / 444.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003399/0.1399, allocations: 1.689 MB / 446.5 MB, free: 7.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.1449, allocations: 1.63 MB / 448.1 MB, free: 6.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1464, allocations: 0.5575 MB / 448.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006043/0.1525, allocations: 3.51 MB / 452.2 MB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2169/0.3694, allocations: 2.263 MB / 454.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.3721, allocations: 1.149 MB / 455.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.3738, allocations: 1.638 MB / 457.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.3742, allocations: 237.1 kB / 457.5 MB, free: 36.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.3758, allocations: 1.118 MB / 458.6 MB, free: 36.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009413/0.3767, allocations: 1.511 MB / 460.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.3779, allocations: 1.736 MB / 461.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.3819, allocations: 5.561 MB / 467.4 MB, free: 35.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3819, allocations: 3.75 kB / 467.4 MB, free: 35.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3819, allocations: 0 / 467.4 MB, free: 35.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.333e-05/0.382, allocations: 0 / 467.4 MB, free: 35.32 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.006066/0.3881, allocations: 3.855 MB / 471.2 MB, free: 33.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3881, allocations: 13.33 kB / 471.3 MB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.4034, allocations: 2.381 MB / 473.6 MB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006121/0.4096, allocations: 2.287 MB / 475.9 MB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.4098, allocations: 175 kB / 476.1 MB, free: 31.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007181/0.4105, allocations: 229.5 kB / 476.3 MB, free: 31.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.4208, allocations: 7.887 MB / 484.2 MB, free: 28.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.4209, allocations: 44.44 kB / 484.2 MB, free: 28.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.4213, allocations: 111.1 kB / 484.4 MB, free: 28.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003282/0.4246, allocations: 1.669 MB / 486 MB, free: 27.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.4388, allocations: 6.747 MB / 492.8 MB, free: 25.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03479/0.4737, allocations: 31.54 MB / 0.512 GB, free: 19.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/0.4781, allocations: 2.348 MB / 0.5143 GB, free: 17.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.4794, allocations: 1.176 MB / 0.5155 GB, free: 17.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.4797, allocations: 326.3 kB / 0.5158 GB, free: 16.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.4798, allocations: 52.62 kB / 0.5158 GB, free: 16.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=117): time 3.497e-06/0.4798, allocations: 0 / 0.5158 GB, free: 16.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=141): time 0.03569/0.5155, allocations: 12.3 MB / 0.5278 GB, free: 6.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.5156, allocations: 195.6 kB / 0.528 GB, free: 6.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005728/0.5214, allocations: 3.73 MB / 0.5317 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004144/0.5218, allocations: 49.7 kB / 0.5317 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.524, allocations: 2.669 MB / 0.5343 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007649/0.5248, allocations: 0.5545 MB / 0.5349 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/0.5262, allocations: 1.122 MB / 0.536 GB, free: 14.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5263, allocations: 305.1 kB / 0.5363 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/0.5289, allocations: 1.803 MB / 0.538 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/0.5343, allocations: 5.257 MB / 0.5431 GB, free: 5.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009221/0.5436, allocations: 7.624 MB / 0.5506 GB, free: 12.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.5437, allocations: 36 kB / 0.5506 GB, free: 12.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01508/0.5588, allocations: 7.285 MB / 0.5577 GB, free: 4.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.5589, allocations: 56 kB / 0.5578 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/0.5591, allocations: 124 kB / 0.5579 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.5607, allocations: 0.6565 MB / 0.5586 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004254/0.5649, allocations: 1.267 MB / 0.5598 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/0.5697, allocations: 4.068 MB / 0.5638 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/0.5742, allocations: 298.4 kB / 0.564 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008238/0.5751, allocations: 340 kB / 0.5644 GB, free: 13.89 MB / 446.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 (684): * Single equations (assignments): 680 * Array equations: 3 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003242/0.5783, allocations: 1.782 MB / 0.5661 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006659/0.579, allocations: 311.9 kB / 0.5664 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.5831, allocations: 2.223 MB / 0.5686 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.5832, allocations: 16 kB / 0.5686 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.5832, allocations: 11.86 kB / 0.5686 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.5832, allocations: 11.92 kB / 0.5686 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.5938, allocations: 5.976 MB / 0.5745 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5939, allocations: 8.062 kB / 0.5745 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.595, allocations: 215.7 kB / 0.5747 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.5963, allocations: 488.2 kB / 0.5751 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.5964, allocations: 20 kB / 0.5752 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/0.6002, allocations: 3.429 MB / 0.5785 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.6002, allocations: 8.203 kB / 0.5785 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006432/0.6067, allocations: 4.341 MB / 0.5827 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/0.6081, allocations: 0.5478 MB / 0.5833 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/0.6085, allocations: 27.94 kB / 0.5833 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.6097, allocations: 75.95 kB / 0.5834 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.61, allocations: 76.55 kB / 0.5835 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/0.6101, allocations: 38.34 kB / 0.5835 GB, free: 10.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003582/0.6137, allocations: 2.341 MB / 0.5858 GB, free: 7.711 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6137, allocations: 0 / 0.5858 GB, free: 7.711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004342/0.618, allocations: 0.8359 MB / 0.5866 GB, free: 6.875 MB / 462.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 (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.0003855/0.6184, allocations: 157 kB / 0.5867 GB, free: 6.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008198/0.6266, allocations: 4.74 MB / 0.5914 GB, free: 1.992 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.6267, allocations: 4 kB / 0.5914 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.6285, allocations: 1.193 MB / 0.5925 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.6311, allocations: 356.6 kB / 0.5929 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.6445, allocations: 7.55 MB / 0.6003 GB, free: 8.867 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002934/0.6475, allocations: 2.757 MB / 0.6029 GB, free: 6.086 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004456/0.652, allocations: 1.723 MB / 0.6046 GB, free: 4.359 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/0.6526, allocations: 219.4 kB / 0.6048 GB, free: 4.145 MB / 478.1 MB Notification: Performance of SimCode: time 1.874e-06/0.6527, allocations: 0 / 0.6048 GB, free: 4.145 MB / 478.1 MB Notification: Performance of Templates: time 0.2745/0.9272, allocations: 30.46 MB / 0.6346 GB, free: 143.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1)