Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.004447/0.004447, allocations: 182.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.163/1.163, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001601/0.001601, allocations: 123.5 kB / 247.1 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1635/0.1635, allocations: 39.95 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.073e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09082, allocations: 54.88 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3146/0.4055, allocations: 102.1 MB / 0.5368 GB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4058, allocations: 77.33 kB / 0.5369 GB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3106/0.7164, allocations: 114.4 MB / 0.6487 GB, free: 3.781 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005383/0.717, allocations: 123.9 kB / 0.6488 GB, free: 3.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.02284/0.7398, allocations: 5.898 MB / 0.6546 GB, free: 13.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.7399, allocations: 8.031 kB / 0.6546 GB, free: 13.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02891/0.7688, allocations: 6.629 MB / 0.661 GB, free: 7.031 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2272/0.9961, allocations: 7.877 MB / 0.6687 GB, free: 146.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004402/0.9966, allocations: 190.1 kB / 0.6689 GB, free: 146.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003631/1, allocations: 354 kB / 0.6692 GB, free: 146.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02091/1.021, allocations: 8.452 MB / 0.6775 GB, free: 146.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03023/1.051, allocations: 12.66 MB / 0.6899 GB, free: 143.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005074/1.052, allocations: 88.91 kB / 0.6899 GB, free: 143.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00253/1.055, allocations: 37.97 kB / 0.69 GB, free: 143.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/1.056, allocations: 1.409 MB / 0.6914 GB, free: 143.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06859/1.125, allocations: 60.66 MB / 0.7506 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006459/1.132, allocations: 5.062 MB / 0.7555 GB, free: 104.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00414/1.136, allocations: 3.537 MB / 0.759 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/1.153, allocations: 9.776 MB / 0.7685 GB, free: 97.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/1.153, allocations: 70.31 kB / 0.7686 GB, free: 97.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 6.713e-06/1.153, allocations: 0 / 0.7686 GB, free: 97.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=316): time 0.06922/1.222, allocations: 28.69 MB / 0.7966 GB, free: 76.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/1.222, allocations: 270.5 kB / 0.7969 GB, free: 76.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008588/1.231, allocations: 3.98 MB / 0.8008 GB, free: 73.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008624/1.232, allocations: 25.7 kB / 0.8008 GB, free: 73.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002539/1.234, allocations: 3.701 MB / 0.8044 GB, free: 69.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.236, allocations: 1.147 MB / 0.8055 GB, free: 68.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/1.237, allocations: 0 / 0.8055 GB, free: 68.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007152/1.238, allocations: 0.6342 MB / 0.8062 GB, free: 68.35 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004797/1.243, allocations: 3.236 MB / 0.8093 GB, free: 65.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006117/1.249, allocations: 7.581 MB / 0.8167 GB, free: 56.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006187/1.255, allocations: 4.948 MB / 0.8215 GB, free: 52.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.255, allocations: 44 kB / 0.8216 GB, free: 52.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.02098/1.276, allocations: 11.6 MB / 0.8329 GB, free: 42.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.276, allocations: 7.938 kB / 0.8329 GB, free: 42.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004334/1.277, allocations: 152 kB / 0.8331 GB, free: 41.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005262/1.282, allocations: 2.087 MB / 0.8351 GB, free: 40.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006882/1.289, allocations: 1.769 MB / 0.8368 GB, free: 38.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.307, allocations: 13.2 MB / 0.8497 GB, free: 27.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006931/1.314, allocations: 253.3 kB / 0.85 GB, free: 26.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/1.315, allocations: 467.1 kB / 0.8504 GB, free: 26.41 MB / 474.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.002352/1.318, allocations: 0.4886 MB / 0.8509 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.319, allocations: 458.1 kB / 0.8513 GB, free: 25.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.331, allocations: 6.799 MB / 0.858 GB, free: 19.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-05/1.331, allocations: 28.8 kB / 0.858 GB, free: 19.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/1.332, allocations: 12 kB / 0.858 GB, free: 19.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-05/1.332, allocations: 14.06 kB / 0.858 GB, free: 19.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/1.357, allocations: 14.4 MB / 0.8721 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/1.357, allocations: 8 kB / 0.8721 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.36, allocations: 480 kB / 0.8725 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004394/1.364, allocations: 1.776 MB / 0.8743 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004018/1.365, allocations: 15.98 kB / 0.8743 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2097/1.574, allocations: 11.42 MB / 0.8855 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/1.574, allocations: 11.38 kB / 0.8855 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01649/1.591, allocations: 11.85 MB / 0.897 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002834/1.594, allocations: 0.9854 MB / 0.898 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.595, allocations: 18.06 kB / 0.898 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/1.597, allocations: 117.3 kB / 0.8981 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/1.598, allocations: 166.6 kB / 0.8983 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.598, allocations: 88.22 kB / 0.8984 GB, free: 127.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004333/1.602, allocations: 2.71 MB / 0.901 GB, free: 127 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007747/1.61, allocations: 1.272 MB / 0.9023 GB, free: 127 MB / 474.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.0007573/1.611, allocations: 170.8 kB / 0.9024 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01508/1.626, allocations: 8.388 MB / 0.9106 GB, free: 126.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.626, allocations: 3.562 kB / 0.9106 GB, free: 126.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006562/1.632, allocations: 3.497 MB / 0.914 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/1.636, allocations: 485.9 kB / 0.9145 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02624/1.663, allocations: 12.2 MB / 0.9264 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007208/1.67, allocations: 4.867 MB / 0.9312 GB, free: 123.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.342e-06/1.67, allocations: 0 / 0.9312 GB, free: 123.3 MB / 474.7 MB Notification: Performance of Templates: time 0.1132/1.783, allocations: 60.21 MB / 0.99 GB, free: 94.32 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1)