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.005487/0.005487, allocations: 103.5 kB / 15.74 MB, free: 5.992 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.0013/0.0013, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.474/1.474, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.4211/0.4211, allocations: 37.99 MB / 307.9 MB, free: 10.1 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.001722/0.001722, allocations: 67.89 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3838, allocations: 56.47 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01197/0.3958, allocations: 10.29 MB / 499.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009032/0.4049, allocations: 3.243 MB / 0.4912 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.4073, allocations: 54.31 kB / 0.4913 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005365/0.4128, allocations: 2.652 MB / 0.4939 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.4157, allocations: 0.7162 MB / 0.4946 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.4176, allocations: 0.5197 MB / 0.4951 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.4205, allocations: 1.611 MB / 0.4966 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004511/0.4251, allocations: 3.284 MB / 0.4998 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.4273, allocations: 1.011 MB / 0.5008 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.429, allocations: 1.317 MB / 0.5021 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004532/0.4295, allocations: 282 kB / 0.5024 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.4311, allocations: 0.7992 MB / 0.5032 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.4322, allocations: 1.228 MB / 0.5044 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.4335, allocations: 1.448 MB / 0.5058 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006257/0.4398, allocations: 4.66 MB / 0.5103 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.4398, allocations: 0 / 0.5103 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.4399, allocations: 1.219 kB / 0.5103 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001611/0.44, allocations: 0 / 0.5103 GB, free: 15.5 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.00781/0.4478, allocations: 2.948 MB / 0.5132 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.4479, allocations: 16.73 kB / 0.5132 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.4495, allocations: 361.6 kB / 0.5136 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.4519, allocations: 1.268 MB / 0.5148 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.4521, allocations: 173.6 kB / 0.515 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004251/0.4525, allocations: 238.9 kB / 0.5152 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.465, allocations: 6.025 MB / 0.5211 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-05/0.4651, allocations: 19.81 kB / 0.5211 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.4653, allocations: 103.9 kB / 0.5212 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/0.4668, allocations: 0.9613 MB / 0.5221 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.4768, allocations: 4.488 MB / 0.5265 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03064/0.5075, allocations: 18.45 MB / 0.5445 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004524/0.5122, allocations: 1.265 MB / 0.5458 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/0.5129, allocations: 391.3 kB / 0.5461 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002109/0.515, allocations: 2.055 MB / 0.5482 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/0.5151, allocations: 43.06 kB / 0.5482 GB, free: 10.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 5e-06/0.5151, allocations: 0 / 0.5482 GB, free: 10.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.0228/0.538, allocations: 5.907 MB / 0.554 GB, free: 4.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.5381, allocations: 86.11 kB / 0.554 GB, free: 4.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/0.5416, allocations: 1.84 MB / 0.5558 GB, free: 2.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/0.5417, allocations: 45.7 kB / 0.5559 GB, free: 2.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.5429, allocations: 1.648 MB / 0.5575 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.5433, allocations: 410.5 kB / 0.5579 GB, free: 244 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008369/0.5442, allocations: 0.5522 MB / 0.5584 GB, free: 15.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5443, allocations: 301.1 kB / 0.5587 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.5457, allocations: 0.8058 MB / 0.5595 GB, free: 14.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.5485, allocations: 2.366 MB / 0.5618 GB, free: 11.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004807/0.5533, allocations: 3.467 MB / 0.5652 GB, free: 7.207 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.999e-05/0.5534, allocations: 16 kB / 0.5652 GB, free: 7.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.006066/0.5595, allocations: 3.164 MB / 0.5683 GB, free: 4.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.5595, allocations: 32 kB / 0.5683 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/0.5597, allocations: 52.84 kB / 0.5684 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.5598, allocations: 76 kB / 0.5685 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.5619, allocations: 0.6511 MB / 0.5691 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001119/0.562, allocations: 103.6 kB / 0.5692 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.564, allocations: 123.9 kB / 0.5693 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/0.5644, allocations: 160 kB / 0.5695 GB, free: 2.832 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.002657/0.567, allocations: 1.195 MB / 0.5706 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/0.5675, allocations: 173.8 kB / 0.5708 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.5699, allocations: 1.262 MB / 0.572 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.57, allocations: 12 kB / 0.572 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.57, allocations: 8.031 kB / 0.572 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.57, allocations: 7.969 kB / 0.5721 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.582, allocations: 6.459 MB / 0.5784 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.459e-05/0.5821, allocations: 20.14 kB / 0.5784 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006775/0.5828, allocations: 199.7 kB / 0.5786 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.098e-05/0.5828, allocations: 39.94 kB / 0.5786 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.5829, allocations: 40 kB / 0.5786 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-05/0.5829, allocations: 43.8 kB / 0.5787 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.091e-05/0.583, allocations: 31.88 kB / 0.5787 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.585, allocations: 1.676 MB / 0.5804 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.5855, allocations: 270.8 kB / 0.5806 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.5857, allocations: 47.92 kB / 0.5807 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006813/0.5864, allocations: 43.98 kB / 0.5807 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.5866, allocations: 131.4 kB / 0.5808 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/0.5866, allocations: 56 kB / 0.5809 GB, free: 6.406 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001845/0.5885, allocations: 1.228 MB / 0.5821 GB, free: 5.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5885, allocations: 0 / 0.5821 GB, free: 5.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003112/0.5916, allocations: 0.4922 MB / 0.5826 GB, free: 4.695 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.0004329/0.5921, allocations: 214.6 kB / 0.5828 GB, free: 4.473 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003173/0.5952, allocations: 1.883 MB / 0.5846 GB, free: 2.602 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.5953, allocations: 4 kB / 0.5846 GB, free: 2.598 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.5959, allocations: 496.3 kB / 0.5851 GB, free: 2.117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.5974, allocations: 277.9 kB / 0.5853 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.6084, allocations: 5.237 MB / 0.5905 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/0.6111, allocations: 2.198 MB / 0.5926 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002056/0.6132, allocations: 0.7151 MB / 0.5933 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.6135, allocations: 131.4 kB / 0.5934 GB, free: 9.219 MB / 478.1 MB Notification: Performance of SimCode: time 1.443e-06/0.6135, allocations: 0 / 0.5934 GB, free: 9.219 MB / 478.1 MB Notification: Performance of Templates: time 0.0372/0.6508, allocations: 17.34 MB / 0.6104 GB, free: 7.891 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)