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.001311/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001475/0.001475, allocations: 192 kB / 16.13 MB, free: 6.699 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.551/1.551, allocations: 205.1 MB / 222 MB, free: 4.773 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.3476/0.3476, allocations: 39.94 MB / 309.3 MB, free: 9.301 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.001335/0.001336, allocations: 70.41 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1305, allocations: 56.88 MB / 433.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.2597/0.3902, allocations: 34.75 MB / 468.6 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01719/0.4075, allocations: 7.307 MB / 475.9 MB, free: 30.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01006/0.4176, allocations: 141.1 kB / 476 MB, free: 30.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00464/0.4223, allocations: 2.666 MB / 478.7 MB, free: 28.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.4252, allocations: 0.6312 MB / 479.3 MB, free: 28.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.4267, allocations: 472.1 kB / 479.8 MB, free: 28.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.4294, allocations: 2.689 MB / 482.4 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.4326, allocations: 3.256 MB / 485.7 MB, free: 26.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.434, allocations: 0.8956 MB / 486.6 MB, free: 25.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.4357, allocations: 1.382 MB / 488 MB, free: 25.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003558/0.4361, allocations: 196.5 kB / 488.2 MB, free: 25.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.4376, allocations: 0.7768 MB / 488.9 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.4389, allocations: 1.149 MB / 490.1 MB, free: 24.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.4408, allocations: 1.365 MB / 491.5 MB, free: 23.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006867/0.4477, allocations: 4.501 MB / 496 MB, free: 22.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4477, allocations: 0 / 496 MB, free: 22.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4477, allocations: 4 kB / 496 MB, free: 22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001869/0.4479, allocations: 0 / 496 MB, free: 22 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.008733/0.4567, allocations: 2.947 MB / 498.9 MB, free: 20.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.4567, allocations: 8.688 kB / 498.9 MB, free: 20.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.4583, allocations: 353.9 kB / 499.3 MB, free: 20.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.4607, allocations: 1.254 MB / 0.4888 GB, free: 19.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.4608, allocations: 180.6 kB / 0.489 GB, free: 19.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.4612, allocations: 235.6 kB / 0.4892 GB, free: 19.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.4753, allocations: 6.027 MB / 0.4951 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.679e-05/0.4754, allocations: 14.69 kB / 0.4951 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.4757, allocations: 102.9 kB / 0.4952 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.4774, allocations: 0.9666 MB / 0.4961 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.4907, allocations: 4.482 MB / 0.5005 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02974/0.5204, allocations: 18.54 MB / 0.5186 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/0.5248, allocations: 1.265 MB / 0.5198 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/0.5256, allocations: 400.7 kB / 0.5202 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.5273, allocations: 2.055 MB / 0.5222 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.5273, allocations: 43.06 kB / 0.5223 GB, free: 13.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.256e-06/0.5273, allocations: 0 / 0.5223 GB, free: 13.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02235/0.5497, allocations: 5.877 MB / 0.528 GB, free: 7.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.5498, allocations: 90.11 kB / 0.5281 GB, free: 7.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.5524, allocations: 1.84 MB / 0.5299 GB, free: 5.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.5526, allocations: 41.7 kB / 0.5299 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.5537, allocations: 1.652 MB / 0.5316 GB, free: 3.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/0.5541, allocations: 414.5 kB / 0.5319 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006696/0.5547, allocations: 0.5482 MB / 0.5325 GB, free: 2.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5549, allocations: 305.1 kB / 0.5328 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.5561, allocations: 0.8058 MB / 0.5336 GB, free: 1.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.5583, allocations: 2.362 MB / 0.5359 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003957/0.5623, allocations: 3.459 MB / 0.5392 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.073e-05/0.5623, allocations: 16 kB / 0.5393 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005092/0.5674, allocations: 3.172 MB / 0.5424 GB, free: 7.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.5675, allocations: 28.94 kB / 0.5424 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.656e-05/0.5676, allocations: 56 kB / 0.5424 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.115e-05/0.5677, allocations: 76 kB / 0.5425 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.5695, allocations: 0.6433 MB / 0.5431 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.984e-05/0.5696, allocations: 111.6 kB / 0.5432 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.5714, allocations: 119.9 kB / 0.5434 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.5717, allocations: 160 kB / 0.5435 GB, free: 5.863 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.002073/0.5737, allocations: 1.191 MB / 0.5447 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.5741, allocations: 177.7 kB / 0.5448 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.5763, allocations: 1.274 MB / 0.5461 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5763, allocations: 12.03 kB / 0.5461 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.5764, allocations: 0 / 0.5461 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5764, allocations: 7.984 kB / 0.5461 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.5872, allocations: 6.455 MB / 0.5524 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/0.5872, allocations: 24.03 kB / 0.5524 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.5879, allocations: 203.6 kB / 0.5526 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.934e-05/0.5879, allocations: 24 kB / 0.5527 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.588, allocations: 51.94 kB / 0.5527 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.33e-05/0.5881, allocations: 43.78 kB / 0.5527 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.019e-05/0.5881, allocations: 31.88 kB / 0.5528 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.5903, allocations: 1.676 MB / 0.5544 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/0.591, allocations: 270.8 kB / 0.5547 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.5913, allocations: 47.92 kB / 0.5547 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007152/0.592, allocations: 44 kB / 0.5548 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.5921, allocations: 135.4 kB / 0.5549 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.5922, allocations: 52 kB / 0.5549 GB, free: 9.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00212/0.5943, allocations: 1.228 MB / 0.5561 GB, free: 8.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5943, allocations: 0 / 0.5561 GB, free: 8.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003085/0.5974, allocations: 0.4922 MB / 0.5566 GB, free: 7.715 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.0004999/0.5979, allocations: 218.6 kB / 0.5568 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.6014, allocations: 1.84 MB / 0.5586 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.6014, allocations: 4 kB / 0.5586 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.6021, allocations: 491.8 kB / 0.5591 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.6041, allocations: 271 kB / 0.5594 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.6153, allocations: 6.531 MB / 0.5657 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/0.6177, allocations: 2.202 MB / 0.5679 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002171/0.6199, allocations: 0.715 MB / 0.5686 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.6203, allocations: 131.4 kB / 0.5687 GB, free: 11 MB / 446.1 MB Notification: Performance of SimCode: time 1.372e-06/0.6203, allocations: 0 / 0.5687 GB, free: 11 MB / 446.1 MB Notification: Performance of Templates: time 0.03571/0.656, allocations: 15.94 MB / 0.5843 GB, free: 11.1 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.makefile (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)