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.0007664/0.0007665, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008058/0.0008058, allocations: 168.7 kB / 15.95 MB, free: 204 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.529/1.529, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.3579/0.3579, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0005726/0.0005726, allocations: 20 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.2768/0.401, allocations: 31.42 MB / 465.4 MB, free: 33.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01634/0.4174, allocations: 6.933 MB / 472.3 MB, free: 32.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005424/0.4229, allocations: 146.3 kB / 472.5 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004365/0.4273, allocations: 1.454 MB / 473.9 MB, free: 32.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.4381, allocations: 4.069 MB / 478 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.4406, allocations: 406.6 kB / 478.4 MB, free: 31.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.4435, allocations: 2.142 MB / 480.5 MB, free: 30.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004812/0.4483, allocations: 4.05 MB / 484.6 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.4494, allocations: 0.6752 MB / 485.2 MB, free: 28.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.4506, allocations: 1.043 MB / 486.3 MB, free: 28.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.4508, allocations: 93.84 kB / 486.4 MB, free: 28.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009452/0.4517, allocations: 0.5258 MB / 486.9 MB, free: 28.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006961/0.4524, allocations: 0.9773 MB / 487.9 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.4529, allocations: 0.5218 MB / 488.4 MB, free: 27.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004765/0.4577, allocations: 3.687 MB / 492.1 MB, free: 27.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4577, allocations: 0 / 492.1 MB, free: 27.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4577, allocations: 0 / 492.1 MB, free: 27.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001645/0.4579, allocations: 0 / 492.1 MB, free: 27.28 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.005073/0.463, allocations: 2.45 MB / 494.5 MB, free: 25.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.463, allocations: 10.73 kB / 494.5 MB, free: 25.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.4644, allocations: 350 kB / 494.9 MB, free: 25.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.4664, allocations: 1.241 MB / 496.1 MB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.4665, allocations: 174.3 kB / 496.3 MB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.4668, allocations: 234 kB / 496.5 MB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.4801, allocations: 6.036 MB / 0.4908 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.589e-05/0.4802, allocations: 17.47 kB / 0.4908 GB, free: 22.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.4805, allocations: 101.6 kB / 0.4909 GB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001704/0.4822, allocations: 0.9615 MB / 0.4918 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.4938, allocations: 4.483 MB / 0.4962 GB, free: 20.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.5186, allocations: 18.55 MB / 0.5143 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.5227, allocations: 1.262 MB / 0.5156 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.5235, allocations: 392.5 kB / 0.5159 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.5249, allocations: 2.064 MB / 0.5179 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.5249, allocations: 42.31 kB / 0.518 GB, free: 3.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.126e-06/0.5249, allocations: 0 / 0.518 GB, free: 3.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.02074/0.5457, allocations: 5.966 MB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.5458, allocations: 90.11 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/0.5496, allocations: 1.82 MB / 0.5257 GB, free: 13.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.5497, allocations: 45.7 kB / 0.5257 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.5511, allocations: 1.651 MB / 0.5273 GB, free: 11.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004954/0.5517, allocations: 410.6 kB / 0.5277 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.5518, allocations: 56 kB / 0.5278 GB, free: 11.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.552, allocations: 423.8 kB / 0.5282 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.5534, allocations: 0.7902 MB / 0.529 GB, free: 9.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.5558, allocations: 2.35 MB / 0.5313 GB, free: 6.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.5577, allocations: 1.334 MB / 0.5326 GB, free: 5.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/0.5578, allocations: 16 kB / 0.5326 GB, free: 5.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.004977/0.5628, allocations: 3.141 MB / 0.5356 GB, free: 2.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.522e-05/0.5628, allocations: 28 kB / 0.5357 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.306e-05/0.5629, allocations: 59.98 kB / 0.5357 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.239e-05/0.563, allocations: 84 kB / 0.5358 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.5648, allocations: 0.6433 MB / 0.5364 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.482e-05/0.5649, allocations: 111.6 kB / 0.5365 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.5666, allocations: 124.2 kB / 0.5367 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.5668, allocations: 156 kB / 0.5368 GB, free: 1.105 MB / 398.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.002382/0.5692, allocations: 1.196 MB / 0.538 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.5695, allocations: 177.7 kB / 0.5381 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.5716, allocations: 1.266 MB / 0.5394 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.5717, allocations: 15.94 kB / 0.5394 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.5717, allocations: 0 / 0.5394 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5717, allocations: 3.984 kB / 0.5394 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009159/0.5809, allocations: 6.462 MB / 0.5457 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.5809, allocations: 20 kB / 0.5457 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.5815, allocations: 203.6 kB / 0.5459 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.839e-05/0.5816, allocations: 32.78 kB / 0.546 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.327e-05/0.5816, allocations: 44 kB / 0.546 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-05/0.5817, allocations: 39.86 kB / 0.546 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.019e-05/0.5817, allocations: 35.7 kB / 0.5461 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.5836, allocations: 1.668 MB / 0.5477 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/0.5841, allocations: 270.8 kB / 0.548 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.5843, allocations: 51.97 kB / 0.548 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.5849, allocations: 36 kB / 0.548 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.585, allocations: 135.5 kB / 0.5482 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.5851, allocations: 52 kB / 0.5482 GB, free: 4.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001739/0.5868, allocations: 1.216 MB / 0.5494 GB, free: 3.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5868, allocations: 0 / 0.5494 GB, free: 3.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002412/0.5893, allocations: 0.4922 MB / 0.5499 GB, free: 3.02 MB / 414.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.000334/0.5896, allocations: 185.5 kB / 0.5501 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.5925, allocations: 1.823 MB / 0.5518 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.5925, allocations: 4 kB / 0.5518 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.5931, allocations: 0.49 MB / 0.5523 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.5945, allocations: 262.1 kB / 0.5526 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00882/0.6034, allocations: 6.28 MB / 0.5587 GB, free: 9.684 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002511/0.6059, allocations: 2.194 MB / 0.5608 GB, free: 7.457 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001938/0.6079, allocations: 0.7112 MB / 0.5615 GB, free: 6.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.6082, allocations: 139.4 kB / 0.5617 GB, free: 6.605 MB / 430.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6082, allocations: 0 / 0.5617 GB, free: 6.605 MB / 430.1 MB Notification: Performance of Templates: time 0.0286/0.6368, allocations: 15.42 MB / 0.5767 GB, free: 7.246 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: