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.008496/0.008496, allocations: 165.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.494/1.494, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001615/0.001615, allocations: 110.6 kB / 226.2 MB, free: 10.11 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.3477/0.3477, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004955, allocations: 8 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 48.7 MB / 411.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.382/0.5002, allocations: 93.54 MB / 0.4933 GB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5005, allocations: 80.72 kB / 0.4933 GB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1381/0.6386, allocations: 56.26 MB / 0.5483 GB, free: 7.016 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6386, allocations: 0 / 0.5483 GB, free: 7.016 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.844e-05/0.6387, allocations: 56 kB / 0.5483 GB, free: 6.961 MB / 394.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.006124/0.6448, allocations: 2.692 MB / 0.551 GB, free: 4.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6449, allocations: 8.031 kB / 0.551 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.6472, allocations: 487.8 kB / 0.5514 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/0.6511, allocations: 1.547 MB / 0.553 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.6513, allocations: 213.6 kB / 0.5532 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005697/0.6519, allocations: 276 kB / 0.5534 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/0.6687, allocations: 6.694 MB / 0.56 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.469e-05/0.6689, allocations: 15.88 kB / 0.56 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003759/0.6693, allocations: 131.9 kB / 0.5601 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001039/0.6703, allocations: 0.5249 MB / 0.5606 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.6846, allocations: 5.537 MB / 0.566 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3256/1.01, allocations: 21.29 MB / 0.5868 GB, free: 93.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007103/1.017, allocations: 1.802 MB / 0.5886 GB, free: 93.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006692/1.024, allocations: 4.89 MB / 0.5933 GB, free: 91.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.024, allocations: 44.75 kB / 0.5934 GB, free: 91.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 2.064e-06/1.024, allocations: 0 / 0.5934 GB, free: 91.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.04311/1.067, allocations: 10.08 MB / 0.6032 GB, free: 90.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/1.067, allocations: 97.3 kB / 0.6033 GB, free: 90.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/1.07, allocations: 1.722 MB / 0.605 GB, free: 90.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/1.07, allocations: 43.42 kB / 0.6051 GB, free: 90.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009715/1.071, allocations: 1.663 MB / 0.6067 GB, free: 89.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/1.071, allocations: 411.8 kB / 0.6071 GB, free: 89.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/1.071, allocations: 58.88 kB / 0.6071 GB, free: 89.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/1.071, allocations: 430.3 kB / 0.6075 GB, free: 89.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/1.073, allocations: 1.024 MB / 0.6085 GB, free: 89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/1.076, allocations: 2.619 MB / 0.6111 GB, free: 86.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/1.078, allocations: 1.572 MB / 0.6126 GB, free: 86.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/1.078, allocations: 15.31 kB / 0.6126 GB, free: 86.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.00525/1.083, allocations: 3.637 MB / 0.6162 GB, free: 86.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/1.083, allocations: 31.66 kB / 0.6162 GB, free: 86.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.552e-05/1.083, allocations: 59.69 kB / 0.6163 GB, free: 86.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/1.083, allocations: 82.47 kB / 0.6164 GB, free: 86.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/1.086, allocations: 0.7255 MB / 0.6171 GB, free: 86.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001273/1.086, allocations: 114.2 kB / 0.6172 GB, free: 86.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/1.088, allocations: 154.7 kB / 0.6173 GB, free: 86.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/1.088, allocations: 166.2 kB / 0.6175 GB, free: 86.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 371 * 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.002165/1.09, allocations: 1.203 MB / 0.6187 GB, free: 86.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/1.091, allocations: 181.2 kB / 0.6188 GB, free: 86.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/1.093, allocations: 1.718 MB / 0.6205 GB, free: 86.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.093, allocations: 15.53 kB / 0.6205 GB, free: 86.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.093, allocations: 0 / 0.6205 GB, free: 86.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.093, allocations: 13.73 kB / 0.6205 GB, free: 86.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008635/1.102, allocations: 5.891 MB / 0.6263 GB, free: 84.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.102, allocations: 12.56 kB / 0.6263 GB, free: 84.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.103, allocations: 251.7 kB / 0.6265 GB, free: 84.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-05/1.103, allocations: 19.59 kB / 0.6266 GB, free: 84.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/1.103, allocations: 35.66 kB / 0.6266 GB, free: 84.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.283e-05/1.103, allocations: 23.94 kB / 0.6266 GB, free: 84.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.044e-05/1.103, allocations: 24.2 kB / 0.6266 GB, free: 84.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/1.106, allocations: 2.63 MB / 0.6292 GB, free: 82.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/1.106, allocations: 268.1 kB / 0.6295 GB, free: 82.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/1.107, allocations: 37.36 kB / 0.6295 GB, free: 82.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/1.107, allocations: 64.25 kB / 0.6296 GB, free: 82.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/1.108, allocations: 100.6 kB / 0.6297 GB, free: 82.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/1.108, allocations: 42.84 kB / 0.6297 GB, free: 82.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002138/1.11, allocations: 1.261 MB / 0.6309 GB, free: 81.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.11, allocations: 0 / 0.6309 GB, free: 81.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003771/1.114, allocations: 0.5372 MB / 0.6315 GB, free: 81.52 MB / 426.7 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 (110): * Single equations (assignments): 110 * 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.0005258/1.114, allocations: 202 kB / 0.6316 GB, free: 81.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00417/1.118, allocations: 2.245 MB / 0.6338 GB, free: 80.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.118, allocations: 6.719 kB / 0.6338 GB, free: 80.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008045/1.119, allocations: 0.609 MB / 0.6344 GB, free: 80.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/1.12, allocations: 223.5 kB / 0.6347 GB, free: 80.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/1.129, allocations: 6.166 MB / 0.6407 GB, free: 76.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/1.131, allocations: 2.225 MB / 0.6429 GB, free: 75.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002109/1.133, allocations: 0.7771 MB / 0.6436 GB, free: 75.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/1.133, allocations: 137.9 kB / 0.6437 GB, free: 75.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/1.133, allocations: 0 / 0.6437 GB, free: 75.38 MB / 426.7 MB Notification: Performance of Templates: time 0.02953/1.163, allocations: 18.04 MB / 0.6614 GB, free: 74.48 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)