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.001487/0.001487, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001816/0.001817, allocations: 190.7 kB / 16.14 MB, free: 6.703 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.565/1.565, allocations: 205.1 MB / 222 MB, free: 4.758 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.3142/0.3142, allocations: 39.93 MB / 309.3 MB, free: 9.598 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.001398/0.001398, allocations: 66.78 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1373, allocations: 56.88 MB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.2836/0.421, allocations: 33.89 MB / 467.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.4361, allocations: 7.723 MB / 475.4 MB, free: 30.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006767/0.4429, allocations: 138.3 kB / 475.6 MB, free: 30.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003162/0.4462, allocations: 1.666 MB / 477.2 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.4501, allocations: 1.527 MB / 478.7 MB, free: 29.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.4515, allocations: 0.5129 MB / 479.3 MB, free: 29.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005887/0.4574, allocations: 4.987 MB / 484.2 MB, free: 27.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/0.461, allocations: 2.23 MB / 486.5 MB, free: 26.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.4638, allocations: 1.022 MB / 487.5 MB, free: 26.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.4665, allocations: 1.751 MB / 489.2 MB, free: 25.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007898/0.4674, allocations: 162 kB / 489.4 MB, free: 25.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.4698, allocations: 1.114 MB / 490.5 MB, free: 25.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.4714, allocations: 1.47 MB / 492 MB, free: 25.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.4736, allocations: 1.675 MB / 493.7 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008988/0.4826, allocations: 5.5 MB / 499.2 MB, free: 21.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.4827, allocations: 1.5 kB / 499.2 MB, free: 21.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4827, allocations: 3.938 kB / 499.2 MB, free: 21.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002164/0.4829, allocations: 0 / 499.2 MB, free: 21.98 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.01097/0.4939, allocations: 3.852 MB / 0.4912 GB, free: 19.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.4939, allocations: 9.062 kB / 0.4912 GB, free: 19.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/0.5117, allocations: 2.381 MB / 0.4936 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007767/0.5195, allocations: 2.288 MB / 0.4958 GB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.5199, allocations: 169.6 kB / 0.496 GB, free: 18.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.5216, allocations: 229.6 kB / 0.4962 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/0.5425, allocations: 7.892 MB / 0.5039 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/0.5427, allocations: 43.67 kB / 0.5039 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000367/0.5431, allocations: 115.5 kB / 0.504 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003047/0.5461, allocations: 1.668 MB / 0.5057 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.559, allocations: 6.752 MB / 0.5123 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04041/0.5995, allocations: 31.55 MB / 0.5431 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005016/0.6045, allocations: 2.354 MB / 0.5454 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.6062, allocations: 1.172 MB / 0.5465 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/0.6067, allocations: 335.6 kB / 0.5468 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.6067, allocations: 43.12 kB / 0.5469 GB, free: 3.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 3.476e-06/0.6067, allocations: 0 / 0.5469 GB, free: 3.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=141): time 0.03661/0.6433, allocations: 12.29 MB / 0.5589 GB, free: 7.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6435, allocations: 192.6 kB / 0.5591 GB, free: 7.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005501/0.649, allocations: 3.746 MB / 0.5627 GB, free: 3.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002904/0.6493, allocations: 45.7 kB / 0.5628 GB, free: 3.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001889/0.6512, allocations: 2.67 MB / 0.5654 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006521/0.6519, allocations: 0.5556 MB / 0.5659 GB, free: 0 / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001537/0.6534, allocations: 1.118 MB / 0.567 GB, free: 14.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.6535, allocations: 305.1 kB / 0.5673 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/0.6562, allocations: 1.807 MB / 0.5691 GB, free: 12.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/0.6612, allocations: 5.249 MB / 0.5742 GB, free: 5.777 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0091/0.6703, allocations: 7.623 MB / 0.5816 GB, free: 12.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/0.6705, allocations: 36 kB / 0.5817 GB, free: 12.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01559/0.6861, allocations: 7.293 MB / 0.5888 GB, free: 5.105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.6862, allocations: 56 kB / 0.5888 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001586/0.6864, allocations: 120 kB / 0.589 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.688, allocations: 0.6487 MB / 0.5896 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004434/0.6925, allocations: 1.267 MB / 0.5908 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004617/0.6971, allocations: 3.773 MB / 0.5945 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004693/0.7018, allocations: 315.4 kB / 0.5948 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008541/0.7027, allocations: 340 kB / 0.5951 GB, free: 14.47 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 (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.00363/0.7063, allocations: 1.79 MB / 0.5969 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008616/0.7072, allocations: 308 kB / 0.5972 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.7114, allocations: 2.215 MB / 0.5993 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.7115, allocations: 16 kB / 0.5994 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.7115, allocations: 4 kB / 0.5994 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.7115, allocations: 11.97 kB / 0.5994 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.7222, allocations: 5.983 MB / 0.6052 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.7222, allocations: 0 / 0.6052 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.7233, allocations: 219.7 kB / 0.6054 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.7246, allocations: 488.2 kB / 0.6059 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.7247, allocations: 27.98 kB / 0.6059 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/0.7282, allocations: 3.209 MB / 0.609 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7282, allocations: 0 / 0.609 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006087/0.7343, allocations: 4.347 MB / 0.6133 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.7357, allocations: 0.5516 MB / 0.6138 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/0.7361, allocations: 20 kB / 0.6139 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.7373, allocations: 83.89 kB / 0.6139 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.7375, allocations: 72.56 kB / 0.614 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7376, allocations: 47.97 kB / 0.614 GB, free: 10.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004588/0.7422, allocations: 2.341 MB / 0.6163 GB, free: 8.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7422, allocations: 288 / 0.6163 GB, free: 8.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007548/0.7498, allocations: 0.832 MB / 0.6171 GB, free: 7.617 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 (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.0004742/0.7503, allocations: 150.9 kB / 0.6173 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007736/0.7581, allocations: 4.295 MB / 0.6215 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7581, allocations: 1.125 kB / 0.6215 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.7599, allocations: 1.189 MB / 0.6226 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.7626, allocations: 342.8 kB / 0.623 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2359/0.9985, allocations: 9.092 MB / 0.6319 GB, free: 145.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/1.001, allocations: 2.762 MB / 0.6345 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004483/1.006, allocations: 1.734 MB / 0.6362 GB, free: 144.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/1.006, allocations: 211.6 kB / 0.6364 GB, free: 144.9 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/1.006, allocations: 0 / 0.6364 GB, free: 144.9 MB / 494.1 MB Notification: Performance of Templates: time 0.06975/1.076, allocations: 29.33 MB / 0.6651 GB, free: 138.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.makefile (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)