Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [: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.004096/0.004096, allocations: 179.2 kB / 7.453 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.347/1.347, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001781/0.001781, allocations: 115.8 kB / 217.7 MB, free: 8.172 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.1844/0.1844, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.338e-06/9.358e-06, allocations: 1.625 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09506, allocations: 48.71 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/0.4316, allocations: 103.3 MB / 0.4898 GB, free: 12.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.4318, allocations: 76.89 kB / 0.4899 GB, free: 12.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.6468/1.079, allocations: 166.3 MB / 0.6523 GB, free: 76.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007992/1.08, allocations: 149.7 kB / 0.6524 GB, free: 76.86 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.02627/1.106, allocations: 7.535 MB / 0.6598 GB, free: 73.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.106, allocations: 11.03 kB / 0.6598 GB, free: 73.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02759/1.133, allocations: 6.081 MB / 0.6657 GB, free: 73.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/1.159, allocations: 9.911 MB / 0.6754 GB, free: 72.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005515/1.16, allocations: 245.6 kB / 0.6756 GB, free: 72.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004533/1.164, allocations: 463.5 kB / 0.6761 GB, free: 72.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02753/1.192, allocations: 13.58 MB / 0.6893 GB, free: 72.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04503/1.237, allocations: 18.02 MB / 0.7069 GB, free: 60.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005867/1.237, allocations: 92.02 kB / 0.707 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003812/1.241, allocations: 47.94 kB / 0.7071 GB, free: 60.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002987/1.244, allocations: 2.092 MB / 0.7091 GB, free: 58.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3298/1.574, allocations: 80.59 MB / 0.7878 GB, free: 112 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007154/1.581, allocations: 5.141 MB / 0.7928 GB, free: 111.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006045/1.587, allocations: 4.27 MB / 0.797 GB, free: 111.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03619/1.624, allocations: 20.09 MB / 0.8166 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/1.624, allocations: 77.14 kB / 0.8167 GB, free: 105.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=340): time 8.526e-06/1.624, allocations: 0 / 0.8167 GB, free: 105.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=432): time 0.07462/1.698, allocations: 25.91 MB / 0.842 GB, free: 101.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/1.698, allocations: 199.3 kB / 0.8422 GB, free: 101.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.709, allocations: 5.141 MB / 0.8472 GB, free: 99.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001236/1.71, allocations: 25.7 kB / 0.8472 GB, free: 99.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00352/1.714, allocations: 5.071 MB / 0.8522 GB, free: 96.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002262/1.716, allocations: 1.545 MB / 0.8537 GB, free: 94.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007697/1.717, allocations: 0 / 0.8537 GB, free: 94.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005915/1.717, allocations: 0.7691 MB / 0.8544 GB, free: 94.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00552/1.723, allocations: 4.121 MB / 0.8585 GB, free: 92.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/1.734, allocations: 10.18 MB / 0.8684 GB, free: 83.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/1.746, allocations: 6.532 MB / 0.8748 GB, free: 81.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000257/1.746, allocations: 64.16 kB / 0.8748 GB, free: 81.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=1437) (initialization): time 0.04008/1.786, allocations: 14.91 MB / 0.8894 GB, free: 77.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.786, allocations: 4.688 kB / 0.8894 GB, free: 77.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004044/1.787, allocations: 214.5 kB / 0.8896 GB, free: 77.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008566/1.795, allocations: 2.227 MB / 0.8918 GB, free: 76.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/1.806, allocations: 2.496 MB / 0.8942 GB, free: 75.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/1.823, allocations: 10.66 MB / 0.9046 GB, free: 66.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/1.833, allocations: 430.4 kB / 0.9051 GB, free: 65.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00271/1.836, allocations: 0.6166 MB / 0.9057 GB, free: 65.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 979 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1336): * Single equations (assignments): 1329 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003589/1.84, allocations: 0.6311 MB / 0.9063 GB, free: 64.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.841, allocations: 0.5706 MB / 0.9068 GB, free: 64.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/1.858, allocations: 8.106 MB / 0.9147 GB, free: 57.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001312/1.858, allocations: 52 kB / 0.9148 GB, free: 57.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/1.858, allocations: 12 kB / 0.9148 GB, free: 57.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.977e-05/1.858, allocations: 21.7 kB / 0.9148 GB, free: 57.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03853/1.897, allocations: 17.45 MB / 0.9319 GB, free: 42.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.675e-05/1.897, allocations: 14.84 kB / 0.9319 GB, free: 42.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003497/1.901, allocations: 0.6201 MB / 0.9325 GB, free: 42.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007037/1.908, allocations: 1.739 MB / 0.9342 GB, free: 41.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008683/1.909, allocations: 26.52 kB / 0.9342 GB, free: 41.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/1.923, allocations: 8.984 MB / 0.943 GB, free: 33.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/1.923, allocations: 23.84 kB / 0.943 GB, free: 33.26 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2388/2.162, allocations: 15.66 MB / 0.9583 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004021/2.166, allocations: 1.14 MB / 0.9594 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/2.168, allocations: 18.73 kB / 0.9594 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003778/2.172, allocations: 147.3 kB / 0.9596 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000504/2.172, allocations: 210.8 kB / 0.9598 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/2.173, allocations: 114.3 kB / 0.9599 GB, free: 103.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.006288/2.179, allocations: 3.444 MB / 0.9632 GB, free: 103 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0125/2.191, allocations: 1.671 MB / 0.9649 GB, free: 103 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (343): * Single equations (assignments): 336 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/2.193, allocations: 223 kB / 0.9651 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01799/2.211, allocations: 9.611 MB / 0.9745 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/2.211, allocations: 0 / 0.9745 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005159/2.216, allocations: 3.3 MB / 0.9777 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/2.22, allocations: 0.5556 MB / 0.9782 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/2.254, allocations: 15.04 MB / 0.9929 GB, free: 99.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0116/2.266, allocations: 6.229 MB / 0.999 GB, free: 98.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/2.266, allocations: 0 / 0.999 GB, free: 98.83 MB / 442.7 MB Notification: Performance of Templates: time 0.152/2.418, allocations: 73.45 MB / 1.071 GB, free: 75.74 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)