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.001581/0.001582, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.792/1.792, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.3304/0.3304, allocations: 38 MB / 307.8 MB, free: 10.02 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.001593/0.001594, allocations: 72.69 kB / 375.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1484, allocations: 56.46 MB / 431.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01218/0.1606, allocations: 10.33 MB / 442 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00939/0.1701, allocations: 3.418 MB / 445.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00305/0.1732, allocations: 51.88 kB / 445.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005881/0.1792, allocations: 2.625 MB / 448.1 MB, free: 6.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.1825, allocations: 0.6645 MB / 448.8 MB, free: 5.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.1851, allocations: 0.7172 MB / 449.5 MB, free: 4.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00346/0.1886, allocations: 1.695 MB / 451.2 MB, free: 3.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2619/0.4505, allocations: 3.346 MB / 454.6 MB, free: 37.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.4523, allocations: 1.046 MB / 455.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.4537, allocations: 1.354 MB / 457 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004444/0.4541, allocations: 285.4 kB / 457.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.4562, allocations: 0.9881 MB / 458.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.4573, allocations: 1.235 MB / 459.5 MB, free: 36.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.4588, allocations: 1.458 MB / 460.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004554/0.4634, allocations: 4.765 MB / 465.7 MB, free: 35.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4634, allocations: 10.3 kB / 465.7 MB, free: 35.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4634, allocations: 0 / 465.7 MB, free: 35.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.4636, allocations: 0 / 465.7 MB, free: 35.7 MB / 382.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.00673/0.4703, allocations: 3.086 MB / 468.8 MB, free: 33.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4704, allocations: 20.69 kB / 468.8 MB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.4717, allocations: 357.9 kB / 469.1 MB, free: 33.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.4738, allocations: 1.31 MB / 470.5 MB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.4739, allocations: 175 kB / 470.6 MB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.4743, allocations: 239.9 kB / 470.9 MB, free: 32.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.4873, allocations: 6.891 MB / 477.7 MB, free: 30.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.4874, allocations: 11.84 kB / 477.8 MB, free: 30.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.4876, allocations: 107.8 kB / 477.9 MB, free: 30.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/0.489, allocations: 0.99 MB / 478.9 MB, free: 30.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.5017, allocations: 5.678 MB / 484.5 MB, free: 28.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03217/0.5339, allocations: 20.27 MB / 0.493 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007508/0.5414, allocations: 1.802 MB / 0.4947 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.5427, allocations: 0.694 MB / 0.4954 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006814/0.5495, allocations: 4.888 MB / 0.5002 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5496, allocations: 39.97 kB / 0.5002 GB, free: 11.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 2.746e-06/0.5496, allocations: 0 / 0.5002 GB, free: 11.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.04054/0.5901, allocations: 9.241 MB / 0.5092 GB, free: 7.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.5902, allocations: 88.83 kB / 0.5093 GB, free: 7.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/0.5934, allocations: 1.989 MB / 0.5113 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.5936, allocations: 44.02 kB / 0.5113 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009058/0.5945, allocations: 1.669 MB / 0.5129 GB, free: 5.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.5949, allocations: 416.7 kB / 0.5133 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008745/0.5958, allocations: 0.5745 MB / 0.5139 GB, free: 4.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.5959, allocations: 305.1 kB / 0.5142 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.5973, allocations: 1.04 MB / 0.5152 GB, free: 2.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.5995, allocations: 2.661 MB / 0.5178 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004999/0.6045, allocations: 3.985 MB / 0.5217 GB, free: 10.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.106e-05/0.6046, allocations: 20 kB / 0.5217 GB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006797/0.6114, allocations: 3.684 MB / 0.5253 GB, free: 7.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.6115, allocations: 29 kB / 0.5253 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-05/0.6116, allocations: 56 kB / 0.5254 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.986e-05/0.6117, allocations: 80 kB / 0.5255 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.6142, allocations: 0.7166 MB / 0.5262 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001155/0.6143, allocations: 111.8 kB / 0.5263 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.6165, allocations: 159.8 kB / 0.5264 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002917/0.6169, allocations: 160 kB / 0.5266 GB, free: 6.32 MB / 398.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.002311/0.6192, allocations: 1.208 MB / 0.5278 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/0.6196, allocations: 179.9 kB / 0.5279 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/0.6232, allocations: 1.734 MB / 0.5296 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.6233, allocations: 12 kB / 0.5296 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.6233, allocations: 4 kB / 0.5296 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.6233, allocations: 7.922 kB / 0.5297 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.636, allocations: 5.876 MB / 0.5354 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.705e-05/0.6361, allocations: 12 kB / 0.5354 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6371, allocations: 207.6 kB / 0.5356 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.052e-05/0.6371, allocations: 20 kB / 0.5356 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/0.6372, allocations: 32 kB / 0.5357 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-05/0.6373, allocations: 31.86 kB / 0.5357 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/0.6373, allocations: 19.88 kB / 0.5357 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.6401, allocations: 1.695 MB / 0.5374 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008816/0.641, allocations: 262.8 kB / 0.5376 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/0.6415, allocations: 28 kB / 0.5376 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6426, allocations: 48.41 kB / 0.5377 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.6428, allocations: 108.2 kB / 0.5378 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/0.6429, allocations: 40 kB / 0.5378 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002732/0.6456, allocations: 1.292 MB / 0.5391 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6456, allocations: 0 / 0.5391 GB, free: 9.105 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002993/0.6486, allocations: 0.5312 MB / 0.5396 GB, free: 8.574 MB / 414.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.0004936/0.6491, allocations: 205.3 kB / 0.5398 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.6537, allocations: 2.505 MB / 0.5422 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.6537, allocations: 0 / 0.5422 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008826/0.6546, allocations: 0.599 MB / 0.5428 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.6563, allocations: 260.2 kB / 0.5431 GB, free: 5.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00933/0.6657, allocations: 5.226 MB / 0.5482 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/0.6687, allocations: 2.176 MB / 0.5503 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002355/0.671, allocations: 0.7727 MB / 0.5511 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.6716, allocations: 139.4 kB / 0.5512 GB, free: 12.5 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6716, allocations: 0 / 0.5512 GB, free: 12.5 MB / 430.1 MB Notification: Performance of Templates: time 0.03961/0.7112, allocations: 20.06 MB / 0.5708 GB, free: 8.531 MB / 446.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)