Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005484/0.005484, allocations: 101.7 kB / 15.73 MB, free: 6.035 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.001051/0.001051, allocations: 198.8 kB / 16.67 MB, free: 5.969 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.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3617/0.3617, allocations: 38 MB / 307.9 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.001518/0.001518, allocations: 76.44 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4356, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01348/0.4492, allocations: 10.29 MB / 499.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.4602, allocations: 3.246 MB / 0.4912 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004281/0.4645, allocations: 57.84 kB / 0.4913 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005961/0.4706, allocations: 2.65 MB / 0.4939 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.4741, allocations: 0.6774 MB / 0.4945 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.4764, allocations: 0.5192 MB / 0.495 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003711/0.4801, allocations: 1.608 MB / 0.4966 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/0.4845, allocations: 3.276 MB / 0.4998 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.487, allocations: 1.021 MB / 0.5008 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.4891, allocations: 1.307 MB / 0.5021 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005644/0.4896, allocations: 278.2 kB / 0.5023 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.4915, allocations: 0.7997 MB / 0.5031 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.4927, allocations: 1.218 MB / 0.5043 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.4943, allocations: 1.448 MB / 0.5057 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006824/0.5012, allocations: 4.665 MB / 0.5103 GB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.5012, allocations: 0 / 0.5103 GB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5012, allocations: 0 / 0.5103 GB, free: 15.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000241/0.5015, allocations: 0 / 0.5103 GB, free: 15.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.009089/0.5106, allocations: 2.958 MB / 0.5132 GB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.5106, allocations: 14.45 kB / 0.5132 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.5123, allocations: 354.2 kB / 0.5135 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/0.5153, allocations: 1.265 MB / 0.5147 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.5155, allocations: 172.3 kB / 0.5149 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/0.516, allocations: 251.3 kB / 0.5152 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.5327, allocations: 6.025 MB / 0.521 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.956e-05/0.5329, allocations: 15.88 kB / 0.5211 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.5332, allocations: 99.94 kB / 0.5211 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/0.5349, allocations: 0.9613 MB / 0.5221 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.5477, allocations: 4.492 MB / 0.5265 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03226/0.58, allocations: 18.45 MB / 0.5445 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/0.5851, allocations: 1.266 MB / 0.5457 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.5862, allocations: 395.3 kB / 0.5461 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.5885, allocations: 2.05 MB / 0.5481 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.5886, allocations: 47.06 kB / 0.5481 GB, free: 10.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.246e-06/0.5886, allocations: 0 / 0.5481 GB, free: 10.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.02386/0.6124, allocations: 5.904 MB / 0.5539 GB, free: 4.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.6126, allocations: 86.11 kB / 0.554 GB, free: 4.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.6155, allocations: 1.84 MB / 0.5558 GB, free: 2.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.6156, allocations: 41.7 kB / 0.5558 GB, free: 2.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.6172, allocations: 1.652 MB / 0.5574 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/0.6177, allocations: 410.5 kB / 0.5578 GB, free: 340 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009361/0.6186, allocations: 0.5482 MB / 0.5584 GB, free: 15.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6188, allocations: 309.1 kB / 0.5587 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.6203, allocations: 0.8096 MB / 0.5595 GB, free: 14.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.6233, allocations: 2.362 MB / 0.5618 GB, free: 11.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004662/0.628, allocations: 3.463 MB / 0.5651 GB, free: 7.305 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/0.6281, allocations: 19.94 kB / 0.5652 GB, free: 7.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005472/0.6335, allocations: 3.157 MB / 0.5682 GB, free: 4.121 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.6336, allocations: 36.03 kB / 0.5683 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.162e-05/0.6337, allocations: 52 kB / 0.5683 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-05/0.6337, allocations: 76 kB / 0.5684 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.6358, allocations: 0.6433 MB / 0.569 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.55e-05/0.6359, allocations: 111.6 kB / 0.5691 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.6377, allocations: 123.9 kB / 0.5693 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.6379, allocations: 160 kB / 0.5694 GB, free: 2.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (361): * Single equations (assignments): 361 * 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.002183/0.6401, allocations: 1.196 MB / 0.5706 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.6404, allocations: 173.8 kB / 0.5707 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.6427, allocations: 1.27 MB / 0.572 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.6427, allocations: 12 kB / 0.572 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.6427, allocations: 0 / 0.572 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.6427, allocations: 7.969 kB / 0.572 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009735/0.6525, allocations: 6.467 MB / 0.5783 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/0.6525, allocations: 20 kB / 0.5783 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006445/0.6532, allocations: 203.6 kB / 0.5785 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.608e-05/0.6532, allocations: 24 kB / 0.5786 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.6533, allocations: 44 kB / 0.5786 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.708e-05/0.6533, allocations: 43.8 kB / 0.5786 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.336e-05/0.6534, allocations: 31.88 kB / 0.5787 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.6555, allocations: 1.672 MB / 0.5803 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/0.6562, allocations: 270.8 kB / 0.5806 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.6564, allocations: 51.92 kB / 0.5806 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006827/0.6571, allocations: 43.98 kB / 0.5807 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.6573, allocations: 127.4 kB / 0.5808 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.6574, allocations: 56 kB / 0.5808 GB, free: 6.504 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001831/0.6592, allocations: 1.228 MB / 0.582 GB, free: 5.285 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6592, allocations: 0 / 0.582 GB, free: 5.285 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002921/0.6622, allocations: 0.4922 MB / 0.5825 GB, free: 4.793 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.0004608/0.6626, allocations: 210.6 kB / 0.5827 GB, free: 4.574 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003401/0.666, allocations: 1.886 MB / 0.5845 GB, free: 2.699 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/0.6661, allocations: 4 kB / 0.5846 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006916/0.6668, allocations: 492.8 kB / 0.585 GB, free: 2.219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.6684, allocations: 291.7 kB / 0.5853 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.6799, allocations: 5.241 MB / 0.5904 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003401/0.6835, allocations: 2.19 MB / 0.5926 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002165/0.6856, allocations: 0.7112 MB / 0.5933 GB, free: 9.445 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.686, allocations: 131.4 kB / 0.5934 GB, free: 9.316 MB / 478.1 MB Notification: Performance of SimCode: time 1.914e-06/0.686, allocations: 0 / 0.5934 GB, free: 9.316 MB / 478.1 MB Notification: Performance of Templates: time 0.036/0.722, allocations: 17.35 MB / 0.6103 GB, free: 7.98 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)