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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001788/0.001789, allocations: 191.1 kB / 16.14 MB, free: 6.703 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.407/1.407, allocations: 205.1 MB / 222 MB, free: 5 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.3237/0.3237, allocations: 37.98 MB / 307.3 MB, free: 9.867 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.001307/0.001307, allocations: 70.56 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.159, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.3462/0.5053, allocations: 34.73 MB / 465.8 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.5251, allocations: 7.318 MB / 473.1 MB, free: 32.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01202/0.5372, allocations: 138.7 kB / 473.2 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00545/0.5427, allocations: 2.668 MB / 475.9 MB, free: 30.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.5453, allocations: 0.6362 MB / 476.5 MB, free: 30.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.5468, allocations: 470.8 kB / 477 MB, free: 30.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.55, allocations: 2.68 MB / 479.7 MB, free: 29.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.5534, allocations: 3.254 MB / 482.9 MB, free: 28.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.5548, allocations: 0.9053 MB / 483.8 MB, free: 27.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.5564, allocations: 1.375 MB / 485.2 MB, free: 27.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003678/0.5568, allocations: 199.9 kB / 485.4 MB, free: 27.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.5584, allocations: 0.7698 MB / 486.1 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.5595, allocations: 1.16 MB / 487.3 MB, free: 26.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.5606, allocations: 1.363 MB / 488.7 MB, free: 25.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.5643, allocations: 4.499 MB / 493.2 MB, free: 24.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5643, allocations: 0 / 493.2 MB, free: 24.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5643, allocations: 0 / 493.2 MB, free: 24.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000101/0.5645, allocations: 0 / 493.2 MB, free: 24.09 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.006204/0.5707, allocations: 2.938 MB / 496.1 MB, free: 22.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.5707, allocations: 9.25 kB / 496.1 MB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.5721, allocations: 362.4 kB / 496.5 MB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.5743, allocations: 1.26 MB / 497.7 MB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.5745, allocations: 173.2 kB / 497.9 MB, free: 21.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000397/0.5749, allocations: 236.5 kB / 498.1 MB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.5873, allocations: 6.027 MB / 0.4923 GB, free: 18.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.128e-05/0.5874, allocations: 13.72 kB / 0.4924 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.5877, allocations: 103.2 kB / 0.4925 GB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/0.5898, allocations: 0.9634 MB / 0.4934 GB, free: 18.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.6023, allocations: 4.49 MB / 0.4978 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03116/0.6335, allocations: 18.53 MB / 0.5159 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004539/0.6381, allocations: 1.269 MB / 0.5171 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/0.6389, allocations: 390.2 kB / 0.5175 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/0.6404, allocations: 2.062 MB / 0.5195 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.6405, allocations: 44.77 kB / 0.5195 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.286e-06/0.6405, allocations: 0 / 0.5195 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.02346/0.6639, allocations: 5.889 MB / 0.5253 GB, free: 11.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.6641, allocations: 94.09 kB / 0.5254 GB, free: 11.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004321/0.6684, allocations: 1.832 MB / 0.5272 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.6686, allocations: 45.7 kB / 0.5272 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.6701, allocations: 1.652 MB / 0.5288 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005157/0.6707, allocations: 410.5 kB / 0.5292 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009921/0.6717, allocations: 0.5482 MB / 0.5298 GB, free: 6.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6718, allocations: 305.1 kB / 0.5301 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.6733, allocations: 0.8058 MB / 0.5308 GB, free: 5.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002589/0.6759, allocations: 2.362 MB / 0.5331 GB, free: 2.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/0.6805, allocations: 3.467 MB / 0.5365 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.321e-05/0.6806, allocations: 16 kB / 0.5365 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005614/0.6862, allocations: 3.157 MB / 0.5396 GB, free: 11.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.6863, allocations: 32 kB / 0.5397 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.074e-05/0.6864, allocations: 52 kB / 0.5397 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.101e-05/0.6865, allocations: 76 kB / 0.5398 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/0.6885, allocations: 0.6434 MB / 0.5404 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001098/0.6887, allocations: 107.6 kB / 0.5405 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.6906, allocations: 123.8 kB / 0.5406 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/0.6909, allocations: 164 kB / 0.5408 GB, free: 10.04 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.002442/0.6933, allocations: 1.199 MB / 0.542 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.6938, allocations: 177.8 kB / 0.5421 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.6963, allocations: 1.266 MB / 0.5434 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.6963, allocations: 12 kB / 0.5434 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.6963, allocations: 0 / 0.5434 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.6963, allocations: 11.91 kB / 0.5434 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.7075, allocations: 6.463 MB / 0.5497 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.002e-05/0.7076, allocations: 20 kB / 0.5497 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.7083, allocations: 203.7 kB / 0.5499 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.459e-05/0.7084, allocations: 28 kB / 0.5499 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.184e-05/0.7085, allocations: 44 kB / 0.55 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-05/0.7085, allocations: 43.73 kB / 0.55 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.767e-05/0.7086, allocations: 32.31 kB / 0.5501 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.7112, allocations: 1.68 MB / 0.5517 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/0.7119, allocations: 270.8 kB / 0.552 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004089/0.7124, allocations: 47.92 kB / 0.552 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/0.7133, allocations: 39.98 kB / 0.552 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.7136, allocations: 135.3 kB / 0.5522 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.832e-05/0.7137, allocations: 56 kB / 0.5522 GB, free: 13.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002229/0.7159, allocations: 1.232 MB / 0.5534 GB, free: 12.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7159, allocations: 0 / 0.5534 GB, free: 12.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002787/0.7187, allocations: 0.4921 MB / 0.5539 GB, free: 11.88 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.0005405/0.7193, allocations: 214.7 kB / 0.5541 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.7227, allocations: 1.831 MB / 0.5559 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/0.7228, allocations: 4 kB / 0.5559 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007009/0.7235, allocations: 497.8 kB / 0.5564 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.7252, allocations: 271.4 kB / 0.5566 GB, free: 9.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009964/0.7351, allocations: 6.532 MB / 0.563 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/0.7376, allocations: 2.194 MB / 0.5652 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00214/0.7398, allocations: 0.7112 MB / 0.5658 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.7402, allocations: 131.4 kB / 0.566 GB, free: 15.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7403, allocations: 0 / 0.566 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Templates: time 0.03809/0.7784, allocations: 15.95 MB / 0.5816 GB, free: 15.27 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.makefile (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)