Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.00434/0.00434, allocations: 189.7 kB / 7.457 MB, free: 2.238 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.214/1.214, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001761/0.001761, allocations: 117.1 kB / 247.1 MB, free: 6.324 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.1605/0.1605, allocations: 39.95 MB / 331.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.438e-06/9.708e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.436, allocations: 110.1 MB / 0.5446 GB, free: 6.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4362, allocations: 74.34 kB / 0.5447 GB, free: 6.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.6646/1.101, allocations: 166.3 MB / 0.7071 GB, free: 56.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006455/1.102, allocations: 153.2 kB / 0.7073 GB, free: 56.67 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.02836/1.13, allocations: 7.538 MB / 0.7146 GB, free: 53.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.13, allocations: 7.812 kB / 0.7146 GB, free: 53.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03039/1.16, allocations: 6.078 MB / 0.7206 GB, free: 53.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02748/1.188, allocations: 9.907 MB / 0.7302 GB, free: 52.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009045/1.189, allocations: 246.3 kB / 0.7305 GB, free: 52.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005719/1.195, allocations: 461 kB / 0.7309 GB, free: 52.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02654/1.221, allocations: 13.58 MB / 0.7442 GB, free: 52.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04153/1.263, allocations: 18.03 MB / 0.7618 GB, free: 45.79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006039/1.263, allocations: 93.58 kB / 0.7619 GB, free: 45.74 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004316/1.268, allocations: 42.72 kB / 0.7619 GB, free: 45.74 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003035/1.271, allocations: 2.095 MB / 0.7639 GB, free: 45.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1246/1.396, allocations: 80.78 MB / 0.8428 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008896/1.404, allocations: 5.145 MB / 0.8479 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007829/1.412, allocations: 4.271 MB / 0.852 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2227/1.635, allocations: 20.1 MB / 0.8717 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/1.635, allocations: 60.66 kB / 0.8717 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=340): time 7.474e-06/1.635, allocations: 0 / 0.8717 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=432): time 0.06193/1.697, allocations: 25.9 MB / 0.897 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/1.697, allocations: 194.8 kB / 0.8972 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008247/1.705, allocations: 5.139 MB / 0.9022 GB, free: 154 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008991/1.706, allocations: 32.86 kB / 0.9022 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002803/1.709, allocations: 5.071 MB / 0.9072 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.711, allocations: 1.541 MB / 0.9087 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007024/1.712, allocations: 2.531 kB / 0.9087 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005689/1.712, allocations: 0.7707 MB / 0.9095 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00549/1.718, allocations: 4.12 MB / 0.9135 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007567/1.725, allocations: 10.17 MB / 0.9234 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008389/1.734, allocations: 6.546 MB / 0.9298 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.684e-05/1.734, allocations: 61.16 kB / 0.9299 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1437) (initialization): time 0.03112/1.765, allocations: 14.91 MB / 0.9444 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.765, allocations: 7.062 kB / 0.9444 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005834/1.766, allocations: 216.9 kB / 0.9446 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007989/1.774, allocations: 2.226 MB / 0.9468 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01035/1.784, allocations: 2.499 MB / 0.9492 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/1.804, allocations: 10.66 MB / 0.9597 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/1.814, allocations: 425.4 kB / 0.9601 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002692/1.817, allocations: 0.6182 MB / 0.9607 GB, free: 122.9 MB / 0.4948 GB 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.002386/1.819, allocations: 0.6261 MB / 0.9613 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.821, allocations: 0.5707 MB / 0.9618 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/1.837, allocations: 8.102 MB / 0.9698 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001401/1.837, allocations: 55.73 kB / 0.9698 GB, free: 115 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-05/1.837, allocations: 12 kB / 0.9698 GB, free: 115 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.826e-05/1.837, allocations: 19.45 kB / 0.9698 GB, free: 115 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03649/1.874, allocations: 17.46 MB / 0.9869 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/1.874, allocations: 12 kB / 0.9869 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/1.877, allocations: 0.6213 MB / 0.9875 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006871/1.884, allocations: 1.744 MB / 0.9892 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000785/1.885, allocations: 20 kB / 0.9892 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.898, allocations: 8.99 MB / 0.998 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/1.898, allocations: 15.94 kB / 0.998 GB, free: 90.69 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01958/1.918, allocations: 14.38 MB / 1.012 GB, free: 77.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003449/1.921, allocations: 1.145 MB / 1.013 GB, free: 76.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001507/1.923, allocations: 19.7 kB / 1.013 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/1.926, allocations: 138 kB / 1.013 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/1.927, allocations: 215.9 kB / 1.014 GB, free: 75.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/1.927, allocations: 119.4 kB / 1.014 GB, free: 75.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.005123/1.932, allocations: 3.443 MB / 1.017 GB, free: 72.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01009/1.942, allocations: 1.673 MB / 1.019 GB, free: 71.09 MB / 0.4948 GB 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.0008624/1.943, allocations: 220.5 kB / 1.019 GB, free: 70.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.957, allocations: 9.612 MB / 1.028 GB, free: 62.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.958, allocations: 4 kB / 1.028 GB, free: 62.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004702/1.962, allocations: 3.287 MB / 1.031 GB, free: 59.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/1.966, allocations: 0.5538 MB / 1.032 GB, free: 58.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/1.997, allocations: 15.05 MB / 1.047 GB, free: 44.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009822/2.007, allocations: 6.217 MB / 1.053 GB, free: 40.15 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/2.007, allocations: 3.938 kB / 1.053 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.3203/2.327, allocations: 73.45 MB / 1.124 GB, free: 138.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)