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.0008637/0.0008638, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006121/0.006121, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.47/1.47, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.3591/0.3591, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.0005369/0.0005369, allocations: 16 kB / 377 MB, free: 14.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 57.52 MB / 434.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.2391/0.3619, allocations: 33.73 MB / 468.3 MB, free: 33.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.3778, allocations: 7.265 MB / 475.6 MB, free: 31.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006571/0.3844, allocations: 140.9 kB / 475.7 MB, free: 31.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.3852, allocations: 248.3 kB / 475.9 MB, free: 31.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.3869, allocations: 0.6254 MB / 476.6 MB, free: 31.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3879, allocations: 490.4 kB / 477 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.3898, allocations: 2.685 MB / 479.7 MB, free: 30.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004845/0.3946, allocations: 4.761 MB / 484.5 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.3955, allocations: 0.6478 MB / 485.1 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.3966, allocations: 1.065 MB / 486.2 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.3967, allocations: 92.91 kB / 486.3 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009823/0.3977, allocations: 0.6815 MB / 487 MB, free: 28.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006408/0.3984, allocations: 0.9995 MB / 488 MB, free: 27.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006922/0.3991, allocations: 1.202 MB / 489.2 MB, free: 26.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.4021, allocations: 4.338 MB / 493.5 MB, free: 25.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4021, allocations: 0.5625 kB / 493.5 MB, free: 25.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4022, allocations: 0 / 493.5 MB, free: 25.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.72e-05/0.4022, allocations: 0 / 493.5 MB, free: 25.72 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.004725/0.4069, allocations: 2.417 MB / 495.9 MB, free: 24.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.407, allocations: 9.469 kB / 495.9 MB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.4083, allocations: 354.5 kB / 496.3 MB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.41, allocations: 1.27 MB / 497.6 MB, free: 23.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.362e-05/0.4101, allocations: 173.3 kB / 497.7 MB, free: 23.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.4105, allocations: 239.9 kB / 498 MB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/0.422, allocations: 6.046 MB / 0.4922 GB, free: 20.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.241e-05/0.4221, allocations: 10.12 kB / 0.4922 GB, free: 20.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.4223, allocations: 109.4 kB / 0.4923 GB, free: 20.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/0.424, allocations: 0.9562 MB / 0.4932 GB, free: 20.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.4343, allocations: 4.517 MB / 0.4977 GB, free: 18.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02239/0.4567, allocations: 18.55 MB / 0.5158 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/0.4605, allocations: 1.264 MB / 0.517 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.4611, allocations: 394.5 kB / 0.5174 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.4622, allocations: 2.057 MB / 0.5194 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4622, allocations: 52.61 kB / 0.5194 GB, free: 2.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.777e-06/0.4623, allocations: 0 / 0.5194 GB, free: 2.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.02104/0.4833, allocations: 5.984 MB / 0.5253 GB, free: 13.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.4834, allocations: 90.11 kB / 0.5254 GB, free: 13.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.4861, allocations: 1.836 MB / 0.5272 GB, free: 12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.05e-05/0.4862, allocations: 41.7 kB / 0.5272 GB, free: 11.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.4876, allocations: 1.652 MB / 0.5288 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.488, allocations: 410.5 kB / 0.5292 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.4883, allocations: 251.5 kB / 0.5295 GB, free: 9.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4884, allocations: 305.1 kB / 0.5297 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.4897, allocations: 0.8058 MB / 0.5305 GB, free: 8.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.492, allocations: 2.358 MB / 0.5328 GB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/0.496, allocations: 3.467 MB / 0.5362 GB, free: 1.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.223e-05/0.4961, allocations: 16 kB / 0.5362 GB, free: 1.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005229/0.5013, allocations: 3.157 MB / 0.5393 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.5014, allocations: 28 kB / 0.5393 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.564e-05/0.5014, allocations: 56 kB / 0.5394 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-05/0.5015, allocations: 72 kB / 0.5395 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.5034, allocations: 0.6472 MB / 0.5401 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.009e-05/0.5035, allocations: 107.6 kB / 0.5402 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.5051, allocations: 124 kB / 0.5403 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.5054, allocations: 156 kB / 0.5405 GB, free: 12.79 MB / 414.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.002365/0.5077, allocations: 1.203 MB / 0.5416 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.5081, allocations: 177.6 kB / 0.5418 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.5104, allocations: 1.27 MB / 0.5431 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5104, allocations: 12 kB / 0.5431 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5104, allocations: 3.984 kB / 0.5431 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5105, allocations: 3.984 kB / 0.5431 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009121/0.5196, allocations: 6.459 MB / 0.5494 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/0.5196, allocations: 20 kB / 0.5494 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.5203, allocations: 203.6 kB / 0.5496 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.628e-05/0.5203, allocations: 28 kB / 0.5496 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.5204, allocations: 47.94 kB / 0.5497 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.788e-05/0.5204, allocations: 40.36 kB / 0.5497 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-05/0.5204, allocations: 35.88 kB / 0.5497 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.5224, allocations: 1.676 MB / 0.5514 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.5229, allocations: 278.7 kB / 0.5516 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.523, allocations: 51.92 kB / 0.5517 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.5237, allocations: 36 kB / 0.5517 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5238, allocations: 135.4 kB / 0.5519 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/0.5239, allocations: 52 kB / 0.5519 GB, free: 360 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001735/0.5256, allocations: 1.224 MB / 0.5531 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.5257, allocations: 4 kB / 0.5531 GB, free: 15.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002184/0.5278, allocations: 0.4999 MB / 0.5536 GB, free: 14.63 MB / 430.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.0003507/0.5282, allocations: 214.6 kB / 0.5538 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.531, allocations: 1.84 MB / 0.5556 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.531, allocations: 0 / 0.5556 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006465/0.5317, allocations: 499.9 kB / 0.5561 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006049/0.5378, allocations: 277.6 kB / 0.5563 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009977/0.5478, allocations: 6.56 MB / 0.5627 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/0.5501, allocations: 2.186 MB / 0.5649 GB, free: 2.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001963/0.5521, allocations: 0.7112 MB / 0.5656 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.5524, allocations: 135.4 kB / 0.5657 GB, free: 1.891 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5524, allocations: 0 / 0.5657 GB, free: 1.891 MB / 430.1 MB Notification: Performance of Templates: time 0.03203/0.5844, allocations: 15.8 MB / 0.5811 GB, free: 2.133 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: