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.0009649/0.0009708, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006548/0.006548, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.3387/0.3387, allocations: 38.03 MB / 308.8 MB, free: 10.06 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.0006142/0.0006145, allocations: 19.94 kB / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1221, allocations: 57.52 MB / 434.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2724/0.3945, allocations: 46.3 MB / 480.9 MB, free: 26.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01929/0.4139, allocations: 9.414 MB / 490.3 MB, free: 21.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.4242, allocations: 196.4 kB / 490.5 MB, free: 21.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.4254, allocations: 330.4 kB / 490.8 MB, free: 21.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.4276, allocations: 0.8887 MB / 491.7 MB, free: 21.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.4291, allocations: 0.7365 MB / 492.4 MB, free: 20.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.432, allocations: 3.84 MB / 496.3 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005852/0.4378, allocations: 5.989 MB / 0.4905 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.439, allocations: 0.9278 MB / 0.4914 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.4411, allocations: 1.485 MB / 0.4928 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.4415, allocations: 131.7 kB / 0.493 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.4432, allocations: 0.8475 MB / 0.4938 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.4445, allocations: 1.406 MB / 0.4952 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.446, allocations: 1.658 MB / 0.4968 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008239/0.4542, allocations: 5.937 MB / 0.5026 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4542, allocations: 4.562 kB / 0.5026 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4543, allocations: 1.375 kB / 0.5026 GB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002461/0.4545, allocations: 0 / 0.5026 GB, free: 12.66 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.009212/0.4637, allocations: 3.545 MB / 0.506 GB, free: 10.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.4638, allocations: 8.469 kB / 0.5061 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.4668, allocations: 0.5019 MB / 0.5065 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.4706, allocations: 1.801 MB / 0.5083 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.4708, allocations: 242.3 kB / 0.5085 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006212/0.4714, allocations: 316.2 kB / 0.5088 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.4902, allocations: 9.235 MB / 0.5179 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-05/0.4903, allocations: 18.69 kB / 0.5179 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003561/0.4906, allocations: 142.3 kB / 0.518 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002387/0.493, allocations: 1.588 MB / 0.5196 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.5081, allocations: 7.5 MB / 0.5269 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/0.5463, allocations: 28.36 MB / 0.5546 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008809/0.5552, allocations: 2.469 MB / 0.557 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.5578, allocations: 1.287 MB / 0.5582 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/0.5698, allocations: 7.973 MB / 0.566 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.5699, allocations: 51.09 kB / 0.5661 GB, free: 3.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.755e-06/0.5699, allocations: 4 kB / 0.5661 GB, free: 3.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=101): time 0.02179/0.5917, allocations: 7.683 MB / 0.5736 GB, free: 11.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.5919, allocations: 137.5 kB / 0.5737 GB, free: 11.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003915/0.5958, allocations: 2.71 MB / 0.5764 GB, free: 8.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.5959, allocations: 41.7 kB / 0.5764 GB, free: 8.902 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.5975, allocations: 2.384 MB / 0.5787 GB, free: 6.484 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.5979, allocations: 407 kB / 0.5791 GB, free: 6.082 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.5983, allocations: 358.3 kB / 0.5795 GB, free: 5.723 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.5984, allocations: 309.1 kB / 0.5798 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.6004, allocations: 1.269 MB / 0.581 GB, free: 4.141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003504/0.6039, allocations: 3.619 MB / 0.5845 GB, free: 15.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006015/0.6099, allocations: 5.211 MB / 0.5896 GB, free: 8.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.815e-05/0.61, allocations: 24 kB / 0.5896 GB, free: 8.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.007333/0.6173, allocations: 4.799 MB / 0.5943 GB, free: 4.117 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.6174, allocations: 40 kB / 0.5944 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.897e-05/0.6175, allocations: 88.78 kB / 0.5945 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/0.6176, allocations: 112 kB / 0.5946 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.6205, allocations: 0.9864 MB / 0.5955 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001351/0.6207, allocations: 167.3 kB / 0.5957 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.6232, allocations: 211.8 kB / 0.5959 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/0.6235, allocations: 240 kB / 0.5961 GB, free: 2.289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003019/0.6266, allocations: 1.593 MB / 0.5977 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/0.627, allocations: 229 kB / 0.5979 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.6293, allocations: 1.529 MB / 0.5994 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6293, allocations: 8 kB / 0.5994 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6293, allocations: 7.938 kB / 0.5994 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6293, allocations: 7.984 kB / 0.5994 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008987/0.6383, allocations: 6.148 MB / 0.6054 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.6384, allocations: 16 kB / 0.6054 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009605/0.6393, allocations: 243.6 kB / 0.6057 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.369e-05/0.6394, allocations: 27.98 kB / 0.6057 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/0.6395, allocations: 43.94 kB / 0.6057 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.321e-05/0.6395, allocations: 27.92 kB / 0.6058 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/0.6395, allocations: 23.88 kB / 0.6058 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.6423, allocations: 2.146 MB / 0.6079 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/0.6429, allocations: 337.8 kB / 0.6082 GB, free: 5.363 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.6432, allocations: 39.98 kB / 0.6082 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009432/0.6441, allocations: 67.89 kB / 0.6083 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.6443, allocations: 128 kB / 0.6084 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.312e-05/0.6444, allocations: 55.98 kB / 0.6085 GB, free: 5.078 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002683/0.6471, allocations: 1.728 MB / 0.6102 GB, free: 3.344 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6471, allocations: 0 / 0.6102 GB, free: 3.344 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003461/0.6506, allocations: 0.6992 MB / 0.6108 GB, free: 2.645 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004689/0.651, allocations: 210.8 kB / 0.611 GB, free: 2.426 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004602/0.6556, allocations: 2.866 MB / 0.6138 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.6557, allocations: 0 / 0.6138 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.6567, allocations: 0.7239 MB / 0.6145 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006765/0.6635, allocations: 317.8 kB / 0.6149 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.6782, allocations: 8.739 MB / 0.6234 GB, free: 5.586 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00394/0.6822, allocations: 2.743 MB / 0.6261 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003357/0.6856, allocations: 1.069 MB / 0.6271 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007282/0.6863, allocations: 183.4 kB / 0.6273 GB, free: 1.566 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6863, allocations: 0 / 0.6273 GB, free: 1.566 MB / 494.1 MB Notification: Performance of Templates: time 0.2625/0.9489, allocations: 22.46 MB / 0.6492 GB, free: 145 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: