Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003338/0.003338, allocations: 183.8 kB / 7.459 MB, free: 2.492 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.172/1.172, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001553/0.001553, allocations: 119.2 kB / 247.1 MB, free: 6.371 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.1574/0.1574, allocations: 39.95 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.498e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2997/0.4007, allocations: 108.7 MB / 0.5433 GB, free: 7.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.401, allocations: 77.77 kB / 0.5434 GB, free: 7.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.6368/1.038, allocations: 149.4 MB / 0.6893 GB, free: 56.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005873/1.039, allocations: 129.6 kB / 0.6894 GB, free: 56.54 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02591/1.064, allocations: 6.458 MB / 0.6957 GB, free: 53.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.065, allocations: 10.19 kB / 0.6957 GB, free: 53.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02674/1.091, allocations: 5.805 MB / 0.7014 GB, free: 53.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02335/1.115, allocations: 8.443 MB / 0.7097 GB, free: 52.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005609/1.115, allocations: 232 kB / 0.7099 GB, free: 52.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003855/1.119, allocations: 421.2 kB / 0.7103 GB, free: 52.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02158/1.141, allocations: 12.05 MB / 0.7221 GB, free: 52.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04027/1.181, allocations: 16.23 MB / 0.7379 GB, free: 48.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000544/1.182, allocations: 78.38 kB / 0.738 GB, free: 48.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003723/1.185, allocations: 40.56 kB / 0.738 GB, free: 48.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002513/1.188, allocations: 1.845 MB / 0.7398 GB, free: 48.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09478/1.283, allocations: 72.12 MB / 0.8102 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006397/1.289, allocations: 3.918 MB / 0.8141 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005358/1.295, allocations: 2.945 MB / 0.8169 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03635/1.331, allocations: 15.49 MB / 0.8321 GB, free: 2.176 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/1.331, allocations: 70.08 kB / 0.8321 GB, free: 2.105 MB / 490.7 MB Notification: Performance of pre-optimization done (n=292): time 9.488e-06/1.331, allocations: 0 / 0.8321 GB, free: 2.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=352): time 0.05927/1.39, allocations: 17.88 MB / 0.8496 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.391, allocations: 188.4 kB / 0.8498 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1865/1.577, allocations: 4.734 MB / 0.8544 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007162/1.578, allocations: 29.55 kB / 0.8544 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002778/1.581, allocations: 4.724 MB / 0.859 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/1.582, allocations: 1.274 MB / 0.8603 GB, free: 164 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006088/1.583, allocations: 0 / 0.8603 GB, free: 164 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004872/1.583, allocations: 0.7193 MB / 0.861 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00416/1.587, allocations: 3.202 MB / 0.8641 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006161/1.594, allocations: 8.88 MB / 0.8728 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008432/1.602, allocations: 5.674 MB / 0.8783 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001692/1.602, allocations: 58.03 kB / 0.8784 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.02728/1.63, allocations: 12.1 MB / 0.8902 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.63, allocations: 7.297 kB / 0.8902 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006208/1.63, allocations: 209.5 kB / 0.8904 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004638/1.635, allocations: 1.305 MB / 0.8917 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008334/1.643, allocations: 2.244 MB / 0.8939 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.655, allocations: 7.224 MB / 0.9009 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008303/1.663, allocations: 335 kB / 0.9012 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002334/1.666, allocations: 0.5778 MB / 0.9018 GB, free: 153.7 MB / 0.4948 GB 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.002972/1.669, allocations: 0.5945 MB / 0.9024 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/1.67, allocations: 0.498 MB / 0.9029 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/1.682, allocations: 5.379 MB / 0.9081 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/1.682, allocations: 30.06 kB / 0.9082 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.193e-05/1.682, allocations: 7.375 kB / 0.9082 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/1.682, allocations: 20.7 kB / 0.9082 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03242/1.715, allocations: 12.66 MB / 0.9205 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/1.715, allocations: 17.81 kB / 0.9206 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/1.718, allocations: 0.4962 MB / 0.921 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00365/1.721, allocations: 0.8647 MB / 0.9219 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000597/1.722, allocations: 28.83 kB / 0.9219 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007763/1.73, allocations: 5.008 MB / 0.9268 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/1.73, allocations: 19.59 kB / 0.9268 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01531/1.745, allocations: 10.32 MB / 0.9369 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002817/1.748, allocations: 0.9215 MB / 0.9378 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00161/1.749, allocations: 15.44 kB / 0.9378 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003528/1.753, allocations: 94.59 kB / 0.9379 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/1.753, allocations: 180.1 kB / 0.9381 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003173/1.754, allocations: 104.5 kB / 0.9382 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.007614/1.761, allocations: 3.118 MB / 0.9412 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009333/1.771, allocations: 1.429 MB / 0.9426 GB, free: 138.6 MB / 0.4948 GB 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.0007866/1.772, allocations: 230.2 kB / 0.9428 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.784, allocations: 7.561 MB / 0.9502 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/1.784, allocations: 8 kB / 0.9502 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003442/1.788, allocations: 2.335 MB / 0.9525 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.791, allocations: 0.4994 MB / 0.953 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/1.817, allocations: 12.91 MB / 0.9656 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008184/1.825, allocations: 5.754 MB / 0.9712 GB, free: 114 MB / 0.4948 GB Notification: Performance of SimCode: time 1.603e-06/1.825, allocations: 0 / 0.9712 GB, free: 114 MB / 0.4948 GB Notification: Performance of Templates: time 0.1098/1.935, allocations: 58.76 MB / 1.029 GB, free: 65.91 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)