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.008583/0.008583, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001768/0.001768, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.5 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.3924/0.3924, allocations: 38 MB / 307.9 MB, free: 10.14 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.001548/0.001548, allocations: 71.83 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.482, allocations: 56.47 MB / 489.5 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01351/0.4956, allocations: 10.29 MB / 499.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.5074, allocations: 3.234 MB / 0.4912 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004905/0.5124, allocations: 53.19 kB / 0.4913 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007084/0.5196, allocations: 2.661 MB / 0.4939 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004691/0.5244, allocations: 0.6734 MB / 0.4945 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.5274, allocations: 0.524 MB / 0.495 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005196/0.5326, allocations: 1.605 MB / 0.4966 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007732/0.5404, allocations: 3.288 MB / 0.4998 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/0.5443, allocations: 1.01 MB / 0.5008 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003585/0.5479, allocations: 1.316 MB / 0.5021 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001735/0.5497, allocations: 281.3 kB / 0.5023 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.5533, allocations: 0.7962 MB / 0.5031 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002854/0.5562, allocations: 1.233 MB / 0.5043 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004545/0.5607, allocations: 1.435 MB / 0.5057 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.5713, allocations: 4.661 MB / 0.5103 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.5714, allocations: 0 / 0.5103 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.5714, allocations: 0 / 0.5103 GB, free: 15.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002888/0.5717, allocations: 1.219 kB / 0.5103 GB, free: 15.51 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.01235/0.584, allocations: 2.96 MB / 0.5132 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.475e-05/0.5841, allocations: 12.83 kB / 0.5132 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.5862, allocations: 364.3 kB / 0.5135 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.5897, allocations: 1.265 MB / 0.5148 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.5899, allocations: 177.1 kB / 0.5149 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/0.5903, allocations: 234.9 kB / 0.5152 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.6059, allocations: 6.035 MB / 0.521 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.362e-05/0.606, allocations: 11.88 kB / 0.5211 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.6063, allocations: 107.9 kB / 0.5212 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001514/0.6078, allocations: 0.9574 MB / 0.5221 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.6193, allocations: 4.488 MB / 0.5265 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02792/0.6473, allocations: 18.45 MB / 0.5445 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/0.6513, allocations: 1.262 MB / 0.5457 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005987/0.652, allocations: 392 kB / 0.5461 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/0.6538, allocations: 2.05 MB / 0.5481 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.6538, allocations: 47.06 kB / 0.5482 GB, free: 10.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.617e-06/0.6538, allocations: 0 / 0.5482 GB, free: 10.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.02157/0.6754, allocations: 5.904 MB / 0.5539 GB, free: 4.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.6756, allocations: 94.11 kB / 0.554 GB, free: 4.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.6783, allocations: 1.832 MB / 0.5558 GB, free: 2.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.6784, allocations: 41.7 kB / 0.5558 GB, free: 2.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.6795, allocations: 1.652 MB / 0.5575 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.6798, allocations: 410.5 kB / 0.5578 GB, free: 316 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007453/0.6806, allocations: 0.5522 MB / 0.5584 GB, free: 15.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6807, allocations: 313.1 kB / 0.5587 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.6819, allocations: 0.798 MB / 0.5595 GB, free: 14.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/0.6847, allocations: 2.373 MB / 0.5618 GB, free: 11.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004304/0.689, allocations: 3.463 MB / 0.5652 GB, free: 7.273 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/0.6891, allocations: 16 kB / 0.5652 GB, free: 7.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005604/0.6947, allocations: 3.161 MB / 0.5683 GB, free: 4.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.6948, allocations: 28 kB / 0.5683 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.169e-05/0.6948, allocations: 56 kB / 0.5683 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000101/0.695, allocations: 72 kB / 0.5684 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.697, allocations: 0.6511 MB / 0.569 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.078e-05/0.6971, allocations: 107.6 kB / 0.5692 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.6989, allocations: 123.9 kB / 0.5693 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.6991, allocations: 160 kB / 0.5694 GB, free: 2.902 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.00256/0.7017, allocations: 1.191 MB / 0.5706 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.702, allocations: 169.8 kB / 0.5707 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.7045, allocations: 1.278 MB / 0.572 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.7045, allocations: 12.14 kB / 0.572 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.7045, allocations: 0 / 0.572 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.7046, allocations: 7.969 kB / 0.572 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.7156, allocations: 6.459 MB / 0.5783 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/0.7157, allocations: 20 kB / 0.5783 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/0.7164, allocations: 203.6 kB / 0.5785 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.111e-05/0.7165, allocations: 28 kB / 0.5786 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.7166, allocations: 44 kB / 0.5786 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.899e-05/0.7166, allocations: 43.8 kB / 0.5786 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.45e-05/0.7167, allocations: 31.88 kB / 0.5787 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.7192, allocations: 1.68 MB / 0.5803 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.7197, allocations: 262.8 kB / 0.5806 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.7199, allocations: 55.91 kB / 0.5806 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/0.7206, allocations: 40 kB / 0.5807 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.7207, allocations: 131.4 kB / 0.5808 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.7208, allocations: 55.98 kB / 0.5808 GB, free: 6.477 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001867/0.7227, allocations: 1.228 MB / 0.582 GB, free: 5.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7227, allocations: 0 / 0.582 GB, free: 5.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002689/0.7254, allocations: 0.4922 MB / 0.5825 GB, free: 4.766 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.0004063/0.7258, allocations: 222.6 kB / 0.5827 GB, free: 4.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003084/0.7289, allocations: 1.882 MB / 0.5846 GB, free: 2.664 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/0.7289, allocations: 0 / 0.5846 GB, free: 2.664 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.7297, allocations: 493.4 kB / 0.585 GB, free: 2.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.7312, allocations: 276.5 kB / 0.5853 GB, free: 1.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009387/0.7406, allocations: 5.241 MB / 0.5904 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/0.743, allocations: 2.194 MB / 0.5926 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001764/0.7448, allocations: 0.7151 MB / 0.5933 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.7451, allocations: 131.4 kB / 0.5934 GB, free: 9.293 MB / 478.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7451, allocations: 0 / 0.5934 GB, free: 9.293 MB / 478.1 MB Notification: Performance of Templates: time 0.0456/0.7908, allocations: 17.3 MB / 0.6103 GB, free: 8.008 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)