Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [: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.003145/0.003145, allocations: 180.3 kB / 7.456 MB, free: 2.504 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.304/1.304, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.001661/0.001661, allocations: 124 kB / 247.1 MB, free: 6.344 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.1652/0.1652, allocations: 39.94 MB / 331.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.26e-06/5.36e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3207/0.4316, allocations: 100.3 MB / 0.5351 GB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4318, allocations: 76.58 kB / 0.5352 GB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd: time 0.2561/0.688, allocations: 99.55 MB / 0.6324 GB, free: 4.602 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002086/0.6882, allocations: 108 kB / 0.6325 GB, free: 4.496 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01358/0.7018, allocations: 5.159 MB / 0.6376 GB, free: 15.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.7019, allocations: 16.02 kB / 0.6376 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02648/0.7284, allocations: 6.525 MB / 0.6439 GB, free: 8.703 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/0.7464, allocations: 7.558 MB / 0.6513 GB, free: 1.059 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.7467, allocations: 163.9 kB / 0.6515 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/0.7482, allocations: 299.8 kB / 0.6518 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01325/0.7614, allocations: 7.27 MB / 0.6589 GB, free: 9.324 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2053/0.9668, allocations: 11.01 MB / 0.6696 GB, free: 146.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/0.9671, allocations: 77.16 kB / 0.6697 GB, free: 146.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005541/0.9676, allocations: 33.5 kB / 0.6697 GB, free: 146.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001205/0.9688, allocations: 1.216 MB / 0.6709 GB, free: 146.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05242/1.021, allocations: 54.95 MB / 0.7246 GB, free: 115.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004646/1.026, allocations: 4.28 MB / 0.7288 GB, free: 114.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/1.029, allocations: 2.945 MB / 0.7316 GB, free: 114.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/1.043, allocations: 9.613 MB / 0.741 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/1.043, allocations: 54.84 kB / 0.7411 GB, free: 109.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=206): time 6.412e-06/1.043, allocations: 2.344 kB / 0.7411 GB, free: 109.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.06146/1.105, allocations: 26.74 MB / 0.7672 GB, free: 100.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/1.105, allocations: 209.4 kB / 0.7674 GB, free: 100.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005489/1.111, allocations: 3.646 MB / 0.7709 GB, free: 99.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005002/1.111, allocations: 25.7 kB / 0.771 GB, free: 99.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/1.113, allocations: 3.254 MB / 0.7741 GB, free: 96.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009562/1.113, allocations: 0.9366 MB / 0.7751 GB, free: 96.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/1.114, allocations: 0 / 0.7751 GB, free: 96.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000261/1.114, allocations: 0.596 MB / 0.7756 GB, free: 95.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003225/1.117, allocations: 2.9 MB / 0.7785 GB, free: 94.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004492/1.122, allocations: 6.797 MB / 0.7851 GB, free: 87.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004982/1.127, allocations: 4.41 MB / 0.7894 GB, free: 84.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.143e-05/1.127, allocations: 40 kB / 0.7895 GB, free: 84.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02318/1.15, allocations: 11.95 MB / 0.8011 GB, free: 74.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.15, allocations: 4 kB / 0.8011 GB, free: 74.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/1.15, allocations: 140 kB / 0.8013 GB, free: 74.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/1.161, allocations: 3.84 MB / 0.805 GB, free: 71.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004851/1.166, allocations: 1.439 MB / 0.8064 GB, free: 70.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02967/1.196, allocations: 23.11 MB / 0.829 GB, free: 49.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005608/1.202, allocations: 217.3 kB / 0.8292 GB, free: 49.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.203, allocations: 416.2 kB / 0.8296 GB, free: 48.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (781): * Single equations (assignments): 775 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.001021/1.204, allocations: 453 kB / 0.83 GB, free: 48.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007249/1.204, allocations: 410.7 kB / 0.8304 GB, free: 48.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.219, allocations: 7.596 MB / 0.8378 GB, free: 41.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-05/1.219, allocations: 24 kB / 0.8379 GB, free: 41.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/1.219, allocations: 12 kB / 0.8379 GB, free: 41.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.781e-05/1.219, allocations: 15.89 kB / 0.8379 GB, free: 41.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02862/1.247, allocations: 15.2 MB / 0.8527 GB, free: 25.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/1.248, allocations: 4 kB / 0.8527 GB, free: 25.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.249, allocations: 275.6 kB / 0.853 GB, free: 25.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/1.26, allocations: 3.542 MB / 0.8565 GB, free: 22.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005189/1.26, allocations: 15.98 kB / 0.8565 GB, free: 22.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.213/1.473, allocations: 21.86 MB / 0.8778 GB, free: 140.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/1.473, allocations: 3.906 kB / 0.8778 GB, free: 140.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01932/1.493, allocations: 12.13 MB / 0.8897 GB, free: 139 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/1.495, allocations: 0.8909 MB / 0.8905 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007414/1.496, allocations: 7.406 kB / 0.8905 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.498, allocations: 81.64 kB / 0.8906 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/1.498, allocations: 127.4 kB / 0.8907 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.498, allocations: 73.98 kB / 0.8908 GB, free: 138.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003425/1.502, allocations: 2.492 MB / 0.8932 GB, free: 138.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006747/1.508, allocations: 1.182 MB / 0.8944 GB, free: 138.7 MB / 474.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 (158): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006612/1.509, allocations: 159.7 kB / 0.8946 GB, free: 138.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0132/1.522, allocations: 7.521 MB / 0.9019 GB, free: 138.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.522, allocations: 0 / 0.9019 GB, free: 138.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004903/1.527, allocations: 3.11 MB / 0.9049 GB, free: 137.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/1.53, allocations: 461.7 kB / 0.9054 GB, free: 137.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/1.551, allocations: 10.38 MB / 0.9155 GB, free: 136 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005433/1.556, allocations: 4.271 MB / 0.9197 GB, free: 135.2 MB / 474.7 MB Notification: Performance of SimCode: time 7.72e-07/1.556, allocations: 0 / 0.9197 GB, free: 135.2 MB / 474.7 MB Notification: Performance of Templates: time 0.09612/1.653, allocations: 63.37 MB / 0.9816 GB, free: 103.8 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)