Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.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.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR") [: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.002316/0.002316, allocations: 174.3 kB / 7.449 MB, free: 2.504 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.274/1.274, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.002112/0.002112, allocations: 120.3 kB / 217.7 MB, free: 8.152 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.1939/0.1939, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.178e-05/1.179e-05, allocations: 1.469 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5496, allocations: 95.58 MB / 493.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.5501, allocations: 73.83 kB / 493.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.193/0.7431, allocations: 70.69 MB / 0.5513 GB, free: 1.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003745/0.7435, allocations: 76 kB / 0.5514 GB, free: 1.914 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01932/0.7629, allocations: 4.085 MB / 0.5554 GB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.7629, allocations: 8.031 kB / 0.5554 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006364/0.7693, allocations: 0.7047 MB / 0.5561 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.7826, allocations: 2.557 MB / 0.5586 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005368/0.7832, allocations: 136 kB / 0.5587 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003558/0.7868, allocations: 247.9 kB / 0.5589 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02389/0.8108, allocations: 6.258 MB / 0.5651 GB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03503/0.8458, allocations: 7.915 MB / 0.5728 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/0.8461, allocations: 19.81 kB / 0.5728 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001998/0.8482, allocations: 8 kB / 0.5728 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003254/0.8515, allocations: 0.8783 MB / 0.5737 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07618/0.9277, allocations: 30.3 MB / 0.6033 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.9309, allocations: 1.963 MB / 0.6052 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.9329, allocations: 1.477 MB / 0.6066 GB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2122/1.145, allocations: 8.679 MB / 0.6151 GB, free: 142.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.145, allocations: 43.56 kB / 0.6151 GB, free: 142 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 5.941e-06/1.145, allocations: 0 / 0.6151 GB, free: 142 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02007/1.165, allocations: 7.371 MB / 0.6223 GB, free: 140.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/1.165, allocations: 115.9 kB / 0.6224 GB, free: 140.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/1.169, allocations: 2.195 MB / 0.6246 GB, free: 140.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/1.169, allocations: 25.7 kB / 0.6246 GB, free: 140.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/1.17, allocations: 2.468 MB / 0.627 GB, free: 139.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/1.17, allocations: 386.8 kB / 0.6274 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/1.17, allocations: 3.469 kB / 0.6274 GB, free: 138.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/1.171, allocations: 480.4 kB / 0.6278 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/1.172, allocations: 1.329 MB / 0.6291 GB, free: 138.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002953/1.175, allocations: 3.761 MB / 0.6328 GB, free: 135.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/1.179, allocations: 2.23 MB / 0.635 GB, free: 135.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-05/1.179, allocations: 28.5 kB / 0.635 GB, free: 135.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.007762/1.186, allocations: 4.632 MB / 0.6395 GB, free: 135.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.186, allocations: 3.75 kB / 0.6395 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.581e-05/1.187, allocations: 90.47 kB / 0.6396 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/1.187, allocations: 132.2 kB / 0.6398 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/1.19, allocations: 1.001 MB / 0.6407 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.982e-05/1.19, allocations: 177 kB / 0.6409 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/1.193, allocations: 141.3 kB / 0.641 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/1.194, allocations: 253.1 kB / 0.6413 GB, free: 135.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 533 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005053/1.194, allocations: 343.6 kB / 0.6416 GB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/1.194, allocations: 211.5 kB / 0.6418 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/1.197, allocations: 1.754 MB / 0.6435 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/1.197, allocations: 15.81 kB / 0.6435 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.197, allocations: 0 / 0.6435 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/1.197, allocations: 3.844 kB / 0.6435 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00843/1.205, allocations: 5.706 MB / 0.6491 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.205, allocations: 15.12 kB / 0.6491 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.206, allocations: 255.8 kB / 0.6494 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.549e-05/1.206, allocations: 29.27 kB / 0.6494 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/1.207, allocations: 19.31 kB / 0.6494 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-05/1.207, allocations: 34.34 kB / 0.6495 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-05/1.207, allocations: 34.19 kB / 0.6495 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00282/1.209, allocations: 3.532 MB / 0.6529 GB, free: 130.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/1.21, allocations: 322.8 kB / 0.6532 GB, free: 130.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/1.21, allocations: 27.45 kB / 0.6533 GB, free: 130.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.211, allocations: 41.86 kB / 0.6533 GB, free: 130.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/1.212, allocations: 115.5 kB / 0.6534 GB, free: 130.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/1.212, allocations: 57 kB / 0.6535 GB, free: 130.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002236/1.214, allocations: 1.466 MB / 0.6549 GB, free: 130.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004327/1.218, allocations: 0.653 MB / 0.6555 GB, free: 130.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000473/1.219, allocations: 189.5 kB / 0.6557 GB, free: 129.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005126/1.224, allocations: 2.952 MB / 0.6586 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-05/1.224, allocations: 0 / 0.6586 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/1.225, allocations: 0.7871 MB / 0.6594 GB, free: 129.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.227, allocations: 224.4 kB / 0.6596 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.241, allocations: 6.23 MB / 0.6657 GB, free: 126.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004222/1.245, allocations: 3.233 MB / 0.6688 GB, free: 125.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/1.246, allocations: 0 / 0.6688 GB, free: 125.3 MB / 426.7 MB Notification: Performance of Templates: time 0.0531/1.299, allocations: 23.06 MB / 0.6914 GB, free: 119.2 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)