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.001097/0.001097, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001023/0.001023, allocations: 172.7 kB / 15.95 MB, free: 208 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.642/1.642, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3461/0.3461, allocations: 40 MB / 310.4 MB, free: 9.961 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.0005067/0.0005068, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 57.95 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.2993/0.4284, allocations: 31.42 MB / 468.2 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.448, allocations: 6.932 MB / 475.1 MB, free: 31.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007682/0.4558, allocations: 142.2 kB / 475.3 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004933/0.4607, allocations: 1.457 MB / 476.7 MB, free: 31.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.4733, allocations: 4.072 MB / 480.8 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.4757, allocations: 407.5 kB / 481.2 MB, free: 29.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002668/0.4784, allocations: 2.145 MB / 483.4 MB, free: 28.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004787/0.4832, allocations: 4.047 MB / 487.4 MB, free: 26.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.4846, allocations: 0.6757 MB / 488.1 MB, free: 26.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.4859, allocations: 1.038 MB / 489.1 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.4861, allocations: 97.53 kB / 489.2 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.4874, allocations: 0.525 MB / 489.7 MB, free: 26.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007829/0.4882, allocations: 0.974 MB / 490.7 MB, free: 25.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003672/0.4886, allocations: 0.5223 MB / 491.2 MB, free: 25.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004671/0.4932, allocations: 3.69 MB / 494.9 MB, free: 24.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4933, allocations: 0 / 494.9 MB, free: 24.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4933, allocations: 0 / 494.9 MB, free: 24.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000138/0.4934, allocations: 0 / 494.9 MB, free: 24.73 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.005454/0.4989, allocations: 2.454 MB / 497.4 MB, free: 23.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4989, allocations: 10.05 kB / 497.4 MB, free: 23.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.5006, allocations: 363.6 kB / 497.7 MB, free: 23.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.503, allocations: 1.238 MB / 499 MB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.5032, allocations: 172.5 kB / 499.1 MB, free: 22.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.5037, allocations: 233.1 kB / 499.4 MB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.5179, allocations: 6.036 MB / 0.4936 GB, free: 19.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-05/0.518, allocations: 14.86 kB / 0.4936 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.5183, allocations: 101.5 kB / 0.4937 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001669/0.5199, allocations: 0.9609 MB / 0.4946 GB, free: 19.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.5317, allocations: 4.489 MB / 0.499 GB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/0.5583, allocations: 18.53 MB / 0.5171 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/0.5626, allocations: 1.267 MB / 0.5183 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006742/0.5633, allocations: 384.5 kB / 0.5187 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/0.5651, allocations: 2.062 MB / 0.5207 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.5652, allocations: 39.53 kB / 0.5207 GB, free: 15.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.837e-06/0.5652, allocations: 0 / 0.5207 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.0207/0.5859, allocations: 5.976 MB / 0.5266 GB, free: 10.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.586, allocations: 94.09 kB / 0.5267 GB, free: 10.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.5887, allocations: 1.817 MB / 0.5284 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-05/0.5888, allocations: 45.7 kB / 0.5285 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.5902, allocations: 1.656 MB / 0.5301 GB, free: 7.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/0.5906, allocations: 418.5 kB / 0.5305 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.5908, allocations: 56 kB / 0.5306 GB, free: 6.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.5911, allocations: 419.8 kB / 0.531 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.5924, allocations: 0.7902 MB / 0.5317 GB, free: 5.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002949/0.5954, allocations: 2.35 MB / 0.534 GB, free: 2.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.5976, allocations: 1.338 MB / 0.5353 GB, free: 1.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/0.5976, allocations: 16 kB / 0.5354 GB, free: 1.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005038/0.6026, allocations: 3.133 MB / 0.5384 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.6027, allocations: 28.94 kB / 0.5384 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.056e-05/0.6028, allocations: 56 kB / 0.5385 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.722e-05/0.6029, allocations: 84 kB / 0.5386 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/0.605, allocations: 0.6472 MB / 0.5392 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001546/0.6052, allocations: 107.6 kB / 0.5393 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.6073, allocations: 119.9 kB / 0.5394 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.6076, allocations: 164 kB / 0.5396 GB, free: 12.75 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.003269/0.6109, allocations: 1.199 MB / 0.5407 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005981/0.6115, allocations: 181.7 kB / 0.5409 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.6139, allocations: 1.255 MB / 0.5421 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.614, allocations: 12.03 kB / 0.5422 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.614, allocations: 0 / 0.5422 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.614, allocations: 7.984 kB / 0.5422 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.6247, allocations: 6.463 MB / 0.5485 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.655e-05/0.6248, allocations: 20 kB / 0.5485 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.6254, allocations: 203.5 kB / 0.5487 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.644e-05/0.6255, allocations: 28 kB / 0.5487 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.591e-05/0.6256, allocations: 44 kB / 0.5488 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.744e-05/0.6256, allocations: 43.84 kB / 0.5488 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.69e-05/0.6257, allocations: 31.88 kB / 0.5488 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.6284, allocations: 1.661 MB / 0.5505 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/0.629, allocations: 274.7 kB / 0.5507 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.6292, allocations: 51.98 kB / 0.5508 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/0.6299, allocations: 39.98 kB / 0.5508 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.6301, allocations: 135.5 kB / 0.5509 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.6302, allocations: 48 kB / 0.551 GB, free: 360 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002294/0.6325, allocations: 1.216 MB / 0.5522 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6325, allocations: 0 / 0.5522 GB, free: 15.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002804/0.6353, allocations: 0.4922 MB / 0.5526 GB, free: 14.65 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.0003987/0.6357, allocations: 194.7 kB / 0.5528 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003524/0.6392, allocations: 1.825 MB / 0.5546 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/0.6393, allocations: 8.125 kB / 0.5546 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008815/0.6402, allocations: 488.2 kB / 0.5551 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.6423, allocations: 278.8 kB / 0.5554 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.6533, allocations: 6.275 MB / 0.5615 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/0.6558, allocations: 2.186 MB / 0.5636 GB, free: 3.082 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002278/0.6581, allocations: 0.7112 MB / 0.5643 GB, free: 2.367 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.6585, allocations: 135.4 kB / 0.5644 GB, free: 2.234 MB / 430.1 MB Notification: Performance of SimCode: time 1.844e-06/0.6585, allocations: 7.938 kB / 0.5644 GB, free: 2.227 MB / 430.1 MB Notification: Performance of Templates: time 0.03441/0.6929, allocations: 15.43 MB / 0.5795 GB, free: 2.836 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: