Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.003205/0.003205, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.759/1.759, allocations: 205.1 MB / 222 MB, free: 4.762 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.3686/0.3686, allocations: 37.97 MB / 307.3 MB, free: 10.11 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.001326/0.001326, allocations: 66.41 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1323, allocations: 56.46 MB / 431 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2889/0.4212, allocations: 34.78 MB / 465.8 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.4403, allocations: 7.478 MB / 473.3 MB, free: 32.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009475/0.4499, allocations: 141.2 kB / 473.4 MB, free: 32.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004693/0.4546, allocations: 2.642 MB / 476.1 MB, free: 31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.4569, allocations: 0.6244 MB / 476.7 MB, free: 30.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.4588, allocations: 0.643 MB / 477.3 MB, free: 30.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00311/0.4619, allocations: 2.759 MB / 480.1 MB, free: 29.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.4651, allocations: 3.298 MB / 483.4 MB, free: 28.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.4665, allocations: 0.9263 MB / 484.3 MB, free: 27.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.468, allocations: 1.407 MB / 485.7 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003635/0.4684, allocations: 207.2 kB / 485.9 MB, free: 27.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.4701, allocations: 0.9783 MB / 486.9 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009023/0.471, allocations: 1.157 MB / 488.1 MB, free: 26.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.4722, allocations: 1.37 MB / 489.4 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005125/0.4773, allocations: 4.723 MB / 494.1 MB, free: 24.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4773, allocations: 0 / 494.1 MB, free: 24.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4774, allocations: 0 / 494.1 MB, free: 24.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001504/0.4775, allocations: 1.562 kB / 494.1 MB, free: 24.03 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.009777/0.4873, allocations: 3.084 MB / 497.2 MB, free: 22.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.4874, allocations: 8.375 kB / 497.2 MB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.4892, allocations: 356.9 kB / 497.6 MB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/0.4941, allocations: 1.326 MB / 498.9 MB, free: 21.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.4944, allocations: 179.7 kB / 499.1 MB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.4955, allocations: 231.4 kB / 499.3 MB, free: 21.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.5131, allocations: 6.893 MB / 0.4943 GB, free: 18.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.266e-05/0.5132, allocations: 14.5 kB / 0.4944 GB, free: 18.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.5135, allocations: 106.2 kB / 0.4945 GB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001826/0.5153, allocations: 0.9874 MB / 0.4954 GB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.5296, allocations: 5.676 MB / 0.501 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02451/0.5542, allocations: 20.27 MB / 0.5208 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006955/0.5612, allocations: 1.815 MB / 0.5225 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.5624, allocations: 0.6945 MB / 0.5232 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007792/0.5702, allocations: 4.884 MB / 0.528 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.5702, allocations: 47.06 kB / 0.528 GB, free: 8.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.5702, allocations: 0 / 0.528 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.04158/0.6118, allocations: 9.238 MB / 0.5371 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.6119, allocations: 98.05 kB / 0.5371 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/0.6147, allocations: 1.978 MB / 0.5391 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.6148, allocations: 45.7 kB / 0.5391 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.6159, allocations: 1.667 MB / 0.5407 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.6162, allocations: 410.5 kB / 0.5411 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007825/0.617, allocations: 0.5797 MB / 0.5417 GB, free: 10.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6171, allocations: 301.1 kB / 0.542 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.6187, allocations: 1.04 MB / 0.543 GB, free: 9.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.6213, allocations: 2.664 MB / 0.5456 GB, free: 5.723 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004489/0.6258, allocations: 3.983 MB / 0.5495 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/0.6258, allocations: 19.94 kB / 0.5495 GB, free: 0.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005606/0.6315, allocations: 3.68 MB / 0.5531 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.6315, allocations: 36 kB / 0.5531 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.935e-05/0.6316, allocations: 56 kB / 0.5532 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-05/0.6317, allocations: 79.94 kB / 0.5533 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.634, allocations: 0.7096 MB / 0.554 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.635e-05/0.6341, allocations: 119.5 kB / 0.5541 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.636, allocations: 159.7 kB / 0.5542 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.6362, allocations: 168 kB / 0.5544 GB, free: 11.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (373): * Single equations (assignments): 373 * 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.001882/0.6381, allocations: 1.199 MB / 0.5556 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.6384, allocations: 181.8 kB / 0.5557 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.6414, allocations: 1.739 MB / 0.5574 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.6414, allocations: 8 kB / 0.5574 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.6414, allocations: 7.938 kB / 0.5575 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.6414, allocations: 7.969 kB / 0.5575 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009486/0.6509, allocations: 5.865 MB / 0.5632 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.651, allocations: 12 kB / 0.5632 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008529/0.6518, allocations: 215.6 kB / 0.5634 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-05/0.6519, allocations: 16 kB / 0.5634 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.652, allocations: 39.94 kB / 0.5635 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.836e-05/0.652, allocations: 24.48 kB / 0.5635 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/0.652, allocations: 19.88 kB / 0.5635 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.6543, allocations: 1.693 MB / 0.5652 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.6548, allocations: 258.7 kB / 0.5654 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.6551, allocations: 43.92 kB / 0.5654 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007285/0.6558, allocations: 39.97 kB / 0.5655 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.656, allocations: 100.3 kB / 0.5656 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.656, allocations: 47.88 kB / 0.5656 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001808/0.6579, allocations: 1.288 MB / 0.5669 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6579, allocations: 4 kB / 0.5669 GB, free: 14.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002552/0.6604, allocations: 0.5273 MB / 0.5674 GB, free: 14.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (111): * Single equations (assignments): 111 * 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.0004013/0.6608, allocations: 190.8 kB / 0.5676 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003571/0.6644, allocations: 2.266 MB / 0.5698 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.6644, allocations: 0 / 0.5698 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008283/0.6653, allocations: 0.5991 MB / 0.5704 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.6668, allocations: 247.5 kB / 0.5706 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009604/0.6764, allocations: 6.451 MB / 0.5769 GB, free: 4.152 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/0.6787, allocations: 2.184 MB / 0.579 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002391/0.6811, allocations: 0.7664 MB / 0.5798 GB, free: 1.164 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.6816, allocations: 139.4 kB / 0.5799 GB, free: 1.027 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6816, allocations: 0 / 0.5799 GB, free: 1.027 MB / 446.1 MB Notification: Performance of Templates: time 0.03698/0.7186, allocations: 19.32 MB / 0.5988 GB, free: 13.76 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)