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.0007791/0.0007792, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008158/0.0008158, allocations: 168.7 kB / 15.95 MB, free: 204 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.399/1.399, allocations: 205.4 MB / 222.1 MB, free: 5.871 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.3415/0.3415, allocations: 38.04 MB / 308.4 MB, free: 10.24 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.0007734/0.0007735, allocations: 20 kB / 376.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.134, allocations: 57.53 MB / 434 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.2794/0.4135, allocations: 30.66 MB / 464.6 MB, free: 32.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01626/0.4298, allocations: 7.273 MB / 471.9 MB, free: 31.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00707/0.4369, allocations: 137.8 kB / 472 MB, free: 31.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004709/0.4417, allocations: 1.557 MB / 473.6 MB, free: 31.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0143/0.456, allocations: 4.82 MB / 478.4 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.4587, allocations: 488.5 kB / 478.9 MB, free: 30.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02467/0.4834, allocations: 18.04 MB / 496.9 MB, free: 27.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005664/0.4891, allocations: 2.664 MB / 499.6 MB, free: 26.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/0.4918, allocations: 1 MB / 0.4889 GB, free: 26.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.4947, allocations: 1.596 MB / 0.4904 GB, free: 25.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004732/0.4952, allocations: 112.7 kB / 0.4905 GB, free: 25.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.4975, allocations: 0.9052 MB / 0.4914 GB, free: 25.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00195/0.4995, allocations: 1.366 MB / 0.4927 GB, free: 25.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.5006, allocations: 0.6668 MB / 0.4934 GB, free: 24.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006055/0.5067, allocations: 4.375 MB / 0.4977 GB, free: 22.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.5068, allocations: 0 / 0.4977 GB, free: 22.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5068, allocations: 1.406 kB / 0.4977 GB, free: 22.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001879/0.507, allocations: 0 / 0.4977 GB, free: 22.39 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.009693/0.5167, allocations: 3.222 MB / 0.5008 GB, free: 20.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.5167, allocations: 9.875 kB / 0.5008 GB, free: 20.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.5305, allocations: 2.448 MB / 0.5032 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00538/0.536, allocations: 2.245 MB / 0.5054 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.5361, allocations: 167.3 kB / 0.5056 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006295/0.5367, allocations: 229.1 kB / 0.5058 GB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.5488, allocations: 7.888 MB / 0.5135 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.07e-05/0.5489, allocations: 47.58 kB / 0.5135 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/0.5493, allocations: 115.9 kB / 0.5136 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002221/0.5515, allocations: 1.664 MB / 0.5153 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.5636, allocations: 6.731 MB / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03763/0.6013, allocations: 31.56 MB / 0.5527 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004472/0.6058, allocations: 2.334 MB / 0.5549 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.6073, allocations: 1.18 MB / 0.5561 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000347/0.6077, allocations: 319.7 kB / 0.5564 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/0.6077, allocations: 51.02 kB / 0.5564 GB, free: 13.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 4.208e-06/0.6077, allocations: 0 / 0.5564 GB, free: 13.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=141): time 0.03506/0.6428, allocations: 12.32 MB / 0.5685 GB, free: 0.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.643, allocations: 196.5 kB / 0.5687 GB, free: 444 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/0.6481, allocations: 3.722 MB / 0.5723 GB, free: 12.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002564/0.6484, allocations: 41.7 kB / 0.5723 GB, free: 12.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.65, allocations: 2.666 MB / 0.5749 GB, free: 9.965 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005928/0.6506, allocations: 0.5634 MB / 0.5755 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.6508, allocations: 111.9 kB / 0.5756 GB, free: 9.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002918/0.6511, allocations: 0.5336 MB / 0.5761 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/0.6538, allocations: 1.791 MB / 0.5779 GB, free: 6.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/0.6584, allocations: 5.229 MB / 0.583 GB, free: 15.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/0.6625, allocations: 2.995 MB / 0.5859 GB, free: 12.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-05/0.6626, allocations: 36 kB / 0.5859 GB, free: 12.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01176/0.6744, allocations: 7.236 MB / 0.593 GB, free: 5.715 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.6745, allocations: 71.58 kB / 0.5931 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.6746, allocations: 120 kB / 0.5932 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.676, allocations: 0.6643 MB / 0.5938 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/0.6795, allocations: 1.263 MB / 0.5951 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.6839, allocations: 3.777 MB / 0.5988 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/0.688, allocations: 307.5 kB / 0.599 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005578/0.6886, allocations: 336 kB / 0.5994 GB, free: 15.05 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 (684): * Single equations (assignments): 680 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003031/0.6916, allocations: 1.797 MB / 0.6011 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005756/0.6922, allocations: 308 kB / 0.6014 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/0.6964, allocations: 2.215 MB / 0.6036 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.99e-05/0.6964, allocations: 19.95 kB / 0.6036 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.6964, allocations: 0 / 0.6036 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.6964, allocations: 7.984 kB / 0.6036 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.7069, allocations: 5.983 MB / 0.6094 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.707, allocations: 0 / 0.6094 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.708, allocations: 219.7 kB / 0.6097 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.7093, allocations: 484.3 kB / 0.6101 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.815e-05/0.7094, allocations: 24 kB / 0.6101 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/0.713, allocations: 3.21 MB / 0.6133 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.713, allocations: 0 / 0.6133 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006112/0.7191, allocations: 4.335 MB / 0.6175 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/0.7207, allocations: 0.5516 MB / 0.618 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/0.721, allocations: 24 kB / 0.6181 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.7221, allocations: 79.89 kB / 0.6181 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.7223, allocations: 76.5 kB / 0.6182 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/0.7224, allocations: 36.06 kB / 0.6183 GB, free: 11.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003824/0.7263, allocations: 2.325 MB / 0.6205 GB, free: 9.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7263, allocations: 0 / 0.6205 GB, free: 9.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005626/0.7319, allocations: 0.8437 MB / 0.6213 GB, free: 8.242 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.000434/0.7323, allocations: 143 kB / 0.6215 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007318/0.7397, allocations: 4.27 MB / 0.6257 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.7397, allocations: 0 / 0.6257 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.7414, allocations: 1.185 MB / 0.6268 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.7439, allocations: 346.8 kB / 0.6271 GB, free: 2.297 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.238/0.9819, allocations: 8.796 MB / 0.6357 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/0.9844, allocations: 2.756 MB / 0.6384 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004098/0.9885, allocations: 1.727 MB / 0.6401 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007392/0.9893, allocations: 217.7 kB / 0.6403 GB, free: 142.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.543e-06/0.9893, allocations: 0 / 0.6403 GB, free: 142.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06631/1.056, allocations: 28.39 MB / 0.668 GB, free: 138.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: