Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") [: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.002953/0.002953, allocations: 176.6 kB / 7.45 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.31/1.31, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001947/0.001947, allocations: 108.5 kB / 217.7 MB, free: 8.234 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.1933/0.1933, allocations: 37.97 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.092e-05/1.095e-05, allocations: 1 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1269, allocations: 48.72 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3863/0.5133, allocations: 95.23 MB / 493.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.5137, allocations: 71.23 kB / 493.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3235/0.8372, allocations: 114.2 MB / 0.5935 GB, free: 7.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005837/0.8378, allocations: 112 kB / 0.5936 GB, free: 7.453 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2023 * Number of variables: 2023 Notification: Performance of Generate backend data structure: time 0.02402/0.8619, allocations: 5.895 MB / 0.5994 GB, free: 1.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.8619, allocations: 8.031 kB / 0.5994 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03048/0.8924, allocations: 6.629 MB / 0.6058 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02699/0.9195, allocations: 7.867 MB / 0.6135 GB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005974/0.9201, allocations: 188 kB / 0.6137 GB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003924/0.9241, allocations: 343.8 kB / 0.614 GB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1954/1.12, allocations: 8.462 MB / 0.6223 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02847/1.148, allocations: 12.64 MB / 0.6346 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004875/1.149, allocations: 86.47 kB / 0.6347 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002107/1.151, allocations: 34.38 kB / 0.6348 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001817/1.153, allocations: 1.405 MB / 0.6361 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07888/1.231, allocations: 60.61 MB / 0.6953 GB, free: 76.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006855/1.238, allocations: 5.062 MB / 0.7003 GB, free: 73.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004281/1.243, allocations: 3.532 MB / 0.7037 GB, free: 72.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0178/1.261, allocations: 9.792 MB / 0.7133 GB, free: 67.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.877e-05/1.261, allocations: 69.22 kB / 0.7133 GB, free: 67.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 9.518e-06/1.261, allocations: 0 / 0.7133 GB, free: 67.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=316): time 0.07168/1.332, allocations: 28.68 MB / 0.7413 GB, free: 54.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/1.333, allocations: 268.3 kB / 0.7416 GB, free: 53.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009202/1.342, allocations: 3.98 MB / 0.7455 GB, free: 50.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001215/1.343, allocations: 25.7 kB / 0.7455 GB, free: 50.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002711/1.346, allocations: 3.705 MB / 0.7491 GB, free: 47.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001775/1.348, allocations: 1.142 MB / 0.7502 GB, free: 46.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/1.348, allocations: 0 / 0.7502 GB, free: 46.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00039/1.348, allocations: 0.6338 MB / 0.7509 GB, free: 45.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003961/1.352, allocations: 3.233 MB / 0.754 GB, free: 42.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006311/1.359, allocations: 7.58 MB / 0.7614 GB, free: 33.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007989/1.367, allocations: 4.944 MB / 0.7663 GB, free: 29.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/1.367, allocations: 51.94 kB / 0.7663 GB, free: 29.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.02454/1.392, allocations: 11.6 MB / 0.7776 GB, free: 19.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.392, allocations: 9.938 kB / 0.7776 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002275/1.392, allocations: 152 kB / 0.7778 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005301/1.397, allocations: 2.077 MB / 0.7798 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007088/1.404, allocations: 1.78 MB / 0.7816 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/1.422, allocations: 13.19 MB / 0.7944 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007313/1.43, allocations: 261.2 kB / 0.7947 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.431, allocations: 467.1 kB / 0.7951 GB, free: 3.574 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 700 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (951): * Single equations (assignments): 946 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001507/1.433, allocations: 0.4885 MB / 0.7956 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.434, allocations: 458.2 kB / 0.796 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1709/1.605, allocations: 6.796 MB / 0.8027 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/1.605, allocations: 28.53 kB / 0.8027 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/1.606, allocations: 18.36 kB / 0.8027 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/1.606, allocations: 13.78 kB / 0.8027 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02882/1.634, allocations: 14.38 MB / 0.8168 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/1.634, allocations: 10.59 kB / 0.8168 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/1.637, allocations: 481.2 kB / 0.8173 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004889/1.642, allocations: 1.769 MB / 0.819 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005658/1.643, allocations: 19.48 kB / 0.819 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.657, allocations: 11.43 MB / 0.8302 GB, free: 99.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.657, allocations: 12.28 kB / 0.8302 GB, free: 99.61 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01595/1.673, allocations: 11.85 MB / 0.8418 GB, free: 97.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002737/1.676, allocations: 0.9886 MB / 0.8427 GB, free: 97.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.677, allocations: 10.22 kB / 0.8427 GB, free: 97.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/1.68, allocations: 125.4 kB / 0.8428 GB, free: 97.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/1.68, allocations: 161 kB / 0.843 GB, free: 97.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002565/1.681, allocations: 82 kB / 0.8431 GB, free: 97.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004009/1.685, allocations: 2.716 MB / 0.8457 GB, free: 97.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008201/1.693, allocations: 1.264 MB / 0.847 GB, free: 97.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 250 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,55.6%) 18,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008677/1.694, allocations: 169.8 kB / 0.8471 GB, free: 96.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01374/1.707, allocations: 8.383 MB / 0.8553 GB, free: 94.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.707, allocations: 7.062 kB / 0.8553 GB, free: 94.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006272/1.714, allocations: 3.503 MB / 0.8587 GB, free: 93.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/1.717, allocations: 488.3 kB / 0.8592 GB, free: 92.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/1.741, allocations: 12.2 MB / 0.8711 GB, free: 88.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007744/1.749, allocations: 4.865 MB / 0.8759 GB, free: 87.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.749, allocations: 0 / 0.8759 GB, free: 87.16 MB / 426.7 MB Notification: Performance of Templates: time 0.1104/1.859, allocations: 60.21 MB / 0.9347 GB, free: 49.48 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1)