Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001065/0.001065, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001685/0.001685, allocations: 172.7 kB / 15.95 MB, free: 208 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.589/1.589, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3734/0.3734, allocations: 40 MB / 310.4 MB, free: 9.969 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.2. 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.0005674/0.0005675, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 57.95 MB / 436.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.2933/0.4281, allocations: 30.67 MB / 467.4 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.4464, allocations: 7.272 MB / 474.7 MB, free: 31.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008713/0.4552, allocations: 140.8 kB / 474.9 MB, free: 31.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007413/0.4627, allocations: 1.548 MB / 476.4 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01812/0.4809, allocations: 4.83 MB / 481.2 MB, free: 29.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.4837, allocations: 486.8 kB / 481.7 MB, free: 29.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02622/0.5099, allocations: 18.04 MB / 499.8 MB, free: 24.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006474/0.5164, allocations: 2.669 MB / 0.4906 GB, free: 23.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.5198, allocations: 1.003 MB / 0.4916 GB, free: 23.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003882/0.5237, allocations: 1.598 MB / 0.4932 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007861/0.5245, allocations: 111.4 kB / 0.4933 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.5275, allocations: 0.9012 MB / 0.4942 GB, free: 22.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.53, allocations: 1.366 MB / 0.4955 GB, free: 22.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.5314, allocations: 0.6719 MB / 0.4962 GB, free: 22.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007031/0.5384, allocations: 4.372 MB / 0.5004 GB, free: 19.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.5385, allocations: 0 / 0.5004 GB, free: 19.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5385, allocations: 0 / 0.5004 GB, free: 19.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000203/0.5387, allocations: 1.438 kB / 0.5004 GB, free: 19.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.009678/0.5484, allocations: 3.228 MB / 0.5036 GB, free: 17.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.5484, allocations: 9.688 kB / 0.5036 GB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.5625, allocations: 2.433 MB / 0.506 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006088/0.5686, allocations: 2.245 MB / 0.5082 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.5688, allocations: 173.6 kB / 0.5083 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006026/0.5694, allocations: 233.2 kB / 0.5086 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.5808, allocations: 7.888 MB / 0.5163 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-05/0.5809, allocations: 43.59 kB / 0.5163 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/0.5812, allocations: 111.9 kB / 0.5164 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002246/0.5835, allocations: 1.664 MB / 0.518 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/0.5948, allocations: 6.736 MB / 0.5246 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05209/0.6469, allocations: 31.55 MB / 0.5554 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005441/0.6524, allocations: 2.342 MB / 0.5577 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.6543, allocations: 1.188 MB / 0.5589 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/0.6547, allocations: 323.7 kB / 0.5592 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.6547, allocations: 47.06 kB / 0.5592 GB, free: 8.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 6.933e-06/0.6548, allocations: 0 / 0.5592 GB, free: 8.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=141): time 0.04049/0.6953, allocations: 12.32 MB / 0.5712 GB, free: 12.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.6954, allocations: 200.5 kB / 0.5714 GB, free: 12.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006885/0.7023, allocations: 3.722 MB / 0.5751 GB, free: 8.453 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004848/0.7029, allocations: 41.7 kB / 0.5751 GB, free: 8.406 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002312/0.7052, allocations: 2.666 MB / 0.5777 GB, free: 5.703 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008586/0.7061, allocations: 0.5633 MB / 0.5783 GB, free: 5.133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.7064, allocations: 112 kB / 0.5784 GB, free: 5.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004963/0.7069, allocations: 0.5336 MB / 0.5789 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/0.71, allocations: 1.779 MB / 0.5806 GB, free: 2.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006592/0.7166, allocations: 5.233 MB / 0.5857 GB, free: 11.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/0.7217, allocations: 2.994 MB / 0.5887 GB, free: 8.734 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.502e-05/0.7218, allocations: 36 kB / 0.5887 GB, free: 8.699 MB / 462.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01546/0.7373, allocations: 7.237 MB / 0.5958 GB, free: 1.457 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.496e-05/0.7374, allocations: 56.94 kB / 0.5958 GB, free: 1.402 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.7376, allocations: 124 kB / 0.5959 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.7392, allocations: 0.6688 MB / 0.5966 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004299/0.7435, allocations: 1.263 MB / 0.5978 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/0.7483, allocations: 3.785 MB / 0.6015 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004979/0.7533, allocations: 303.5 kB / 0.6018 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/0.7544, allocations: 350.3 kB / 0.6021 GB, free: 10.79 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.003963/0.7583, allocations: 1.778 MB / 0.6039 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009325/0.7593, allocations: 316 kB / 0.6042 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.7638, allocations: 2.211 MB / 0.6063 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/0.7638, allocations: 19.94 kB / 0.6064 GB, free: 6.434 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.7639, allocations: 8 kB / 0.6064 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.7639, allocations: 7.969 kB / 0.6064 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.7762, allocations: 5.979 MB / 0.6122 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.7762, allocations: 4.062 kB / 0.6122 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.7773, allocations: 215.7 kB / 0.6124 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.7786, allocations: 484.2 kB / 0.6129 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.7788, allocations: 31.98 kB / 0.6129 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003955/0.7827, allocations: 3.202 MB / 0.616 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/0.7828, allocations: 11.92 kB / 0.6161 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007235/0.79, allocations: 4.331 MB / 0.6203 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/0.7919, allocations: 0.5594 MB / 0.6208 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005475/0.7924, allocations: 27.95 kB / 0.6209 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.7937, allocations: 79.89 kB / 0.6209 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.7939, allocations: 68.84 kB / 0.621 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.794, allocations: 39.98 kB / 0.621 GB, free: 7.129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004477/0.7985, allocations: 2.317 MB / 0.6233 GB, free: 4.824 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7985, allocations: 3.938 kB / 0.6233 GB, free: 4.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006557/0.8051, allocations: 0.8359 MB / 0.6241 GB, free: 3.984 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.0005735/0.8057, allocations: 151 kB / 0.6243 GB, free: 3.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2717/1.077, allocations: 4.256 MB / 0.6284 GB, free: 145.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.077, allocations: 2.969 kB / 0.6284 GB, free: 145.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.08, allocations: 1.186 MB / 0.6296 GB, free: 145.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/1.082, allocations: 344.7 kB / 0.6299 GB, free: 145.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/1.098, allocations: 8.799 MB / 0.6385 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003137/1.101, allocations: 2.755 MB / 0.6412 GB, free: 141.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004588/1.106, allocations: 1.732 MB / 0.6429 GB, free: 141.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/1.106, allocations: 216.6 kB / 0.6431 GB, free: 141.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.562e-06/1.106, allocations: 0 / 0.6431 GB, free: 141.3 MB / 494.1 MB Notification: Performance of Templates: time 0.0706/1.177, allocations: 28.38 MB / 0.6708 GB, free: 136.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) Environment - environmentSimulation: