Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002692/0.002691, allocations: 372.1 kB / 15.97 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.878/3.878, allocations: 388.9 MB / 405.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003487/0.003486, allocations: 240.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.568/0.568, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007415/0.0007417, allocations: 12.97 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.126, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.05446/0.1805, allocations: 30.21 MB / 0.7096 GB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02466/0.2052, allocations: 7.273 MB / 0.7167 GB, free: 4.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006115/0.2114, allocations: 151.6 kB / 0.7169 GB, free: 3.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004582/0.216, allocations: 1.423 MB / 0.7182 GB, free: 2.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3351/0.5512, allocations: 5.144 MB / 0.7233 GB, free: 13.13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.5543, allocations: 0.5837 MB / 0.7238 GB, free: 13.12 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.03738/0.5917, allocations: 15.18 MB / 0.7387 GB, free: 11.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008376/0.6002, allocations: 2.981 MB / 0.7416 GB, free: 10.36 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.6036, allocations: 1.109 MB / 0.7427 GB, free: 10.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005255/0.6089, allocations: 1.793 MB / 0.7444 GB, free: 9.691 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.61, allocations: 123.8 kB / 0.7445 GB, free: 9.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004541/0.6146, allocations: 1.003 MB / 0.7455 GB, free: 9.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003421/0.6181, allocations: 1.493 MB / 0.747 GB, free: 8.887 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.6199, allocations: 0.7157 MB / 0.7477 GB, free: 8.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009537/0.6294, allocations: 4.708 MB / 0.7523 GB, free: 5.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.6295, allocations: 0 / 0.7523 GB, free: 5.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6295, allocations: 0 / 0.7523 GB, free: 5.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001917/0.6297, allocations: 0 / 0.7523 GB, free: 5.977 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.01483/0.6446, allocations: 3.602 MB / 0.7558 GB, free: 2.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.6447, allocations: 14 kB / 0.7558 GB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03574/0.6804, allocations: 2.863 MB / 0.7586 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008452/0.6889, allocations: 2.396 MB / 0.7609 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.6892, allocations: 199.8 kB / 0.7611 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.6907, allocations: 278.7 kB / 0.7614 GB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.7144, allocations: 8.669 MB / 0.7698 GB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/0.7146, allocations: 45.84 kB / 0.7699 GB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009883/0.7156, allocations: 127.5 kB / 0.77 GB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004694/0.7203, allocations: 1.675 MB / 0.7716 GB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02473/0.7451, allocations: 7.35 MB / 0.7788 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06271/0.8079, allocations: 34.08 MB / 0.8121 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/0.8245, allocations: 3.514 MB / 0.8155 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006297/0.8308, allocations: 1.713 MB / 0.8172 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02849/0.8594, allocations: 7.434 MB / 0.8245 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.078e-05/0.8595, allocations: 51.5 kB / 0.8245 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 8.586e-06/0.8595, allocations: 0 / 0.8245 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.1346/0.9941, allocations: 21.28 MB / 0.8453 GB, free: 11.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.9943, allocations: 205.2 kB / 0.8455 GB, free: 11.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008124/1.002, allocations: 3.698 MB / 0.8491 GB, free: 7.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000483/1.003, allocations: 53.7 kB / 0.8492 GB, free: 7.262 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003121/1.006, allocations: 2.785 MB / 0.8519 GB, free: 4.496 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.007, allocations: 0.7121 MB / 0.8526 GB, free: 3.789 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006583/1.008, allocations: 116 kB / 0.8527 GB, free: 3.676 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004804/1.009, allocations: 0.5541 MB / 0.8532 GB, free: 3.113 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006188/1.015, allocations: 2.213 MB / 0.8554 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009623/1.024, allocations: 5.744 MB / 0.861 GB, free: 9.395 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008792/1.033, allocations: 3.475 MB / 0.8644 GB, free: 5.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-05/1.033, allocations: 36 kB / 0.8644 GB, free: 5.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.03474/1.068, allocations: 9.73 MB / 0.8739 GB, free: 12.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.068, allocations: 59.59 kB / 0.874 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002093/1.069, allocations: 128.9 kB / 0.8741 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01115/1.08, allocations: 1.783 MB / 0.8758 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008452/1.088, allocations: 1.314 MB / 0.8771 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02952/1.118, allocations: 10.56 MB / 0.8874 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006171/1.124, allocations: 315.5 kB / 0.8877 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/1.125, allocations: 372 kB / 0.8881 GB, free: 13.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (709): * Single equations (assignments): 705 * Array equations: 3 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005073/1.131, allocations: 1.884 MB / 0.8899 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009121/1.132, allocations: 327.8 kB / 0.8902 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/1.151, allocations: 4.423 MB / 0.8946 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-05/1.151, allocations: 11.92 kB / 0.8946 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.151, allocations: 4 kB / 0.8946 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.153, allocations: 0.6333 MB / 0.8952 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/1.154, allocations: 31.98 kB / 0.8952 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/1.157, allocations: 91.89 kB / 0.8953 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005621/1.158, allocations: 137 kB / 0.8954 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01793/1.176, allocations: 4.571 MB / 0.8999 GB, free: 1.402 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3244/1.5, allocations: 5.346 MB / 0.9051 GB, free: 166.5 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003184/1.503, allocations: 1.401 MB / 0.9065 GB, free: 166.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005812/1.509, allocations: 2.294 MB / 0.9087 GB, free: 165.5 MB / 490.7 MB Notification: Performance of Backend: time 1.042e-06/1.509, allocations: 1.375 kB / 0.9087 GB, free: 165.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01421/1.524, allocations: 4.364 MB / 0.913 GB, free: 163.9 MB / 490.7 MB Notification: Performance of SimCode: time 0.02437/1.548, allocations: 9.868 MB / 0.9226 GB, free: 158.9 MB / 490.7 MB Notification: Performance of Templates: time 0.1281/1.676, allocations: 45.01 MB / 0.9666 GB, free: 125.7 MB / 490.7 MB