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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003335/0.003335, allocations: 175.2 kB / 7.451 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.142/1.142, allocations: 170.6 MB / 178.4 MB, free: 15.42 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.001789/0.001789, allocations: 117 kB / 217.7 MB, free: 8.18 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.2377/0.2377, allocations: 37.98 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.722e-06/6.753e-06, allocations: 1.344 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 48.71 MB / 398.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.4908, allocations: 91.36 MB / 489.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4911, allocations: 73.05 kB / 489.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2003/0.6915, allocations: 70.54 MB / 0.5471 GB, free: 5.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003102/0.6918, allocations: 64 kB / 0.5471 GB, free: 5.406 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1216 * Number of variables: 1216 Notification: Performance of Generate backend data structure: time 0.01305/0.7049, allocations: 3.226 MB / 0.5503 GB, free: 2.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.705, allocations: 8.031 kB / 0.5503 GB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01857/0.7236, allocations: 3.899 MB / 0.5541 GB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.7379, allocations: 4.248 MB / 0.5582 GB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.7382, allocations: 104 kB / 0.5583 GB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/0.7404, allocations: 199.9 kB / 0.5585 GB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01099/0.7514, allocations: 4.799 MB / 0.5632 GB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.773, allocations: 7.711 MB / 0.5707 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003347/0.7734, allocations: 55.47 kB / 0.5708 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/0.7754, allocations: 28 kB / 0.5708 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001516/0.7769, allocations: 0.8715 MB / 0.5717 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05412/0.8311, allocations: 38.77 MB / 0.6095 GB, free: 3.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.8346, allocations: 2.17 MB / 0.6116 GB, free: 1.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2394/1.074, allocations: 1.197 MB / 0.6128 GB, free: 144.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008925/1.083, allocations: 4.195 MB / 0.6169 GB, free: 142.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/1.083, allocations: 45.72 kB / 0.617 GB, free: 142.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 9.618e-06/1.083, allocations: 3.938 kB / 0.617 GB, free: 142.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=139): time 0.0248/1.108, allocations: 10.47 MB / 0.6272 GB, free: 140.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/1.108, allocations: 199.6 kB / 0.6274 GB, free: 140.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005088/1.113, allocations: 2.824 MB / 0.6301 GB, free: 140.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000267/1.113, allocations: 28.77 kB / 0.6302 GB, free: 140.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.115, allocations: 2.582 MB / 0.6327 GB, free: 138.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008097/1.116, allocations: 0.5379 MB / 0.6332 GB, free: 138.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/1.116, allocations: 0 / 0.6332 GB, free: 138.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003816/1.117, allocations: 0.5375 MB / 0.6337 GB, free: 138.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/1.119, allocations: 1.573 MB / 0.6353 GB, free: 138.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/1.123, allocations: 5.112 MB / 0.6403 GB, free: 133.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004378/1.127, allocations: 2.865 MB / 0.6431 GB, free: 133.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/1.127, allocations: 37.12 kB / 0.6431 GB, free: 133.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01175/1.139, allocations: 5.982 MB / 0.6489 GB, free: 132.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/1.139, allocations: 11.08 kB / 0.6489 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/1.139, allocations: 126 kB / 0.6491 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/1.14, allocations: 357.6 kB / 0.6494 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/1.144, allocations: 1.275 MB / 0.6507 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/1.147, allocations: 2.56 MB / 0.6532 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.152, allocations: 173.7 kB / 0.6533 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.153, allocations: 357.9 kB / 0.6537 GB, free: 131.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 24 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (689): * Single equations (assignments): 685 * 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.0008693/1.154, allocations: 417 kB / 0.6541 GB, free: 131.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006743/1.154, allocations: 279.2 kB / 0.6543 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/1.157, allocations: 1.675 MB / 0.656 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/1.157, allocations: 11.03 kB / 0.656 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.157, allocations: 7.719 kB / 0.656 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/1.157, allocations: 11.52 kB / 0.656 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009355/1.167, allocations: 4.502 MB / 0.6604 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.167, allocations: 3.875 kB / 0.6604 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.168, allocations: 209 kB / 0.6606 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/1.169, allocations: 151.4 kB / 0.6607 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/1.169, allocations: 15.02 kB / 0.6607 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/1.171, allocations: 2.021 MB / 0.6627 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.171, allocations: 0 / 0.6627 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005054/1.176, allocations: 3.729 MB / 0.6664 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.178, allocations: 0.4905 MB / 0.6668 GB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000494/1.178, allocations: 3.719 kB / 0.6668 GB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.179, allocations: 35.53 kB / 0.6669 GB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/1.18, allocations: 58.03 kB / 0.6669 GB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.18, allocations: 48.02 kB / 0.667 GB, free: 125.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004557/1.184, allocations: 1.896 MB / 0.6688 GB, free: 124.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006607/1.191, allocations: 0.676 MB / 0.6695 GB, free: 124.9 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * 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.0005013/1.191, allocations: 127.8 kB / 0.6696 GB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006433/1.198, allocations: 3.779 MB / 0.6733 GB, free: 123.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.198, allocations: 0.7188 kB / 0.6733 GB, free: 123.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/1.199, allocations: 1.037 MB / 0.6743 GB, free: 123 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.201, allocations: 264.3 kB / 0.6746 GB, free: 122.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.215, allocations: 5.931 MB / 0.6804 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003848/1.218, allocations: 3.067 MB / 0.6834 GB, free: 119.2 MB / 426.7 MB Notification: Performance of SimCode: time 9.01e-07/1.219, allocations: 3.938 kB / 0.6834 GB, free: 119.2 MB / 426.7 MB Notification: Performance of Templates: time 0.06206/1.281, allocations: 27.8 MB / 0.7105 GB, free: 103.2 MB / 426.7 MB 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)