Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.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.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001249/0.001249, allocations: 177 kB / 7.652 MB, free: 1.426 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.49/1.49, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.001627/0.001627, allocations: 108.5 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1967/0.1967, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.862e-05, allocations: 4 kB / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2995, allocations: 54.87 MB / 448.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.7418, allocations: 102.2 MB / 0.5375 GB, free: 34.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.7422, allocations: 80.55 kB / 0.5375 GB, free: 34.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1592/0.9015, allocations: 71.79 MB / 0.6077 GB, free: 7.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.9016, allocations: 0 / 0.6077 GB, free: 7.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001594/0.9017, allocations: 87.92 kB / 0.6077 GB, free: 7.012 MB / 378.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.0129/0.9147, allocations: 4.085 MB / 0.6117 GB, free: 2.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.9147, allocations: 8.031 kB / 0.6117 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/0.92, allocations: 0.7436 MB / 0.6125 GB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0073/0.9273, allocations: 2.564 MB / 0.615 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002455/0.9276, allocations: 140 kB / 0.6151 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002105/0.9297, allocations: 248 kB / 0.6153 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01513/0.9449, allocations: 6.138 MB / 0.6213 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.9667, allocations: 7.803 MB / 0.6289 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.9668, allocations: 15.88 kB / 0.629 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006705/0.9675, allocations: 12 kB / 0.629 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.9692, allocations: 0.863 MB / 0.6298 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05646/1.026, allocations: 30.22 MB / 0.6593 GB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/1.03, allocations: 1.943 MB / 0.6612 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/1.032, allocations: 1.446 MB / 0.6626 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01461/1.047, allocations: 8.608 MB / 0.671 GB, free: 4.547 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/1.047, allocations: 39.34 kB / 0.6711 GB, free: 4.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 5.41e-06/1.047, allocations: 0 / 0.6711 GB, free: 4.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.02083/1.068, allocations: 8.053 MB / 0.6789 GB, free: 12.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.068, allocations: 111.6 kB / 0.6791 GB, free: 12.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/1.071, allocations: 2.156 MB / 0.6812 GB, free: 10.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/1.071, allocations: 29.77 kB / 0.6812 GB, free: 10.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002307/1.074, allocations: 2.592 MB / 0.6837 GB, free: 7.422 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004875/1.074, allocations: 391.1 kB / 0.6841 GB, free: 7.035 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/1.074, allocations: 0 / 0.6841 GB, free: 7.035 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003083/1.075, allocations: 483 kB / 0.6846 GB, free: 6.555 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/1.076, allocations: 1.289 MB / 0.6858 GB, free: 5.258 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003543/1.08, allocations: 3.722 MB / 0.6894 GB, free: 308 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004481/1.085, allocations: 2.25 MB / 0.6916 GB, free: 14.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-05/1.085, allocations: 24 kB / 0.6917 GB, free: 14.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.008671/1.093, allocations: 4.674 MB / 0.6962 GB, free: 9.344 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/1.093, allocations: 47.22 kB / 0.6963 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.751e-05/1.093, allocations: 88.09 kB / 0.6964 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/1.094, allocations: 132 kB / 0.6965 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003246/1.097, allocations: 1.018 MB / 0.6975 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001382/1.097, allocations: 175.2 kB / 0.6976 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/1.1, allocations: 171.5 kB / 0.6978 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/1.1, allocations: 256 kB / 0.6981 GB, free: 7.48 MB / 474.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.0005242/1.101, allocations: 346.7 kB / 0.6984 GB, free: 7.137 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/1.101, allocations: 217.1 kB / 0.6986 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/1.104, allocations: 1.699 MB / 0.7003 GB, free: 5.203 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.104, allocations: 19.94 kB / 0.7003 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.104, allocations: 0 / 0.7003 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.104, allocations: 11.97 kB / 0.7003 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3404/1.444, allocations: 5.58 MB / 0.7057 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/1.444, allocations: 16.88 kB / 0.7057 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.446, allocations: 265.4 kB / 0.706 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-05/1.446, allocations: 25.41 kB / 0.706 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/1.446, allocations: 25.12 kB / 0.7061 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-05/1.446, allocations: 35.56 kB / 0.7061 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.947e-05/1.446, allocations: 29.11 kB / 0.7061 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/1.449, allocations: 3.505 MB / 0.7095 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006763/1.45, allocations: 322.1 kB / 0.7098 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.45, allocations: 24.89 kB / 0.7099 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.451, allocations: 47.75 kB / 0.7099 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/1.452, allocations: 139.5 kB / 0.71 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.971e-05/1.452, allocations: 56.95 kB / 0.7101 GB, free: 115.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00267/1.454, allocations: 1.437 MB / 0.7115 GB, free: 115.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.454, allocations: 0 / 0.7115 GB, free: 115.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004219/1.459, allocations: 0.6546 MB / 0.7121 GB, free: 115.2 MB / 474.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.0005026/1.459, allocations: 183.4 kB / 0.7123 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005508/1.465, allocations: 2.861 MB / 0.7151 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.465, allocations: 3.969 kB / 0.7151 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009651/1.466, allocations: 0.7609 MB / 0.7159 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/1.467, allocations: 223.1 kB / 0.7161 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.479, allocations: 6.136 MB / 0.7221 GB, free: 113.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/1.482, allocations: 3.022 MB / 0.725 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003386/1.485, allocations: 1.015 MB / 0.726 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/1.486, allocations: 181.2 kB / 0.7262 GB, free: 112.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/1.486, allocations: 0 / 0.7262 GB, free: 112.5 MB / 474.7 MB Notification: Performance of Templates: time 0.04213/1.528, allocations: 19.68 MB / 0.7454 GB, free: 111.6 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)