Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003675/0.003675, allocations: 348.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.654/3.654, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005148/0.005148, allocations: 221.2 kB / 397.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5301/0.5301, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004558, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09283, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.3296/0.4226, allocations: 26.12 MB / 0.6323 GB, free: 76.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.441, allocations: 6.076 MB / 0.6382 GB, free: 72.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007088/0.4482, allocations: 117.9 kB / 0.6383 GB, free: 72.65 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005286/0.4535, allocations: 1.293 MB / 0.6396 GB, free: 72.24 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01688/0.4704, allocations: 4.565 MB / 0.644 GB, free: 70.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.4734, allocations: 390.7 kB / 0.6444 GB, free: 70.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007166/0.4806, allocations: 3.955 MB / 0.6483 GB, free: 68.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004785/0.4855, allocations: 2.259 MB / 0.6505 GB, free: 66.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.488, allocations: 1.044 MB / 0.6515 GB, free: 66.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003851/0.4919, allocations: 1.725 MB / 0.6532 GB, free: 65.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.4931, allocations: 135.7 kB / 0.6533 GB, free: 65.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.4958, allocations: 0.6709 MB / 0.654 GB, free: 64.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002402/0.4982, allocations: 1.492 MB / 0.6554 GB, free: 63.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.4994, allocations: 0.7531 MB / 0.6561 GB, free: 62.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006303/0.5057, allocations: 4.729 MB / 0.6608 GB, free: 57.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.5058, allocations: 4 kB / 0.6608 GB, free: 57.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5058, allocations: 4 kB / 0.6608 GB, free: 57.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001778/0.506, allocations: 2.812 kB / 0.6608 GB, free: 57.51 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.007852/0.5138, allocations: 3.429 MB / 0.6641 GB, free: 54.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5139, allocations: 8.031 kB / 0.6641 GB, free: 54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02448/0.5384, allocations: 3.715 MB / 0.6678 GB, free: 50.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005195/0.5436, allocations: 1.955 MB / 0.6697 GB, free: 48.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.5438, allocations: 192.8 kB / 0.6698 GB, free: 48.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008201/0.5447, allocations: 247.8 kB / 0.6701 GB, free: 47.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.5648, allocations: 10.43 MB / 0.6803 GB, free: 36.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.565, allocations: 31.67 kB / 0.6803 GB, free: 36.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005281/0.5655, allocations: 119.8 kB / 0.6804 GB, free: 36.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006421/0.5719, allocations: 2.553 MB / 0.6829 GB, free: 34.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02541/0.5974, allocations: 9.482 MB / 0.6922 GB, free: 24.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06181/0.6592, allocations: 32.37 MB / 0.7238 GB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009999/0.6693, allocations: 3.368 MB / 0.7271 GB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002857/0.6722, allocations: 1.075 MB / 0.7281 GB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.674, allocations: 1.307 MB / 0.7294 GB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/0.6741, allocations: 47.88 kB / 0.7294 GB, free: 1.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 7.254e-06/0.6741, allocations: 0 / 0.7294 GB, free: 1.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.03641/0.7105, allocations: 9.752 MB / 0.739 GB, free: 7.535 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.7107, allocations: 102.4 kB / 0.7391 GB, free: 7.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005695/0.7164, allocations: 2.604 MB / 0.7416 GB, free: 4.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000352/0.7167, allocations: 45.7 kB / 0.7417 GB, free: 4.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002913/0.7197, allocations: 2.735 MB / 0.7443 GB, free: 1.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.7209, allocations: 0.7093 MB / 0.745 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/0.7214, allocations: 96 kB / 0.7451 GB, free: 1.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000452/0.7219, allocations: 0.5168 MB / 0.7456 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/0.7264, allocations: 1.54 MB / 0.7471 GB, free: 15.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007866/0.7343, allocations: 4.443 MB / 0.7515 GB, free: 9.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006978/0.7413, allocations: 2.639 MB / 0.754 GB, free: 6.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.795e-05/0.7415, allocations: 28 kB / 0.7541 GB, free: 6.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=658) (initialization): time 0.01721/0.7587, allocations: 5.895 MB / 0.7598 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.7589, allocations: 48.94 kB / 0.7599 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/0.7591, allocations: 100 kB / 0.76 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/0.7596, allocations: 192.8 kB / 0.7601 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3241/1.084, allocations: 1.088 MB / 0.7612 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/1.087, allocations: 1.687 MB / 0.7628 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006255/1.093, allocations: 212.9 kB / 0.7631 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/1.094, allocations: 297.2 kB / 0.7633 GB, free: 114.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (606): * Single equations (assignments): 599 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007149/1.101, allocations: 2.02 MB / 0.7653 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006257/1.102, allocations: 254.1 kB / 0.7656 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006641/1.109, allocations: 2.529 MB / 0.768 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/1.109, allocations: 11.31 kB / 0.768 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.109, allocations: 3.609 kB / 0.768 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/1.11, allocations: 496 kB / 0.7685 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006127/1.111, allocations: 26.22 kB / 0.7685 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.112, allocations: 51.23 kB / 0.7686 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/1.113, allocations: 82.86 kB / 0.7687 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006151/1.119, allocations: 2.335 MB / 0.7709 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008229/1.127, allocations: 3.871 MB / 0.7747 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002199/1.129, allocations: 0.9817 MB / 0.7757 GB, free: 111.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00395/1.133, allocations: 1.588 MB / 0.7772 GB, free: 111.1 MB / 410.7 MB Notification: Performance of Backend: time 1.954e-06/1.133, allocations: 0 / 0.7772 GB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009425/1.143, allocations: 3.132 MB / 0.7803 GB, free: 110 MB / 410.7 MB Notification: Performance of SimCode: time 0.02227/1.165, allocations: 10.12 MB / 0.7902 GB, free: 104.6 MB / 410.7 MB Notification: Performance of Templates: time 0.08581/1.251, allocations: 29.88 MB / 0.8194 GB, free: 84.35 MB / 410.7 MB