Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008915/0.0008914, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.363/0.363, allocations: 38.03 MB / 308.4 MB, free: 10.45 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005784, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2816/0.4051, allocations: 43.08 MB / 477 MB, free: 30.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0222/0.4274, allocations: 8.992 MB / 486 MB, free: 24.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01091/0.4383, allocations: 190.9 kB / 486.2 MB, free: 24.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007095/0.4454, allocations: 2.066 MB / 488.3 MB, free: 24.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0171/0.4625, allocations: 5.762 MB / 494.1 MB, free: 21.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.466, allocations: 0.6564 MB / 494.7 MB, free: 21.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004218/0.4702, allocations: 3.089 MB / 497.8 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008086/0.4784, allocations: 5.212 MB / 0.4912 GB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.4808, allocations: 0.978 MB / 0.4922 GB, free: 17.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/0.4839, allocations: 1.46 MB / 0.4936 GB, free: 17.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005698/0.4845, allocations: 131.2 kB / 0.4937 GB, free: 17.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.4865, allocations: 0.676 MB / 0.4944 GB, free: 17.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001749/0.4882, allocations: 1.363 MB / 0.4957 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008902/0.4891, allocations: 0.7088 MB / 0.4964 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007207/0.4964, allocations: 5.019 MB / 0.5013 GB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4964, allocations: 0 / 0.5013 GB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4964, allocations: 0 / 0.5013 GB, free: 14.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002336/0.4966, allocations: 0 / 0.5013 GB, free: 14.51 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01187/0.5085, allocations: 3.597 MB / 0.5048 GB, free: 12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5086, allocations: 9.531 kB / 0.5048 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.5113, allocations: 0.502 MB / 0.5053 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/0.5158, allocations: 1.774 MB / 0.5071 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.516, allocations: 239.3 kB / 0.5073 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007747/0.5168, allocations: 311.5 kB / 0.5076 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.5366, allocations: 9.218 MB / 0.5166 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.366e-05/0.5367, allocations: 18.86 kB / 0.5166 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003182/0.537, allocations: 140.6 kB / 0.5167 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002415/0.5394, allocations: 1.589 MB / 0.5183 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/0.555, allocations: 7.462 MB / 0.5256 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0461/0.6011, allocations: 28.34 MB / 0.5533 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007822/0.609, allocations: 2.466 MB / 0.5557 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.611, allocations: 1.279 MB / 0.5569 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01174/0.6227, allocations: 7.969 MB / 0.5647 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.6228, allocations: 55.11 kB / 0.5647 GB, free: 4.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.466e-06/0.6228, allocations: 0 / 0.5647 GB, free: 4.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=101): time 0.02182/0.6447, allocations: 7.663 MB / 0.5722 GB, free: 12.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.6448, allocations: 145.5 kB / 0.5724 GB, free: 12.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/0.6484, allocations: 2.69 MB / 0.575 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.6486, allocations: 41.7 kB / 0.575 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.6501, allocations: 2.38 MB / 0.5774 GB, free: 7.605 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.6505, allocations: 418.9 kB / 0.5778 GB, free: 7.191 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.6506, allocations: 80 kB / 0.5778 GB, free: 7.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.6509, allocations: 470.6 kB / 0.5783 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.6529, allocations: 1.249 MB / 0.5795 GB, free: 5.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/0.6564, allocations: 3.615 MB / 0.583 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/0.6591, allocations: 1.997 MB / 0.585 GB, free: 14.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.6592, allocations: 24 kB / 0.585 GB, free: 14.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.007506/0.6667, allocations: 4.774 MB / 0.5897 GB, free: 9.773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.6667, allocations: 42.97 kB / 0.5897 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.731e-05/0.6668, allocations: 87.94 kB / 0.5898 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.667, allocations: 124 kB / 0.5899 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.6698, allocations: 0.9826 MB / 0.5909 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.6699, allocations: 171.3 kB / 0.591 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.6724, allocations: 212 kB / 0.5912 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.6727, allocations: 240 kB / 0.5915 GB, free: 7.934 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 380 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (511): * Single equations (assignments): 511 * 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 prepare postOptimizeDAE: time 0.00311/0.6758, allocations: 1.59 MB / 0.593 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.6763, allocations: 233 kB / 0.5932 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.6788, allocations: 1.521 MB / 0.5947 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.6788, allocations: 8 kB / 0.5947 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.6788, allocations: 4 kB / 0.5947 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.6788, allocations: 7.938 kB / 0.5947 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009252/0.6881, allocations: 6.14 MB / 0.6007 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.6881, allocations: 16.94 kB / 0.6008 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009208/0.689, allocations: 251.5 kB / 0.601 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.557e-05/0.6891, allocations: 31.95 kB / 0.601 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/0.6891, allocations: 47.98 kB / 0.6011 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.632e-05/0.6892, allocations: 31.92 kB / 0.6011 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.59e-05/0.6892, allocations: 23.88 kB / 0.6011 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.6919, allocations: 2.122 MB / 0.6032 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/0.6925, allocations: 333.9 kB / 0.6035 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.6928, allocations: 51.94 kB / 0.6036 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008589/0.6936, allocations: 67.88 kB / 0.6036 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.6938, allocations: 124.1 kB / 0.6038 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/0.6939, allocations: 60 kB / 0.6038 GB, free: 10.74 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002407/0.6963, allocations: 1.708 MB / 0.6055 GB, free: 9.027 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6963, allocations: 0 / 0.6055 GB, free: 9.027 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003148/0.6994, allocations: 0.703 MB / 0.6062 GB, free: 8.324 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.000349/0.6998, allocations: 190.8 kB / 0.6063 GB, free: 8.129 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004356/0.7042, allocations: 2.835 MB / 0.6091 GB, free: 5.312 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.7042, allocations: 4 kB / 0.6091 GB, free: 5.309 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.7052, allocations: 0.7217 MB / 0.6098 GB, free: 4.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.7068, allocations: 307.5 kB / 0.6101 GB, free: 4.289 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.7188, allocations: 8.362 MB / 0.6183 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002712/0.7215, allocations: 2.739 MB / 0.621 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00279/0.7244, allocations: 1.065 MB / 0.622 GB, free: 7.867 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.7248, allocations: 179.4 kB / 0.6222 GB, free: 7.695 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7248, allocations: 0 / 0.6222 GB, free: 7.695 MB / 494.1 MB Notification: Performance of Templates: time 0.2543/0.9791, allocations: 22 MB / 0.6436 GB, free: 147.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) Environment - environmentSimulation: