Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001295/0.001295, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001498/0.001499, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3411/0.3411, allocations: 40 MB / 310.4 MB, free: 9.652 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.2. 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.0005683/0.0005687, allocations: 19.98 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1229, allocations: 57.96 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.2497/0.3726, allocations: 29.73 MB / 466.5 MB, free: 33.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.3887, allocations: 7.201 MB / 473.7 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006124/0.3949, allocations: 139.7 kB / 473.8 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004509/0.3994, allocations: 1.444 MB / 475.3 MB, free: 30.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.4131, allocations: 4.041 MB / 479.3 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.4155, allocations: 373.4 kB / 479.7 MB, free: 29.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.4175, allocations: 0.9283 MB / 480.6 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004575/0.4221, allocations: 4.017 MB / 484.6 MB, free: 27.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009866/0.4231, allocations: 0.5352 MB / 485.2 MB, free: 27.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008617/0.424, allocations: 0.6984 MB / 485.9 MB, free: 27.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.4242, allocations: 97.88 kB / 486 MB, free: 27.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000974/0.4252, allocations: 0.4987 MB / 486.5 MB, free: 27.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006527/0.4259, allocations: 0.9113 MB / 487.4 MB, free: 26.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004243/0.4263, allocations: 0.5221 MB / 487.9 MB, free: 26.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.4299, allocations: 3.692 MB / 491.6 MB, free: 25.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4299, allocations: 0 / 491.6 MB, free: 25.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4299, allocations: 0 / 491.6 MB, free: 25.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.43, allocations: 0 / 491.6 MB, free: 25.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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.005167/0.4352, allocations: 2.447 MB / 494 MB, free: 24.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4353, allocations: 9.062 kB / 494 MB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.4374, allocations: 369.8 kB / 494.4 MB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.4407, allocations: 1.235 MB / 495.6 MB, free: 23.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.4408, allocations: 180.2 kB / 495.8 MB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005624/0.4414, allocations: 228.7 kB / 496 MB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.4556, allocations: 6.114 MB / 0.4904 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.139e-05/0.4558, allocations: 14.06 kB / 0.4904 GB, free: 20.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.456, allocations: 102.1 kB / 0.4905 GB, free: 20.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001618/0.4577, allocations: 0.9601 MB / 0.4914 GB, free: 20.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.4699, allocations: 4.581 MB / 0.4959 GB, free: 18.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02331/0.4933, allocations: 18.56 MB / 0.514 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/0.4971, allocations: 1.27 MB / 0.5153 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.4985, allocations: 2.066 MB / 0.5173 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.4985, allocations: 50.84 kB / 0.5173 GB, free: 1.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.026e-06/0.4985, allocations: 0 / 0.5173 GB, free: 1.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.02089/0.5194, allocations: 6.003 MB / 0.5232 GB, free: 13.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.5195, allocations: 90.11 kB / 0.5233 GB, free: 13.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.5221, allocations: 1.824 MB / 0.5251 GB, free: 11.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.5222, allocations: 41.7 kB / 0.5251 GB, free: 11.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.5236, allocations: 1.652 MB / 0.5267 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.524, allocations: 414.5 kB / 0.5271 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.5241, allocations: 56 kB / 0.5272 GB, free: 9.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003242/0.5245, allocations: 423.8 kB / 0.5276 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.5257, allocations: 0.7941 MB / 0.5283 GB, free: 8.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.5282, allocations: 2.338 MB / 0.5306 GB, free: 5.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.5302, allocations: 1.33 MB / 0.5319 GB, free: 4.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.515e-05/0.5303, allocations: 19.95 kB / 0.5319 GB, free: 4.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005245/0.5356, allocations: 3.137 MB / 0.535 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.5357, allocations: 28 kB / 0.535 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.706e-05/0.5357, allocations: 56 kB / 0.5351 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.054e-05/0.5358, allocations: 80 kB / 0.5352 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.5379, allocations: 0.6472 MB / 0.5358 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.538, allocations: 111.6 kB / 0.5359 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.5399, allocations: 120.1 kB / 0.536 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.5401, allocations: 160 kB / 0.5362 GB, free: 15.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003044/0.5431, allocations: 1.195 MB / 0.5373 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.5436, allocations: 177.7 kB / 0.5375 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.5458, allocations: 1.266 MB / 0.5387 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5459, allocations: 12 kB / 0.5388 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5459, allocations: 0 / 0.5388 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.464e-05/0.546, allocations: 7.984 kB / 0.5388 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.556, allocations: 6.459 MB / 0.5451 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.5561, allocations: 20 kB / 0.5451 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.5567, allocations: 207.6 kB / 0.5453 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.85e-05/0.5568, allocations: 32.78 kB / 0.5453 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.5569, allocations: 40 kB / 0.5454 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.647e-05/0.5569, allocations: 39.86 kB / 0.5454 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-05/0.5569, allocations: 31.88 kB / 0.5454 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.5599, allocations: 3.198 MB / 0.5485 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.5604, allocations: 278.7 kB / 0.5488 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.5606, allocations: 43.98 kB / 0.5489 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/0.5613, allocations: 43.98 kB / 0.5489 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.5615, allocations: 131.5 kB / 0.549 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/0.5616, allocations: 59.95 kB / 0.5491 GB, free: 1.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.5633, allocations: 1.212 MB / 0.5503 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5633, allocations: 0 / 0.5503 GB, free: 15.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002355/0.5657, allocations: 0.4922 MB / 0.5507 GB, free: 15.32 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 (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.000331/0.566, allocations: 186.7 kB / 0.5509 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.569, allocations: 1.825 MB / 0.5527 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.5691, allocations: 4 kB / 0.5527 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.5698, allocations: 490.8 kB / 0.5532 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.571, allocations: 255 kB / 0.5534 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009106/0.5801, allocations: 6.258 MB / 0.5595 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/0.5827, allocations: 2.244 MB / 0.5617 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001998/0.5847, allocations: 0.7151 MB / 0.5624 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.585, allocations: 131.4 kB / 0.5625 GB, free: 2.898 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.585, allocations: 0 / 0.5625 GB, free: 2.898 MB / 430.1 MB Notification: Performance of Templates: time 0.03305/0.6181, allocations: 15.4 MB / 0.5776 GB, free: 3.535 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) Environment - environmentSimulation: