Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004103/0.004103, allocations: 173.2 kB / 7.447 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.348/1.348, allocations: 170.6 MB / 178.4 MB, free: 15.8 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.001744/0.001744, allocations: 116.5 kB / 217.7 MB, free: 8.578 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.1766/0.1766, allocations: 37.97 MB / 294.8 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.043e-06, allocations: 0 / 349.5 MB, free: 37.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 48.72 MB / 398.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.4143, allocations: 95.34 MB / 493.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4146, allocations: 71.12 kB / 493.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3328/0.7473, allocations: 122.2 MB / 0.6013 GB, free: 15.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000536/0.7479, allocations: 119 kB / 0.6015 GB, free: 15.45 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.02483/0.7728, allocations: 6.155 MB / 0.6075 GB, free: 9.238 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.7728, allocations: 8.031 kB / 0.6075 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03418/0.807, allocations: 7.63 MB / 0.6149 GB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1844/0.9915, allocations: 7.405 MB / 0.6222 GB, free: 102.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.9919, allocations: 194.4 kB / 0.6223 GB, free: 102.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003619/0.9955, allocations: 357.7 kB / 0.6227 GB, free: 102.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02011/1.016, allocations: 10.43 MB / 0.6329 GB, free: 102.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03299/1.049, allocations: 14.33 MB / 0.6469 GB, free: 99.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000349/1.049, allocations: 77.03 kB / 0.6469 GB, free: 99.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/1.052, allocations: 35.27 kB / 0.647 GB, free: 99.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002114/1.054, allocations: 1.72 MB / 0.6486 GB, free: 99.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07754/1.131, allocations: 62.37 MB / 0.7096 GB, free: 61.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00683/1.138, allocations: 4.682 MB / 0.7141 GB, free: 59.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005457/1.144, allocations: 3.625 MB / 0.7177 GB, free: 58.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02496/1.169, allocations: 15.54 MB / 0.7328 GB, free: 49.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.259e-05/1.169, allocations: 63.47 kB / 0.7329 GB, free: 49.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 8.646e-06/1.169, allocations: 3.891 kB / 0.7329 GB, free: 49.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.06728/1.236, allocations: 29.2 MB / 0.7614 GB, free: 26.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/1.236, allocations: 217.8 kB / 0.7616 GB, free: 26.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006016/1.242, allocations: 4.336 MB / 0.7659 GB, free: 22.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000807/1.243, allocations: 25.7 kB / 0.7659 GB, free: 22.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/1.245, allocations: 4.168 MB / 0.77 GB, free: 19.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.247, allocations: 1.239 MB / 0.7712 GB, free: 17.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/1.247, allocations: 0 / 0.7712 GB, free: 17.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004593/1.248, allocations: 0.6966 MB / 0.7719 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005574/1.253, allocations: 4.558 MB / 0.7763 GB, free: 13.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008027/1.261, allocations: 9.721 MB / 0.7858 GB, free: 1.516 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1778/1.439, allocations: 7.177 MB / 0.7928 GB, free: 89.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/1.439, allocations: 55.22 kB / 0.7929 GB, free: 89.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.04849/1.488, allocations: 17.7 MB / 0.8102 GB, free: 88.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.488, allocations: 5.578 kB / 0.8102 GB, free: 88.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004032/1.488, allocations: 182.3 kB / 0.8103 GB, free: 88.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02983/1.518, allocations: 5.331 MB / 0.8155 GB, free: 88.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008893/1.527, allocations: 2.09 MB / 0.8176 GB, free: 88.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03021/1.557, allocations: 20.9 MB / 0.838 GB, free: 86.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/1.569, allocations: 316.5 kB / 0.8383 GB, free: 86.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002901/1.572, allocations: 0.5247 MB / 0.8388 GB, free: 86.06 MB / 426.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.003755/1.575, allocations: 0.5634 MB / 0.8394 GB, free: 85.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.577, allocations: 480 kB / 0.8398 GB, free: 85.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02948/1.606, allocations: 12.09 MB / 0.8516 GB, free: 83.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001484/1.606, allocations: 43.77 kB / 0.8517 GB, free: 83.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/1.606, allocations: 10.84 kB / 0.8517 GB, free: 83.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.899e-05/1.606, allocations: 16.59 kB / 0.8517 GB, free: 83.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05627/1.663, allocations: 22.54 MB / 0.8737 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.238e-05/1.663, allocations: 7.469 kB / 0.8737 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003643/1.667, allocations: 0.5139 MB / 0.8742 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01915/1.686, allocations: 4.336 MB / 0.8784 GB, free: 73.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009511/1.687, allocations: 14.19 kB / 0.8785 GB, free: 73.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/1.709, allocations: 16.8 MB / 0.8949 GB, free: 61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.709, allocations: 11.59 kB / 0.8949 GB, free: 60.99 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03462/1.743, allocations: 17.31 MB / 0.9118 GB, free: 46.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004062/1.747, allocations: 1.196 MB / 0.9129 GB, free: 45.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/1.749, allocations: 8 kB / 0.9129 GB, free: 45.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/1.753, allocations: 128.4 kB / 0.9131 GB, free: 45.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/1.753, allocations: 157.4 kB / 0.9132 GB, free: 45.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003223/1.753, allocations: 84 kB / 0.9133 GB, free: 45.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.005062/1.758, allocations: 2.911 MB / 0.9161 GB, free: 42.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01024/1.769, allocations: 1.477 MB / 0.9176 GB, free: 41.04 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 (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.000981/1.77, allocations: 170.7 kB / 0.9177 GB, free: 40.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01457/1.784, allocations: 10.31 MB / 0.9278 GB, free: 31.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/1.784, allocations: 0 / 0.9278 GB, free: 31.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004998/1.789, allocations: 3.909 MB / 0.9316 GB, free: 27.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/1.793, allocations: 451.3 kB / 0.9321 GB, free: 27.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2401/2.033, allocations: 14.09 MB / 0.9458 GB, free: 85.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009394/2.042, allocations: 5.136 MB / 0.9508 GB, free: 84.55 MB / 426.7 MB Notification: Performance of SimCode: time 2.635e-06/2.042, allocations: 0 / 0.9508 GB, free: 84.55 MB / 426.7 MB Notification: Performance of Templates: time 0.1349/2.177, allocations: 77.4 MB / 1.026 GB, free: 67.52 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1)