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.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001289/0.001289, allocations: 190.6 kB / 16.14 MB, free: 6.703 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.696/1.696, allocations: 205.1 MB / 222 MB, free: 4.758 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.3538/0.3538, allocations: 37.97 MB / 307.3 MB, free: 10.04 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.001421/0.001421, allocations: 60.44 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1309, allocations: 56.47 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.2971/0.428, allocations: 33.9 MB / 464.9 MB, free: 35.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.447, allocations: 7.717 MB / 472.6 MB, free: 32.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008046/0.4551, allocations: 144.7 kB / 472.8 MB, free: 32.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.4584, allocations: 1.656 MB / 474.4 MB, free: 32.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003901/0.4624, allocations: 1.526 MB / 476 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.4636, allocations: 0.5148 MB / 476.5 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007135/0.4707, allocations: 4.988 MB / 481.5 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.4737, allocations: 2.233 MB / 483.7 MB, free: 29.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.4752, allocations: 1.025 MB / 484.7 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.4769, allocations: 1.757 MB / 486.5 MB, free: 28.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004948/0.4774, allocations: 158.5 kB / 486.6 MB, free: 28.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.4794, allocations: 1.11 MB / 487.7 MB, free: 27.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.4807, allocations: 1.468 MB / 489.2 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.482, allocations: 1.673 MB / 490.9 MB, free: 26.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008174/0.4902, allocations: 5.512 MB / 496.4 MB, free: 24.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.4902, allocations: 0 / 496.4 MB, free: 24.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.4902, allocations: 1.188 kB / 496.4 MB, free: 24.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002573/0.4905, allocations: 0 / 496.4 MB, free: 24.29 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.01349/0.504, allocations: 3.852 MB / 0.4885 GB, free: 22.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5041, allocations: 14.55 kB / 0.4885 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/0.5204, allocations: 2.374 MB / 0.4908 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007115/0.5276, allocations: 2.285 MB / 0.4931 GB, free: 20.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.5278, allocations: 174.5 kB / 0.4932 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/0.5291, allocations: 230.2 kB / 0.4935 GB, free: 20.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.5453, allocations: 7.889 MB / 0.5012 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.5454, allocations: 39.42 kB / 0.5012 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003871/0.5458, allocations: 111.6 kB / 0.5013 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002812/0.5487, allocations: 1.668 MB / 0.5029 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/0.562, allocations: 6.753 MB / 0.5095 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04053/0.6026, allocations: 31.55 MB / 0.5404 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00493/0.6076, allocations: 2.342 MB / 0.5426 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.6092, allocations: 1.18 MB / 0.5438 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.6096, allocations: 323.8 kB / 0.5441 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.6096, allocations: 47.12 kB / 0.5441 GB, free: 7.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 3.006e-06/0.6096, allocations: 0 / 0.5441 GB, free: 7.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=141): time 0.03739/0.647, allocations: 12.3 MB / 0.5562 GB, free: 11.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.6472, allocations: 192.6 kB / 0.5563 GB, free: 11.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00561/0.6528, allocations: 3.738 MB / 0.56 GB, free: 7.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003992/0.6532, allocations: 41.7 kB / 0.56 GB, free: 7.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.6554, allocations: 2.674 MB / 0.5626 GB, free: 4.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008975/0.6563, allocations: 0.5595 MB / 0.5632 GB, free: 4.031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/0.6579, allocations: 1.122 MB / 0.5643 GB, free: 2.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.658, allocations: 309.1 kB / 0.5646 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.661, allocations: 1.799 MB / 0.5663 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006041/0.667, allocations: 5.253 MB / 0.5715 GB, free: 9.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009844/0.6769, allocations: 7.616 MB / 0.5789 GB, free: 480 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.6771, allocations: 36 kB / 0.5789 GB, free: 444 kB / 446.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01432/0.6914, allocations: 7.295 MB / 0.5861 GB, free: 9.137 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/0.6915, allocations: 60 kB / 0.5861 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/0.6917, allocations: 120 kB / 0.5862 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.6933, allocations: 0.6571 MB / 0.5869 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00403/0.6973, allocations: 1.263 MB / 0.5881 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00462/0.702, allocations: 3.778 MB / 0.5918 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004646/0.7066, allocations: 303.4 kB / 0.5921 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008916/0.7076, allocations: 340 kB / 0.5924 GB, free: 2.5 MB / 462.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.00363/0.7112, allocations: 1.786 MB / 0.5942 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006657/0.7119, allocations: 308 kB / 0.5944 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.716, allocations: 2.215 MB / 0.5966 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.7161, allocations: 16 kB / 0.5966 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7161, allocations: 4 kB / 0.5966 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.7161, allocations: 11.97 kB / 0.5966 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.7272, allocations: 5.984 MB / 0.6025 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.7273, allocations: 64 / 0.6025 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.7284, allocations: 220 kB / 0.6027 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/0.7297, allocations: 492.1 kB / 0.6032 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.7299, allocations: 27.98 kB / 0.6032 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003721/0.7336, allocations: 3.201 MB / 0.6063 GB, free: 3.992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.7336, allocations: 7.969 kB / 0.6063 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006704/0.7403, allocations: 4.351 MB / 0.6106 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.7419, allocations: 0.5438 MB / 0.6111 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005162/0.7424, allocations: 24 kB / 0.6111 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.7436, allocations: 79.83 kB / 0.6112 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.7439, allocations: 68.56 kB / 0.6113 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.744, allocations: 43.97 kB / 0.6113 GB, free: 14.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003939/0.7479, allocations: 2.345 MB / 0.6136 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7479, allocations: 4.062 kB / 0.6136 GB, free: 12.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006153/0.7541, allocations: 0.832 MB / 0.6144 GB, free: 11.65 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 (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.0005352/0.7547, allocations: 150.9 kB / 0.6146 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007632/0.7623, allocations: 4.3 MB / 0.6188 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7624, allocations: 192 / 0.6188 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.7641, allocations: 1.189 MB / 0.6199 GB, free: 6.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.7666, allocations: 346.8 kB / 0.6202 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2072/0.9738, allocations: 9.08 MB / 0.6291 GB, free: 146.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004994/0.9788, allocations: 2.764 MB / 0.6318 GB, free: 146.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004721/0.9836, allocations: 1.728 MB / 0.6335 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.9846, allocations: 216.3 kB / 0.6337 GB, free: 146.1 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/0.9846, allocations: 0 / 0.6337 GB, free: 146.1 MB / 494.1 MB Notification: Performance of Templates: time 0.06456/1.049, allocations: 29.35 MB / 0.6624 GB, free: 140.2 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)