Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [: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.00433/0.004329, allocations: 174.3 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.612/1.612, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001866/0.001866, allocations: 112.4 kB / 217.7 MB, free: 8.145 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.1906/0.1906, allocations: 37.98 MB / 294.8 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.215e-05/1.219e-05, allocations: 0 / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 48.71 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3192/0.4205, allocations: 92.61 MB / 490.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4208, allocations: 77.84 kB / 490.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2506/0.6714, allocations: 91.32 MB / 0.5686 GB, free: 15.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004289/0.6719, allocations: 91.83 kB / 0.5687 GB, free: 15.9 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.01568/0.6876, allocations: 4.494 MB / 0.573 GB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.6877, allocations: 8.031 kB / 0.5731 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02652/0.7142, allocations: 6.338 MB / 0.5792 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/0.7319, allocations: 6.372 MB / 0.5855 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.7322, allocations: 140 kB / 0.5856 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002306/0.7346, allocations: 259.8 kB / 0.5858 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0138/0.7484, allocations: 6.805 MB / 0.5925 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/0.7712, allocations: 9.776 MB / 0.602 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003238/0.7716, allocations: 67.38 kB / 0.6021 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00155/0.7732, allocations: 28 kB / 0.6021 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/0.7749, allocations: 1.092 MB / 0.6032 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2247/0.9996, allocations: 46.94 MB / 0.649 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/1.004, allocations: 3.008 MB / 0.652 GB, free: 99.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/1.006, allocations: 1.94 MB / 0.6539 GB, free: 99.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01275/1.019, allocations: 8.368 MB / 0.662 GB, free: 96.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/1.019, allocations: 60.88 kB / 0.6621 GB, free: 96.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 5.941e-06/1.019, allocations: 0 / 0.6621 GB, free: 96.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.06657/1.086, allocations: 24.75 MB / 0.6863 GB, free: 92.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/1.086, allocations: 204.7 kB / 0.6865 GB, free: 92.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007559/1.093, allocations: 3.327 MB / 0.6897 GB, free: 90.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005933/1.094, allocations: 25.7 kB / 0.6897 GB, free: 90.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/1.096, allocations: 2.966 MB / 0.6926 GB, free: 88.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.097, allocations: 0.8491 MB / 0.6935 GB, free: 88.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/1.097, allocations: 0 / 0.6935 GB, free: 88.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003217/1.097, allocations: 0.5751 MB / 0.694 GB, free: 87.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003955/1.101, allocations: 3.39 MB / 0.6973 GB, free: 86.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006408/1.108, allocations: 7.111 MB / 0.7043 GB, free: 80.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008338/1.116, allocations: 5.011 MB / 0.7092 GB, free: 78.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.991e-05/1.116, allocations: 37.78 kB / 0.7092 GB, free: 78.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.03549/1.152, allocations: 14.66 MB / 0.7235 GB, free: 74.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.152, allocations: 5.531 kB / 0.7235 GB, free: 74.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/1.152, allocations: 139.3 kB / 0.7237 GB, free: 74.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0223/1.174, allocations: 5.619 MB / 0.7292 GB, free: 70.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005678/1.18, allocations: 1.446 MB / 0.7306 GB, free: 69.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02894/1.209, allocations: 22.61 MB / 0.7526 GB, free: 49.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006315/1.215, allocations: 221.4 kB / 0.7529 GB, free: 49.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.217, allocations: 404.5 kB / 0.7532 GB, free: 49.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (769): * Single equations (assignments): 764 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001279/1.218, allocations: 437.1 kB / 0.7537 GB, free: 48.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008554/1.219, allocations: 367.2 kB / 0.754 GB, free: 48.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02699/1.246, allocations: 10.6 MB / 0.7644 GB, free: 40.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.648e-05/1.246, allocations: 20 kB / 0.7644 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/1.246, allocations: 16 kB / 0.7644 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-05/1.246, allocations: 6.891 kB / 0.7644 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04051/1.287, allocations: 19.07 MB / 0.783 GB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/1.287, allocations: 8 kB / 0.783 GB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/1.289, allocations: 339.5 kB / 0.7834 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01945/1.308, allocations: 4.681 MB / 0.7879 GB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006277/1.309, allocations: 11.94 kB / 0.7879 GB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2567/1.566, allocations: 18.6 MB / 0.8061 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/1.566, allocations: 6.906 kB / 0.8061 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0535/1.619, allocations: 14.45 MB / 0.8202 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003396/1.623, allocations: 0.9345 MB / 0.8211 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/1.625, allocations: 7.656 kB / 0.8211 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.628, allocations: 93.08 kB / 0.8212 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006472/1.628, allocations: 116.8 kB / 0.8213 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004353/1.629, allocations: 69.61 kB / 0.8214 GB, free: 116.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006967/1.636, allocations: 2.251 MB / 0.8236 GB, free: 116.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009126/1.645, allocations: 1.147 MB / 0.8247 GB, free: 116.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 47} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009408/1.646, allocations: 167.1 kB / 0.8249 GB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01093/1.657, allocations: 7.705 MB / 0.8324 GB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.657, allocations: 3.844 kB / 0.8324 GB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004375/1.661, allocations: 3.003 MB / 0.8353 GB, free: 116 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.665, allocations: 397.5 kB / 0.8357 GB, free: 116 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/1.691, allocations: 10.04 MB / 0.8455 GB, free: 114.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00788/1.699, allocations: 3.86 MB / 0.8493 GB, free: 112.7 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/1.699, allocations: 0 / 0.8493 GB, free: 112.7 MB / 426.7 MB Notification: Performance of Templates: time 0.1153/1.815, allocations: 63.47 MB / 0.9113 GB, free: 83.38 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)