Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2") translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005409/0.005409, allocations: 165.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.121/1.121, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001863/0.001863, allocations: 114.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3222/0.3222, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 8 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1021, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.4048, allocations: 91.63 MB / 0.4914 GB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4051, allocations: 74.75 kB / 0.4915 GB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.204/0.6091, allocations: 78.86 MB / 0.5685 GB, free: 2.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6091, allocations: 0 / 0.5685 GB, free: 2.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002219/0.6094, allocations: 72 kB / 0.5686 GB, free: 2.078 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.01376/0.6231, allocations: 3.767 MB / 0.5722 GB, free: 14.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.6232, allocations: 8.031 kB / 0.5722 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01755/0.6408, allocations: 4.319 MB / 0.5765 GB, free: 9.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.6536, allocations: 4.384 MB / 0.5807 GB, free: 5.461 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.654, allocations: 279.3 kB / 0.581 GB, free: 5.188 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001832/0.6558, allocations: 367.8 kB / 0.5814 GB, free: 4.828 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2604/0.9162, allocations: 9.1 MB / 0.5902 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/0.9165, allocations: 60.34 kB / 0.5903 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008516/0.9174, allocations: 183.7 kB / 0.5905 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001474/0.9188, allocations: 0.8997 MB / 0.5914 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.9328, allocations: 7.39 MB / 0.5986 GB, free: 80.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0435/0.9764, allocations: 42.65 MB / 0.6402 GB, free: 52.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005436/0.9819, allocations: 2.524 MB / 0.6427 GB, free: 51.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/0.9824, allocations: 323.8 kB / 0.643 GB, free: 51.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.9824, allocations: 51.69 kB / 0.643 GB, free: 51.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=119): time 6.252e-06/0.9824, allocations: 3.312 kB / 0.643 GB, free: 51.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.02116/1.004, allocations: 8.9 MB / 0.6517 GB, free: 47.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/1.004, allocations: 197.8 kB / 0.6519 GB, free: 47.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007158/1.011, allocations: 3.496 MB / 0.6553 GB, free: 46.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/1.011, allocations: 41.58 kB / 0.6554 GB, free: 46.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.014, allocations: 2.963 MB / 0.6583 GB, free: 43.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008116/1.014, allocations: 0.5424 MB / 0.6588 GB, free: 43.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/1.015, allocations: 118.5 kB / 0.6589 GB, free: 43.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000347/1.015, allocations: 0.5435 MB / 0.6594 GB, free: 43.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/1.018, allocations: 1.645 MB / 0.6611 GB, free: 42.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005146/1.023, allocations: 5.43 MB / 0.6664 GB, free: 36.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/1.027, allocations: 2.94 MB / 0.6692 GB, free: 35.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.067e-05/1.027, allocations: 37.22 kB / 0.6693 GB, free: 35.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01141/1.038, allocations: 6.918 MB / 0.676 GB, free: 32.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.848e-05/1.038, allocations: 65.75 kB / 0.6761 GB, free: 32.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002201/1.039, allocations: 135.8 kB / 0.6762 GB, free: 32.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/1.039, allocations: 368.3 kB / 0.6766 GB, free: 32.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/1.043, allocations: 1.327 MB / 0.6779 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/1.046, allocations: 2.782 MB / 0.6806 GB, free: 30.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004951/1.051, allocations: 303.8 kB / 0.6809 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008341/1.052, allocations: 361.5 kB / 0.6812 GB, free: 30.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 28 (LessEqualThreshold1.y,distance2.arrowColor[3],distance2.arrowColor[2],distance2.arrowColor[1],distance1.arrowColor[3],distance1.arrowColor[2],distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (715): * Single equations (assignments): 711 * 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.004098/1.056, allocations: 1.945 MB / 0.6831 GB, free: 29.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009313/1.057, allocations: 322 kB / 0.6834 GB, free: 29.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/1.059, allocations: 1.588 MB / 0.685 GB, free: 28.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/1.059, allocations: 15.06 kB / 0.685 GB, free: 28.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.059, allocations: 0 / 0.685 GB, free: 28.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/1.059, allocations: 6.125 kB / 0.685 GB, free: 28.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009678/1.069, allocations: 5.254 MB / 0.6901 GB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.069, allocations: 0 / 0.6901 GB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008711/1.07, allocations: 192.6 kB / 0.6903 GB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/1.07, allocations: 156.7 kB / 0.6905 GB, free: 26.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-05/1.071, allocations: 25.84 kB / 0.6905 GB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/1.072, allocations: 2.198 MB / 0.6926 GB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.072, allocations: 0 / 0.6926 GB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/1.077, allocations: 3.575 MB / 0.6961 GB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.079, allocations: 0.5213 MB / 0.6966 GB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/1.079, allocations: 18.84 kB / 0.6966 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.08, allocations: 58.19 kB / 0.6967 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/1.08, allocations: 72.64 kB / 0.6968 GB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.663e-05/1.08, allocations: 46.81 kB / 0.6968 GB, free: 22.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003645/1.084, allocations: 2.433 MB / 0.6992 GB, free: 22.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.084, allocations: 0 / 0.6992 GB, free: 22.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005717/1.09, allocations: 0.8447 MB / 0.7 GB, free: 22.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (Revolute1.phi,Revolute1.w) * Number of discrete variables: 1 (LessEqualThreshold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * 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.0004432/1.09, allocations: 144.1 kB / 0.7001 GB, free: 21.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006319/1.097, allocations: 3.984 MB / 0.704 GB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.097, allocations: 0 / 0.704 GB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/1.098, allocations: 0.9748 MB / 0.705 GB, free: 20.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/1.1, allocations: 370.6 kB / 0.7053 GB, free: 19.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.114, allocations: 9.06 MB / 0.7142 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003062/1.117, allocations: 3.019 MB / 0.7171 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004326/1.121, allocations: 1.807 MB / 0.7189 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/1.122, allocations: 222.2 kB / 0.7191 GB, free: 11.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/1.122, allocations: 0 / 0.7191 GB, free: 11.72 MB / 426.7 MB Notification: Performance of Templates: time 0.05394/1.176, allocations: 27.26 MB / 0.7457 GB, free: 7.23 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.pipe 2>&1)