Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [: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.003959/0.003959, allocations: 185.4 kB / 7.456 MB, free: 2.242 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.288/1.288, allocations: 194.2 MB / 202.1 MB, free: 8.715 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.001664/0.001664, allocations: 119.9 kB / 247.1 MB, free: 6.352 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.1628/0.1628, allocations: 39.95 MB / 331.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.84e-06/5.861e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08506/0.08508, allocations: 54.86 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.3926, allocations: 102.2 MB / 0.5369 GB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.393, allocations: 73.02 kB / 0.537 GB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3278/0.7208, allocations: 122.2 MB / 0.6563 GB, free: 11.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005254/0.7214, allocations: 120 kB / 0.6564 GB, free: 11.62 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.0212/0.7426, allocations: 6.15 MB / 0.6624 GB, free: 5.398 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.7427, allocations: 8.031 kB / 0.6624 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.217/0.9597, allocations: 7.633 MB / 0.6699 GB, free: 147.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01921/0.9789, allocations: 7.42 MB / 0.6771 GB, free: 147.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.9792, allocations: 189.3 kB / 0.6773 GB, free: 147.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/0.9817, allocations: 351.8 kB / 0.6777 GB, free: 147.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01692/0.9986, allocations: 10.42 MB / 0.6878 GB, free: 147.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/1.024, allocations: 14.34 MB / 0.7018 GB, free: 144.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002197/1.025, allocations: 71.58 kB / 0.7019 GB, free: 144.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009079/1.025, allocations: 32.06 kB / 0.7019 GB, free: 144.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00194/1.027, allocations: 1.724 MB / 0.7036 GB, free: 144 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07453/1.102, allocations: 62.37 MB / 0.7645 GB, free: 104.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006407/1.108, allocations: 4.688 MB / 0.7691 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004523/1.113, allocations: 3.622 MB / 0.7726 GB, free: 100.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02619/1.139, allocations: 15.54 MB / 0.7878 GB, free: 86.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/1.139, allocations: 67.12 kB / 0.7879 GB, free: 86.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 7.394e-06/1.139, allocations: 0 / 0.7879 GB, free: 86.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=345): time 0.07189/1.211, allocations: 29.22 MB / 0.8164 GB, free: 62.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.211, allocations: 213.8 kB / 0.8166 GB, free: 62.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008094/1.219, allocations: 4.331 MB / 0.8209 GB, free: 58.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007642/1.22, allocations: 29.7 kB / 0.8209 GB, free: 58.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/1.222, allocations: 4.173 MB / 0.825 GB, free: 54.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00145/1.224, allocations: 1.238 MB / 0.8262 GB, free: 53.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005849/1.224, allocations: 0 / 0.8262 GB, free: 53.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003952/1.225, allocations: 0.6995 MB / 0.8268 GB, free: 52.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00506/1.23, allocations: 4.548 MB / 0.8313 GB, free: 48.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007486/1.237, allocations: 9.727 MB / 0.8408 GB, free: 37.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009023/1.246, allocations: 6.621 MB / 0.8473 GB, free: 31.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/1.246, allocations: 55.94 kB / 0.8473 GB, free: 31.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.04066/1.287, allocations: 17.68 MB / 0.8646 GB, free: 14.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.287, allocations: 11.91 kB / 0.8646 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/1.287, allocations: 184.9 kB / 0.8648 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02102/1.308, allocations: 5.34 MB / 0.87 GB, free: 8.926 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007806/1.316, allocations: 2.094 MB / 0.872 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1999/1.516, allocations: 20.88 MB / 0.8924 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008007/1.524, allocations: 318.4 kB / 0.8927 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/1.526, allocations: 0.5288 MB / 0.8932 GB, free: 127.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1112): * Single equations (assignments): 1104 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001615/1.528, allocations: 0.5558 MB / 0.8938 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.529, allocations: 483.6 kB / 0.8942 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02821/1.557, allocations: 12.08 MB / 0.906 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000149/1.557, allocations: 50.56 kB / 0.9061 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/1.557, allocations: 13.3 kB / 0.9061 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/1.557, allocations: 15.14 kB / 0.9061 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04766/1.605, allocations: 22.54 MB / 0.9281 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-05/1.605, allocations: 3.656 kB / 0.9281 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003432/1.609, allocations: 0.5161 MB / 0.9286 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0186/1.627, allocations: 4.333 MB / 0.9329 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008118/1.628, allocations: 17.36 kB / 0.9329 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/1.648, allocations: 16.8 MB / 0.9493 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/1.648, allocations: 6.531 kB / 0.9493 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03422/1.683, allocations: 17.31 MB / 0.9662 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003731/1.686, allocations: 1.199 MB / 0.9674 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/1.688, allocations: 11.38 kB / 0.9674 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/1.692, allocations: 127.1 kB / 0.9675 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005343/1.692, allocations: 159.1 kB / 0.9676 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003153/1.693, allocations: 79.59 kB / 0.9677 GB, free: 106.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004698/1.697, allocations: 2.909 MB / 0.9706 GB, free: 105.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0107/1.708, allocations: 1.487 MB / 0.972 GB, free: 104.4 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 (260): * Single equations (assignments): 252 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009159/1.709, allocations: 158.7 kB / 0.9722 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01488/1.724, allocations: 10.3 MB / 0.9822 GB, free: 95.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.724, allocations: 0 / 0.9822 GB, free: 95.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005221/1.729, allocations: 3.902 MB / 0.986 GB, free: 91.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/1.732, allocations: 458.5 kB / 0.9865 GB, free: 91.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/1.763, allocations: 13.71 MB / 0.9999 GB, free: 79.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007144/1.77, allocations: 5.131 MB / 1.005 GB, free: 75.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/1.77, allocations: 4 kB / 1.005 GB, free: 75.22 MB / 474.7 MB Notification: Performance of Templates: time 0.32/2.09, allocations: 77.38 MB / 1.08 GB, free: 116.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1)