Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [: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.00759/0.00759, allocations: 176.4 kB / 7.449 MB, free: 2.516 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.566/1.566, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001955/0.001955, allocations: 111.9 kB / 217.7 MB, free: 8.207 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.1612/0.1612, allocations: 37.98 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.395e-06/8.415e-06, allocations: 0.9375 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09744, allocations: 48.7 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3128/0.4103, allocations: 102 MB / 0.4885 GB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.4105, allocations: 74.61 kB / 0.4885 GB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.5954/1.006, allocations: 149.4 MB / 0.6345 GB, free: 77.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000252/1.006, allocations: 139.6 kB / 0.6346 GB, free: 77.15 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02013/1.026, allocations: 6.45 MB / 0.6409 GB, free: 74.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.026, allocations: 7.25 kB / 0.6409 GB, free: 74.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02843/1.055, allocations: 5.81 MB / 0.6466 GB, free: 74.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02347/1.078, allocations: 8.445 MB / 0.6548 GB, free: 73.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000413/1.079, allocations: 230.8 kB / 0.655 GB, free: 73.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004461/1.083, allocations: 426.9 kB / 0.6554 GB, free: 73.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02765/1.111, allocations: 12.05 MB / 0.6672 GB, free: 73.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03824/1.149, allocations: 16.22 MB / 0.6831 GB, free: 69.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004589/1.15, allocations: 84.2 kB / 0.6831 GB, free: 69.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004262/1.154, allocations: 38.31 kB / 0.6832 GB, free: 69.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003185/1.157, allocations: 1.843 MB / 0.685 GB, free: 69.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1028/1.26, allocations: 72.11 MB / 0.7554 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005627/1.266, allocations: 3.927 MB / 0.7592 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00396/1.27, allocations: 2.939 MB / 0.7621 GB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02893/1.299, allocations: 15.48 MB / 0.7772 GB, free: 5.023 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.634e-05/1.299, allocations: 69.44 kB / 0.7773 GB, free: 4.949 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 7.834e-06/1.299, allocations: 0 / 0.7773 GB, free: 4.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=352): time 0.2506/1.549, allocations: 18 MB / 0.7949 GB, free: 117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/1.55, allocations: 190.7 kB / 0.795 GB, free: 116.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007583/1.557, allocations: 4.667 MB / 0.7996 GB, free: 116.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006507/1.558, allocations: 32.38 kB / 0.7996 GB, free: 116.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002808/1.561, allocations: 4.725 MB / 0.8042 GB, free: 113.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001503/1.562, allocations: 1.266 MB / 0.8055 GB, free: 113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004809/1.563, allocations: 3.875 kB / 0.8055 GB, free: 113 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005216/1.563, allocations: 0.7258 MB / 0.8062 GB, free: 112.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004335/1.568, allocations: 3.201 MB / 0.8093 GB, free: 112.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007275/1.575, allocations: 8.881 MB / 0.818 GB, free: 105.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009673/1.585, allocations: 5.664 MB / 0.8235 GB, free: 105.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001676/1.585, allocations: 61.19 kB / 0.8236 GB, free: 105.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.02746/1.612, allocations: 12.12 MB / 0.8354 GB, free: 104.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.612, allocations: 3.719 kB / 0.8354 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005244/1.613, allocations: 204 kB / 0.8356 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005131/1.618, allocations: 1.311 MB / 0.8369 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00892/1.627, allocations: 2.238 MB / 0.8391 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/1.64, allocations: 7.235 MB / 0.8461 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/1.65, allocations: 335.6 kB / 0.8465 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002845/1.653, allocations: 0.5807 MB / 0.847 GB, free: 102.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1209): * Single equations (assignments): 1202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004136/1.657, allocations: 0.5916 MB / 0.8476 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00188/1.659, allocations: 0.5059 MB / 0.8481 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/1.674, allocations: 5.364 MB / 0.8533 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001524/1.674, allocations: 33.59 kB / 0.8534 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.52e-05/1.674, allocations: 10.75 kB / 0.8534 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.271e-05/1.674, allocations: 20.8 kB / 0.8534 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03789/1.712, allocations: 12.65 MB / 0.8658 GB, free: 96.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.599e-05/1.712, allocations: 11.47 kB / 0.8658 GB, free: 96.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/1.715, allocations: 0.4996 MB / 0.8663 GB, free: 96.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004258/1.719, allocations: 0.862 MB / 0.8671 GB, free: 96.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006891/1.72, allocations: 30.03 kB / 0.8671 GB, free: 96.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.73, allocations: 5.005 MB / 0.872 GB, free: 93.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-05/1.73, allocations: 23.28 kB / 0.872 GB, free: 93.43 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0183/1.749, allocations: 10.33 MB / 0.8821 GB, free: 87.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003209/1.752, allocations: 0.9191 MB / 0.883 GB, free: 87.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/1.754, allocations: 20.91 kB / 0.883 GB, free: 87.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/1.758, allocations: 91.22 kB / 0.8831 GB, free: 87.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/1.758, allocations: 180.8 kB / 0.8833 GB, free: 87.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000353/1.759, allocations: 104.7 kB / 0.8834 GB, free: 87.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.007225/1.766, allocations: 3.115 MB / 0.8864 GB, free: 86.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01196/1.778, allocations: 1.433 MB / 0.8878 GB, free: 86.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 268 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/1.779, allocations: 231.7 kB / 0.8881 GB, free: 86.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01376/1.793, allocations: 7.564 MB / 0.8954 GB, free: 79.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/1.793, allocations: 4 kB / 0.8954 GB, free: 79.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004613/1.798, allocations: 2.338 MB / 0.8977 GB, free: 77.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005454/1.803, allocations: 0.4897 MB / 0.8982 GB, free: 77.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03709/1.84, allocations: 12.92 MB / 0.9108 GB, free: 65.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01513/1.856, allocations: 5.741 MB / 0.9164 GB, free: 60.92 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/1.856, allocations: 1.531 kB / 0.9164 GB, free: 60.92 MB / 442.7 MB Notification: Performance of Templates: time 0.3195/2.175, allocations: 58.76 MB / 0.9738 GB, free: 96.63 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)