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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001105/0.001105, allocations: 165.9 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.475/1.475, allocations: 170.7 MB / 178.7 MB, free: 15.63 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001765/0.001765, allocations: 95.53 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1922/0.1922, allocations: 37.98 MB / 295.1 MB, free: 9.508 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.438e-05, allocations: 2.5 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09268, allocations: 48.73 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.4832, allocations: 92.78 MB / 491.5 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4836, allocations: 75.89 kB / 491.6 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1252/0.6088, allocations: 54.89 MB / 0.5337 GB, free: 8.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6088, allocations: 0 / 0.5337 GB, free: 8.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001365/0.609, allocations: 52 kB / 0.5337 GB, free: 8.586 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.008053/0.617, allocations: 2.571 MB / 0.5362 GB, free: 6.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.6171, allocations: 8.031 kB / 0.5362 GB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.6202, allocations: 483.8 kB / 0.5367 GB, free: 5.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.6244, allocations: 1.548 MB / 0.5382 GB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.6246, allocations: 88 kB / 0.5383 GB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.6257, allocations: 160 kB / 0.5384 GB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00756/0.6333, allocations: 3.804 MB / 0.5422 GB, free: 116 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009767/0.6431, allocations: 4.96 MB / 0.547 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.79e-05/0.6432, allocations: 15.86 kB / 0.547 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.6435, allocations: 8 kB / 0.547 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009538/0.6445, allocations: 0.5203 MB / 0.5475 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/0.6731, allocations: 20.04 MB / 0.5671 GB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.6744, allocations: 0.8385 MB / 0.5679 GB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/0.6752, allocations: 0.6164 MB / 0.5685 GB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005785/0.681, allocations: 4.568 MB / 0.573 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.681, allocations: 43.11 kB / 0.573 GB, free: 15.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 2.705e-06/0.681, allocations: 4 kB / 0.573 GB, free: 15.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.01461/0.6957, allocations: 5.244 MB / 0.5781 GB, free: 9.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.6957, allocations: 85.89 kB / 0.5782 GB, free: 9.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.6976, allocations: 1.413 MB / 0.5796 GB, free: 8.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.6977, allocations: 29.64 kB / 0.5796 GB, free: 8.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.6988, allocations: 1.728 MB / 0.5813 GB, free: 6.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.6991, allocations: 327.6 kB / 0.5816 GB, free: 6.363 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.6992, allocations: 0 / 0.5816 GB, free: 6.363 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.6994, allocations: 476.7 kB / 0.5821 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.7005, allocations: 0.8257 MB / 0.5829 GB, free: 5.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.7027, allocations: 2.453 MB / 0.5853 GB, free: 1.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.7061, allocations: 1.534 MB / 0.5868 GB, free: 252 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-05/0.7061, allocations: 20 kB / 0.5868 GB, free: 232 kB / 394.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.007489/0.7136, allocations: 3.114 MB / 0.5898 GB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.7137, allocations: 35.94 kB / 0.5899 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.006e-05/0.7138, allocations: 56 kB / 0.5899 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.952e-05/0.7139, allocations: 95.98 kB / 0.59 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.7164, allocations: 0.7018 MB / 0.5907 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/0.7165, allocations: 119.6 kB / 0.5908 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.7184, allocations: 91.75 kB / 0.5909 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.7186, allocations: 172 kB / 0.5911 GB, free: 11.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 31 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 366 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000366/0.719, allocations: 274.6 kB / 0.5913 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.7192, allocations: 146.1 kB / 0.5915 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.7213, allocations: 1.256 MB / 0.5927 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.7213, allocations: 15.95 kB / 0.5927 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7213, allocations: 4 kB / 0.5927 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.7213, allocations: 3.984 kB / 0.5927 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006423/0.7278, allocations: 3.769 MB / 0.5964 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.7278, allocations: 4 kB / 0.5964 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/0.7287, allocations: 207.6 kB / 0.5966 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.7287, allocations: 8 kB / 0.5966 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.7288, allocations: 8 kB / 0.5966 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.7288, allocations: 12.3 kB / 0.5966 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.7288, allocations: 11.94 kB / 0.5966 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.7307, allocations: 1.584 MB / 0.5982 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.731, allocations: 227 kB / 0.5984 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.7311, allocations: 7.984 kB / 0.5984 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.7318, allocations: 39.94 kB / 0.5985 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.7319, allocations: 60.39 kB / 0.5985 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.732, allocations: 31.98 kB / 0.5985 GB, free: 3.809 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001288/0.7333, allocations: 0.9406 MB / 0.5995 GB, free: 2.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7333, allocations: 0 / 0.5995 GB, free: 2.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002268/0.7356, allocations: 467.9 kB / 0.5999 GB, free: 2.414 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003782/0.736, allocations: 166.9 kB / 0.6001 GB, free: 2.242 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.7389, allocations: 1.895 MB / 0.6019 GB, free: 364 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7389, allocations: 0 / 0.6019 GB, free: 364 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006949/0.7396, allocations: 0.5173 MB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.7404, allocations: 160.2 kB / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006968/0.7473, allocations: 3.805 MB / 0.6063 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002253/0.7496, allocations: 2.197 MB / 0.6084 GB, free: 9.551 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002177/0.7518, allocations: 0.7171 MB / 0.6091 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.7523, allocations: 119.4 kB / 0.6093 GB, free: 8.711 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7523, allocations: 0 / 0.6093 GB, free: 8.711 MB / 426.7 MB Notification: Performance of Templates: time 0.2374/0.9897, allocations: 14.71 MB / 0.6236 GB, free: 113.6 MB / 426.7 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)