Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2") translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005607/0.005607, allocations: 176 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.477/1.477, allocations: 194.5 MB / 210.3 MB, free: 7.625 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001521/0.001521, allocations: 128.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1838/0.1838, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.000521, allocations: 10.5 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 54.87 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.5157, allocations: 98.45 MB / 0.5464 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/0.5161, allocations: 83.88 kB / 0.5464 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1878/0.7039, allocations: 78.9 MB / 0.6235 GB, free: 3.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.704, allocations: 0 / 0.6235 GB, free: 3.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001673/0.7042, allocations: 72 kB / 0.6236 GB, free: 3.293 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1364 * Number of variables: 1364 Notification: Performance of Generate backend data structure: time 0.01266/0.7169, allocations: 3.76 MB / 0.6272 GB, free: 15.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.7169, allocations: 8.031 kB / 0.6272 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/0.7348, allocations: 4.328 MB / 0.6315 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.7483, allocations: 4.377 MB / 0.6357 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000386/0.7487, allocations: 283.3 kB / 0.636 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001948/0.7507, allocations: 375.8 kB / 0.6364 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02179/0.7725, allocations: 9.109 MB / 0.6453 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004056/0.773, allocations: 67.39 kB / 0.6453 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002276/0.7753, allocations: 183.9 kB / 0.6455 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001715/0.777, allocations: 0.8923 MB / 0.6464 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.794, allocations: 7.392 MB / 0.6536 GB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05532/0.8494, allocations: 42.66 MB / 0.6953 GB, free: 8.449 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005505/0.8549, allocations: 2.523 MB / 0.6977 GB, free: 5.773 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/0.8553, allocations: 339.9 kB / 0.698 GB, free: 5.387 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.8554, allocations: 54.95 kB / 0.6981 GB, free: 5.324 MB / 474.7 MB Notification: Performance of pre-optimization done (n=119): time 4.147e-06/0.8554, allocations: 0 / 0.6981 GB, free: 5.324 MB / 474.7 MB Notification: Performance of matching and sorting (n=133): time 0.02529/0.8807, allocations: 8.896 MB / 0.7068 GB, free: 12.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.8808, allocations: 200.5 kB / 0.707 GB, free: 12.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006993/0.8878, allocations: 3.486 MB / 0.7104 GB, free: 8.551 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003244/0.8882, allocations: 45.7 kB / 0.7104 GB, free: 8.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002386/0.8906, allocations: 2.968 MB / 0.7133 GB, free: 5.492 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007567/0.8914, allocations: 0.5442 MB / 0.7138 GB, free: 4.941 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.8916, allocations: 116 kB / 0.714 GB, free: 4.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004036/0.892, allocations: 0.5419 MB / 0.7145 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002644/0.8947, allocations: 1.643 MB / 0.7161 GB, free: 2.629 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2795/1.174, allocations: 5.427 MB / 0.7214 GB, free: 119.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005069/1.179, allocations: 2.926 MB / 0.7243 GB, free: 119.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/1.179, allocations: 41.66 kB / 0.7243 GB, free: 119.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01412/1.194, allocations: 6.913 MB / 0.731 GB, free: 118.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.194, allocations: 68.41 kB / 0.7311 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002384/1.194, allocations: 140.5 kB / 0.7312 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009035/1.195, allocations: 369 kB / 0.7316 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004498/1.199, allocations: 1.323 MB / 0.7329 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/1.203, allocations: 2.782 MB / 0.7356 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.207, allocations: 303.8 kB / 0.7359 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006166/1.208, allocations: 374.6 kB / 0.7362 GB, free: 117.2 MB / 490.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.003574/1.211, allocations: 1.938 MB / 0.7381 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/1.212, allocations: 322.4 kB / 0.7384 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/1.215, allocations: 1.585 MB / 0.74 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.215, allocations: 15.09 kB / 0.74 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.215, allocations: 2.688 kB / 0.74 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.215, allocations: 7.688 kB / 0.74 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009203/1.224, allocations: 5.251 MB / 0.7451 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.224, allocations: 3.844 kB / 0.7452 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/1.225, allocations: 198.1 kB / 0.7453 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/1.225, allocations: 148.9 kB / 0.7455 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/1.226, allocations: 22.41 kB / 0.7455 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/1.227, allocations: 2.202 MB / 0.7477 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.227, allocations: 7.906 kB / 0.7477 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/1.232, allocations: 3.573 MB / 0.7512 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.233, allocations: 0.5241 MB / 0.7517 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/1.234, allocations: 17.78 kB / 0.7517 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.235, allocations: 62.95 kB / 0.7517 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.235, allocations: 72.59 kB / 0.7518 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/1.235, allocations: 37.55 kB / 0.7518 GB, free: 114 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003552/1.239, allocations: 2.428 MB / 0.7542 GB, free: 113.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.239, allocations: 3.156 kB / 0.7542 GB, free: 113.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004948/1.244, allocations: 0.8449 MB / 0.755 GB, free: 113.8 MB / 490.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.0003971/1.244, allocations: 151.5 kB / 0.7552 GB, free: 113.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006503/1.251, allocations: 3.993 MB / 0.7591 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.251, allocations: 0 / 0.7591 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/1.252, allocations: 0.9798 MB / 0.76 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/1.254, allocations: 356.7 kB / 0.7604 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.27, allocations: 9.057 MB / 0.7692 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/1.273, allocations: 3.02 MB / 0.7722 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004412/1.278, allocations: 1.81 MB / 0.7739 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/1.278, allocations: 225.4 kB / 0.7742 GB, free: 106.4 MB / 490.7 MB Notification: Performance of SimCode: time 3.286e-06/1.278, allocations: 0 / 0.7742 GB, free: 106.4 MB / 490.7 MB Notification: Performance of Templates: time 0.05466/1.333, allocations: 27.28 MB / 0.8008 GB, free: 99.3 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.pipe 2>&1)