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.01052/0.01052, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001803/0.001803, allocations: 196.2 kB / 16.68 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.69/1.69, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1917/0.1917, allocations: 38 MB / 307.9 MB, free: 5.977 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.001405/0.001405, allocations: 67.91 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 56.48 MB / 489.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01963/0.1449, allocations: 10.32 MB / 499.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.1589, allocations: 3.411 MB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.1621, allocations: 55.88 kB / 0.4915 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008556/0.1707, allocations: 2.629 MB / 0.494 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.1743, allocations: 0.6723 MB / 0.4947 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.178, allocations: 0.7094 MB / 0.4954 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00455/0.1826, allocations: 1.699 MB / 0.497 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007569/0.1901, allocations: 3.349 MB / 0.5003 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.1931, allocations: 1.044 MB / 0.5013 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.1968, allocations: 1.359 MB / 0.5027 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.198, allocations: 288 kB / 0.5029 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.2016, allocations: 0.9831 MB / 0.5039 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002591/0.2042, allocations: 1.247 MB / 0.5051 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00388/0.2081, allocations: 1.457 MB / 0.5065 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.2186, allocations: 4.887 MB / 0.5113 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.2186, allocations: 0 / 0.5113 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.2187, allocations: 0 / 0.5113 GB, free: 3.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002185/0.2189, allocations: 4 kB / 0.5113 GB, free: 3.57 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01533/0.2342, allocations: 3.083 MB / 0.5143 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.2343, allocations: 15.89 kB / 0.5143 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/0.2373, allocations: 356.9 kB / 0.5147 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2572/0.4945, allocations: 1.324 MB / 0.516 GB, free: 33.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.4947, allocations: 175.8 kB / 0.5161 GB, free: 33.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/0.4952, allocations: 235.2 kB / 0.5164 GB, free: 33.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/0.509, allocations: 6.885 MB / 0.5231 GB, free: 30.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.627e-05/0.5091, allocations: 20.94 kB / 0.5231 GB, free: 30.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.5093, allocations: 103.3 kB / 0.5232 GB, free: 30.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001537/0.5108, allocations: 0.9993 MB / 0.5242 GB, free: 30.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.5248, allocations: 5.67 MB / 0.5297 GB, free: 28.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/0.547, allocations: 20.15 MB / 0.5494 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006309/0.5533, allocations: 1.81 MB / 0.5512 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/0.5541, allocations: 0.6867 MB / 0.5518 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005093/0.5592, allocations: 4.9 MB / 0.5566 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.5593, allocations: 35.12 kB / 0.5566 GB, free: 4.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/0.5593, allocations: 0 / 0.5566 GB, free: 4.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.03817/0.5975, allocations: 9.249 MB / 0.5657 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.5976, allocations: 90.11 kB / 0.5658 GB, free: 11.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.6003, allocations: 1.974 MB / 0.5677 GB, free: 9.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/0.6004, allocations: 45.7 kB / 0.5677 GB, free: 9.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.6016, allocations: 1.676 MB / 0.5694 GB, free: 7.746 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.6019, allocations: 410.5 kB / 0.5698 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007832/0.6027, allocations: 0.5797 MB / 0.5703 GB, free: 6.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6029, allocations: 301.1 kB / 0.5706 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.6044, allocations: 1.04 MB / 0.5716 GB, free: 5.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.6071, allocations: 2.661 MB / 0.5742 GB, free: 1.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004747/0.6119, allocations: 3.991 MB / 0.5781 GB, free: 13.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.53e-05/0.6119, allocations: 16 kB / 0.5781 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006065/0.618, allocations: 3.687 MB / 0.5817 GB, free: 9.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.6181, allocations: 32 kB / 0.5818 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/0.6181, allocations: 56 kB / 0.5818 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.579e-05/0.6182, allocations: 76 kB / 0.5819 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.6206, allocations: 0.7072 MB / 0.5826 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.62e-05/0.6207, allocations: 119.6 kB / 0.5827 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.6224, allocations: 167.2 kB / 0.5829 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.6227, allocations: 164 kB / 0.583 GB, free: 8.141 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.001678/0.6243, allocations: 1.207 MB / 0.5842 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.6246, allocations: 173.8 kB / 0.5844 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.6274, allocations: 1.744 MB / 0.5861 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6274, allocations: 8 kB / 0.5861 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6275, allocations: 4 kB / 0.5861 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.6275, allocations: 10.41 kB / 0.5861 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009298/0.6368, allocations: 5.865 MB / 0.5918 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.6368, allocations: 15.98 kB / 0.5918 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.6377, allocations: 203.6 kB / 0.592 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/0.6377, allocations: 20 kB / 0.5921 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.6378, allocations: 32.69 kB / 0.5921 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.008e-05/0.6378, allocations: 31.86 kB / 0.5921 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/0.6378, allocations: 19.94 kB / 0.5921 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.6399, allocations: 1.694 MB / 0.5938 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.6404, allocations: 262.7 kB / 0.594 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.6406, allocations: 31.98 kB / 0.5941 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/0.6413, allocations: 39.98 kB / 0.5941 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6414, allocations: 108.1 kB / 0.5942 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.6415, allocations: 43.98 kB / 0.5942 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001668/0.6431, allocations: 1.296 MB / 0.5955 GB, free: 10.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6432, allocations: 0 / 0.5955 GB, free: 10.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002293/0.6455, allocations: 0.5248 MB / 0.596 GB, free: 10.32 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.000412/0.6459, allocations: 197.4 kB / 0.5962 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003592/0.6495, allocations: 2.285 MB / 0.5984 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.6495, allocations: 0 / 0.5984 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008443/0.6504, allocations: 0.5952 MB / 0.599 GB, free: 7.258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.6519, allocations: 258.8 kB / 0.5993 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008136/0.66, allocations: 5.171 MB / 0.6043 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/0.6622, allocations: 2.184 MB / 0.6065 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001933/0.6642, allocations: 0.7698 MB / 0.6072 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.6646, allocations: 139.4 kB / 0.6073 GB, free: 14.53 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6646, allocations: 4 kB / 0.6073 GB, free: 14.52 MB / 462.1 MB Notification: Performance of Templates: time 0.03917/0.7038, allocations: 20.9 MB / 0.6278 GB, free: 9.645 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)