Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.009028/0.009028, allocations: 109.6 kB / 15.74 MB, free: 5.984 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.00159/0.00159, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 4.418 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3627/0.3627, allocations: 39.94 MB / 309.8 MB, free: 9.57 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.2. 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.002327/0.002327, allocations: 68.45 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3638, allocations: 56.88 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01107/0.375, allocations: 10.28 MB / 0.4912 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007734/0.3828, allocations: 3.249 MB / 0.4943 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.385, allocations: 53.03 kB / 0.4944 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004785/0.3899, allocations: 2.654 MB / 0.497 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.3923, allocations: 0.6722 MB / 0.4976 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.3937, allocations: 0.5225 MB / 0.4981 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.3961, allocations: 1.614 MB / 0.4997 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00361/0.3997, allocations: 3.293 MB / 0.5029 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.4014, allocations: 1.012 MB / 0.5039 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.403, allocations: 1.32 MB / 0.5052 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004746/0.4034, allocations: 277.9 kB / 0.5055 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.4052, allocations: 0.7918 MB / 0.5063 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.4065, allocations: 1.237 MB / 0.5075 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.4078, allocations: 1.436 MB / 0.5089 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005555/0.4134, allocations: 4.668 MB / 0.5134 GB, free: 14.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4134, allocations: 0 / 0.5134 GB, free: 14.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.4134, allocations: 1.188 kB / 0.5134 GB, free: 14.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001564/0.4136, allocations: 0 / 0.5134 GB, free: 14.13 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.008345/0.4219, allocations: 2.953 MB / 0.5163 GB, free: 12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.422, allocations: 12.92 kB / 0.5163 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.4237, allocations: 354.9 kB / 0.5167 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.4267, allocations: 1.274 MB / 0.5179 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.4269, allocations: 176.9 kB / 0.5181 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.4273, allocations: 235.9 kB / 0.5183 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/0.4402, allocations: 6.021 MB / 0.5242 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.135e-05/0.4403, allocations: 15.88 kB / 0.5242 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.4406, allocations: 99.94 kB / 0.5243 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.442, allocations: 0.9653 MB / 0.5252 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.4529, allocations: 4.496 MB / 0.5296 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/0.4773, allocations: 18.45 MB / 0.5476 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.4816, allocations: 1.258 MB / 0.5489 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006709/0.4823, allocations: 403.2 kB / 0.5493 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001858/0.4842, allocations: 2.05 MB / 0.5513 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4842, allocations: 43.06 kB / 0.5513 GB, free: 7.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.916e-06/0.4842, allocations: 4 kB / 0.5513 GB, free: 7.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.02101/0.5053, allocations: 5.896 MB / 0.5571 GB, free: 1.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.5054, allocations: 86.11 kB / 0.5571 GB, free: 1.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.5076, allocations: 1.84 MB / 0.5589 GB, free: 15.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.5077, allocations: 41.7 kB / 0.559 GB, free: 15.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009933/0.5087, allocations: 1.652 MB / 0.5606 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.509, allocations: 414.5 kB / 0.561 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006526/0.5097, allocations: 0.5522 MB / 0.5615 GB, free: 12.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.5098, allocations: 301.1 kB / 0.5618 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.511, allocations: 0.8058 MB / 0.5626 GB, free: 11.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.5131, allocations: 2.358 MB / 0.5649 GB, free: 8.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/0.5169, allocations: 3.471 MB / 0.5683 GB, free: 4.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/0.5169, allocations: 16 kB / 0.5683 GB, free: 4.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.004786/0.5217, allocations: 3.157 MB / 0.5714 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.5217, allocations: 28.62 kB / 0.5714 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.296e-05/0.5218, allocations: 56 kB / 0.5715 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.396e-05/0.5219, allocations: 76 kB / 0.5715 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.5239, allocations: 0.6356 MB / 0.5722 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001301/0.524, allocations: 107.6 kB / 0.5723 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.5262, allocations: 136 kB / 0.5724 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.5265, allocations: 156 kB / 0.5725 GB, free: 15.7 MB / 462.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.002691/0.5292, allocations: 1.199 MB / 0.5737 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/0.5296, allocations: 169.8 kB / 0.5739 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.5318, allocations: 1.27 MB / 0.5751 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.5319, allocations: 12 kB / 0.5751 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5319, allocations: 0 / 0.5751 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.5319, allocations: 7.969 kB / 0.5751 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009624/0.5415, allocations: 6.455 MB / 0.5814 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/0.5416, allocations: 24 kB / 0.5815 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.5422, allocations: 207.5 kB / 0.5817 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-05/0.5423, allocations: 31.98 kB / 0.5817 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.5424, allocations: 44 kB / 0.5817 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.329e-05/0.5424, allocations: 43.8 kB / 0.5818 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.289e-05/0.5424, allocations: 31.81 kB / 0.5818 GB, free: 5.797 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.5447, allocations: 1.67 MB / 0.5834 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005945/0.5453, allocations: 270.8 kB / 0.5837 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.5455, allocations: 55.86 kB / 0.5837 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.5462, allocations: 39.98 kB / 0.5838 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.5463, allocations: 135.3 kB / 0.5839 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/0.5464, allocations: 52 kB / 0.584 GB, free: 3.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001692/0.5481, allocations: 1.232 MB / 0.5852 GB, free: 2.047 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5481, allocations: 0 / 0.5852 GB, free: 2.047 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002727/0.5508, allocations: 0.4922 MB / 0.5856 GB, free: 1.555 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.0004664/0.5513, allocations: 214.6 kB / 0.5859 GB, free: 1.332 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002911/0.5542, allocations: 1.882 MB / 0.5877 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.5543, allocations: 4 kB / 0.5877 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.5549, allocations: 497.8 kB / 0.5882 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.5563, allocations: 281.6 kB / 0.5884 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/0.5646, allocations: 5.249 MB / 0.5936 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.5667, allocations: 2.19 MB / 0.5957 GB, free: 6.922 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001794/0.5685, allocations: 0.7112 MB / 0.5964 GB, free: 6.207 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.5688, allocations: 131.4 kB / 0.5965 GB, free: 6.078 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5688, allocations: 0 / 0.5965 GB, free: 6.078 MB / 478.1 MB Notification: Performance of Templates: time 0.03477/0.6036, allocations: 17.3 MB / 0.6134 GB, free: 4.785 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)