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.009975/0.009975, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001837/0.001837, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.413/1.413, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3296/0.3296, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.001612/0.001612, allocations: 79.84 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3479, allocations: 56.45 MB / 489.4 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.01091/0.3589, allocations: 9.424 MB / 498.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008488/0.3674, allocations: 3.609 MB / 0.4907 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.3697, allocations: 49.12 kB / 0.4907 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.3733, allocations: 1.688 MB / 0.4924 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005226/0.3785, allocations: 1.641 MB / 0.494 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.3801, allocations: 0.552 MB / 0.4945 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006421/0.3865, allocations: 3.527 MB / 0.498 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.3897, allocations: 2.261 MB / 0.5002 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.3921, allocations: 1.164 MB / 0.5013 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.3947, allocations: 1.63 MB / 0.5029 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006095/0.3953, allocations: 237.2 kB / 0.5031 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.3977, allocations: 1.121 MB / 0.5042 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001786/0.3995, allocations: 1.515 MB / 0.5057 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.4017, allocations: 1.74 MB / 0.5074 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008825/0.4105, allocations: 5.763 MB / 0.513 GB, free: 14.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4106, allocations: 1.5 kB / 0.513 GB, free: 14.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4106, allocations: 0 / 0.513 GB, free: 14.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001831/0.4108, allocations: 0 / 0.513 GB, free: 14.19 MB / 398.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.01092/0.4217, allocations: 3.858 MB / 0.5168 GB, free: 11.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4218, allocations: 12.92 kB / 0.5168 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/0.439, allocations: 2.378 MB / 0.5192 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006955/0.446, allocations: 2.315 MB / 0.5214 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.4462, allocations: 176.7 kB / 0.5216 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.4472, allocations: 228 kB / 0.5218 GB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.4606, allocations: 7.902 MB / 0.5295 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.4607, allocations: 35.75 kB / 0.5295 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/0.4611, allocations: 115.9 kB / 0.5297 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002799/0.4639, allocations: 1.664 MB / 0.5313 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.478, allocations: 6.754 MB / 0.5379 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04258/0.5206, allocations: 31.4 MB / 0.5685 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004762/0.5254, allocations: 2.343 MB / 0.5708 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.527, allocations: 1.188 MB / 0.572 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004438/0.5275, allocations: 319.8 kB / 0.5723 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5275, allocations: 47 kB / 0.5723 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 3.657e-06/0.5275, allocations: 0 / 0.5723 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of matching and sorting (n=141): time 0.03841/0.566, allocations: 12.3 MB / 0.5844 GB, free: 4.395 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.5661, allocations: 192.6 kB / 0.5845 GB, free: 4.164 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004994/0.5711, allocations: 3.738 MB / 0.5882 GB, free: 440 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.5713, allocations: 49.69 kB / 0.5882 GB, free: 384 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001763/0.5731, allocations: 2.67 MB / 0.5908 GB, free: 13.67 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005867/0.5737, allocations: 0.5595 MB / 0.5914 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/0.5751, allocations: 1.115 MB / 0.5925 GB, free: 11.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5752, allocations: 301.1 kB / 0.5928 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/0.5779, allocations: 1.81 MB / 0.5945 GB, free: 9.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00605/0.584, allocations: 5.252 MB / 0.5997 GB, free: 2.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009581/0.5936, allocations: 7.616 MB / 0.6071 GB, free: 9.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-05/0.5937, allocations: 36 kB / 0.6071 GB, free: 9.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01277/0.6065, allocations: 7.276 MB / 0.6142 GB, free: 2.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.6066, allocations: 61.09 kB / 0.6143 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.6067, allocations: 127.9 kB / 0.6144 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.6083, allocations: 0.6526 MB / 0.6151 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/0.6121, allocations: 1.267 MB / 0.6163 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004789/0.6169, allocations: 4.059 MB / 0.6203 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/0.6209, allocations: 307.5 kB / 0.6206 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000516/0.6215, allocations: 340 kB / 0.6209 GB, free: 11.28 MB / 0.4981 GB 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.002965/0.6244, allocations: 1.778 MB / 0.6226 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/0.625, allocations: 315.9 kB / 0.6229 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004202/0.6292, allocations: 2.219 MB / 0.6251 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.6292, allocations: 16 kB / 0.6251 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.6293, allocations: 7.938 kB / 0.6251 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.6293, allocations: 7.969 kB / 0.6251 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.6404, allocations: 5.93 MB / 0.6309 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.6405, allocations: 0 / 0.6309 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.6416, allocations: 223.7 kB / 0.6311 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.643, allocations: 480.2 kB / 0.6316 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.6431, allocations: 31.98 kB / 0.6316 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2318/0.875, allocations: 3.424 MB / 0.6349 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.875, allocations: 4.984 kB / 0.635 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006485/0.8815, allocations: 4.355 MB / 0.6392 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/0.8832, allocations: 0.5466 MB / 0.6397 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003956/0.8836, allocations: 26.95 kB / 0.6398 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.8848, allocations: 80.05 kB / 0.6398 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.885, allocations: 73.16 kB / 0.6399 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.8851, allocations: 43.42 kB / 0.64 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003552/0.8887, allocations: 2.335 MB / 0.6422 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8887, allocations: 0 / 0.6422 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004627/0.8933, allocations: 0.8348 MB / 0.643 GB, free: 122.2 MB / 0.4981 GB 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.0003725/0.8937, allocations: 156.2 kB / 0.6432 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007362/0.9011, allocations: 4.312 MB / 0.6474 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.9011, allocations: 0 / 0.6474 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.9029, allocations: 1.187 MB / 0.6486 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.9054, allocations: 372 kB / 0.6489 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.9191, allocations: 7.446 MB / 0.6562 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003455/0.9226, allocations: 2.76 MB / 0.6589 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00403/0.9266, allocations: 1.748 MB / 0.6606 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006911/0.9274, allocations: 225.4 kB / 0.6608 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.9274, allocations: 0 / 0.6608 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.04715/0.9745, allocations: 26.7 MB / 0.6869 GB, free: 97.74 MB / 0.4981 GB 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)