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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001609/0.001609, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.304/1.304, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001584/0.001584, allocations: 111.4 kB / 223.2 MB, free: 4.113 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.1768/0.1768, allocations: 38.01 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.081e-05/5.105e-05, allocations: 7.984 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4794/0.5881, allocations: 96.32 MB / 0.4903 GB, free: 16.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/0.5885, allocations: 75.73 kB / 0.4903 GB, free: 16.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2157/0.8042, allocations: 73.63 MB / 0.5622 GB, free: 9.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8043, allocations: 0 / 0.5622 GB, free: 9.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001966/0.8045, allocations: 76 kB / 0.5623 GB, free: 9.586 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.01252/0.817, allocations: 4.094 MB / 0.5663 GB, free: 5.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.8171, allocations: 12.03 kB / 0.5663 GB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/0.8221, allocations: 0.7553 MB / 0.567 GB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007107/0.8292, allocations: 2.568 MB / 0.5696 GB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.8296, allocations: 316.4 kB / 0.5699 GB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/0.831, allocations: 415.9 kB / 0.5703 GB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02558/0.8566, allocations: 9.85 MB / 0.5799 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.142e-05/0.8568, allocations: 15.88 kB / 0.5799 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007347/0.8575, allocations: 187.9 kB / 0.5801 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001672/0.8592, allocations: 0.859 MB / 0.5809 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/0.8795, allocations: 8.361 MB / 0.5891 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3213/1.201, allocations: 31.84 MB / 0.6202 GB, free: 93.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009477/1.21, allocations: 3.009 MB / 0.6231 GB, free: 93.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002933/1.213, allocations: 1.543 MB / 0.6246 GB, free: 93.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/1.227, allocations: 8.97 MB / 0.6334 GB, free: 90.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.227, allocations: 47.2 kB / 0.6334 GB, free: 90.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 3.587e-06/1.227, allocations: 0 / 0.6334 GB, free: 90.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.02268/1.25, allocations: 7.624 MB / 0.6409 GB, free: 89.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/1.25, allocations: 115.5 kB / 0.641 GB, free: 88.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/1.253, allocations: 2.49 MB / 0.6434 GB, free: 88.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/1.253, allocations: 48.8 kB / 0.6434 GB, free: 88.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.254, allocations: 2.499 MB / 0.6459 GB, free: 87.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000334/1.254, allocations: 434.3 kB / 0.6463 GB, free: 87.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/1.255, allocations: 80.53 kB / 0.6464 GB, free: 87.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/1.255, allocations: 475.6 kB / 0.6468 GB, free: 86.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/1.257, allocations: 1.411 MB / 0.6482 GB, free: 86.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/1.259, allocations: 3.72 MB / 0.6518 GB, free: 83.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002626/1.262, allocations: 2.219 MB / 0.654 GB, free: 83.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.126e-05/1.262, allocations: 23.12 kB / 0.654 GB, free: 83.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.00695/1.269, allocations: 5.092 MB / 0.659 GB, free: 83.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/1.269, allocations: 38.47 kB / 0.659 GB, free: 83.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/1.269, allocations: 81.34 kB / 0.6591 GB, free: 83.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.986e-05/1.269, allocations: 126.9 kB / 0.6592 GB, free: 83.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/1.272, allocations: 0.9937 MB / 0.6602 GB, free: 83.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.743e-05/1.272, allocations: 162.3 kB / 0.6604 GB, free: 83.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/1.275, allocations: 240.4 kB / 0.6606 GB, free: 83.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003224/1.275, allocations: 239.8 kB / 0.6608 GB, free: 83.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (521): * Single equations (assignments): 520 * 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.0005412/1.276, allocations: 435.8 kB / 0.6612 GB, free: 83.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/1.276, allocations: 241 kB / 0.6615 GB, free: 82.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/1.279, allocations: 2.042 MB / 0.6635 GB, free: 82.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.279, allocations: 13.22 kB / 0.6635 GB, free: 82.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.279, allocations: 3.938 kB / 0.6635 GB, free: 82.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.279, allocations: 7.781 kB / 0.6635 GB, free: 82.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00934/1.289, allocations: 6.964 MB / 0.6703 GB, free: 78.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/1.289, allocations: 15.66 kB / 0.6703 GB, free: 78.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.29, allocations: 302.5 kB / 0.6706 GB, free: 78.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.602e-05/1.29, allocations: 25.56 kB / 0.6706 GB, free: 78.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-05/1.29, allocations: 54.91 kB / 0.6707 GB, free: 78.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.918e-05/1.29, allocations: 33.39 kB / 0.6707 GB, free: 78.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/1.29, allocations: 29.44 kB / 0.6707 GB, free: 78.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/1.293, allocations: 4.235 MB / 0.6749 GB, free: 75.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006251/1.293, allocations: 358 kB / 0.6752 GB, free: 74.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/1.294, allocations: 50.52 kB / 0.6752 GB, free: 74.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.295, allocations: 76 kB / 0.6753 GB, free: 74.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/1.295, allocations: 151.7 kB / 0.6755 GB, free: 74.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.219e-05/1.295, allocations: 59.22 kB / 0.6755 GB, free: 74.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00284/1.298, allocations: 1.754 MB / 0.6772 GB, free: 74.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.298, allocations: 0 / 0.6772 GB, free: 74.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00393/1.302, allocations: 0.7651 MB / 0.678 GB, free: 74.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 155 * 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.0004637/1.302, allocations: 208.2 kB / 0.6782 GB, free: 73.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004183/1.306, allocations: 3.163 MB / 0.6813 GB, free: 72.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.306, allocations: 3.844 kB / 0.6813 GB, free: 72.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/1.308, allocations: 0.872 MB / 0.6821 GB, free: 72.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/1.31, allocations: 323.6 kB / 0.6824 GB, free: 72.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00943/1.319, allocations: 6.322 MB / 0.6886 GB, free: 69.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/1.322, allocations: 3.025 MB / 0.6916 GB, free: 68.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002832/1.324, allocations: 1.047 MB / 0.6926 GB, free: 67.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/1.325, allocations: 185.9 kB / 0.6928 GB, free: 67.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/1.325, allocations: 0 / 0.6928 GB, free: 67.96 MB / 426.7 MB Notification: Performance of Templates: time 0.03946/1.364, allocations: 24.58 MB / 0.7168 GB, free: 53.76 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)