Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.571/1.571, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.64e-05, allocations: 4 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06829/0.06832, allocations: 38.76 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.4093, allocations: 84.53 MB / 345.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.4096, allocations: 79.2 kB / 345.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3538/0.7635, allocations: 70.34 MB / 416.2 MB, free: 380 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.7636, allocations: 0 / 416.2 MB, free: 380 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002021/0.7638, allocations: 71.98 kB / 416.3 MB, free: 308 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.2299/0.9937, allocations: 3.332 MB / 419.6 MB, free: 79.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.9938, allocations: 9.719 kB / 419.6 MB, free: 79.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/1.006, allocations: 2.083 MB / 421.7 MB, free: 79.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/1.019, allocations: 4.015 MB / 425.7 MB, free: 78.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002456/1.02, allocations: 113 kB / 425.8 MB, free: 78.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/1.021, allocations: 196.8 kB / 426 MB, free: 78.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01153/1.033, allocations: 5.038 MB / 431.1 MB, free: 78.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/1.049, allocations: 7.939 MB / 439 MB, free: 76.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001966/1.049, allocations: 57.94 kB / 439.1 MB, free: 76.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009362/1.05, allocations: 32.27 kB / 439.1 MB, free: 76.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001387/1.051, allocations: 0.8708 MB / 440 MB, free: 76.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04401/1.095, allocations: 40.96 MB / 480.9 MB, free: 46.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/1.099, allocations: 2.462 MB / 483.4 MB, free: 45.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/1.101, allocations: 1.378 MB / 484.8 MB, free: 44.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/1.101, allocations: 328.3 kB / 485.1 MB, free: 44.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.101, allocations: 56.34 kB / 485.2 MB, free: 44.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 5.418e-06/1.101, allocations: 0 / 485.2 MB, free: 44.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=130): time 0.0269/1.128, allocations: 11.25 MB / 496.4 MB, free: 39.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.128, allocations: 173.1 kB / 496.6 MB, free: 39.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004912/1.133, allocations: 2.779 MB / 499.3 MB, free: 38.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002567/1.133, allocations: 25.7 kB / 499.4 MB, free: 38.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/1.135, allocations: 2.759 MB / 0.4904 GB, free: 35.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006122/1.136, allocations: 0.5116 MB / 0.4909 GB, free: 35.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/1.136, allocations: 0 / 0.4909 GB, free: 35.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003484/1.136, allocations: 0.5421 MB / 0.4914 GB, free: 35.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/1.139, allocations: 1.586 MB / 0.4929 GB, free: 34.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004917/1.144, allocations: 5.101 MB / 0.4979 GB, free: 28.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005005/1.149, allocations: 2.844 MB / 0.5007 GB, free: 25.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.069e-05/1.149, allocations: 39.94 kB / 0.5007 GB, free: 25.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01355/1.163, allocations: 5.938 MB / 0.5065 GB, free: 20.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.46e-05/1.163, allocations: 59.94 kB / 0.5066 GB, free: 20.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/1.163, allocations: 128 kB / 0.5067 GB, free: 20.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007722/1.164, allocations: 342.2 kB / 0.507 GB, free: 20.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005276/1.169, allocations: 1.332 MB / 0.5083 GB, free: 18.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/1.172, allocations: 2.247 MB / 0.5105 GB, free: 16.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005038/1.177, allocations: 179.6 kB / 0.5107 GB, free: 16.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009581/1.178, allocations: 348.6 kB / 0.511 GB, free: 16.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 682 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009229/1.179, allocations: 422.2 kB / 0.5114 GB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006497/1.179, allocations: 276.3 kB / 0.5117 GB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/1.185, allocations: 2.251 MB / 0.5139 GB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-05/1.185, allocations: 20.48 kB / 0.5139 GB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.185, allocations: 4 kB / 0.5139 GB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/1.185, allocations: 6.891 kB / 0.5139 GB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/1.198, allocations: 5.604 MB / 0.5194 GB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.198, allocations: 4 kB / 0.5194 GB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.199, allocations: 175.8 kB / 0.5196 GB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002756/1.202, allocations: 0.7043 MB / 0.5203 GB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/1.202, allocations: 4 kB / 0.5203 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00653/1.209, allocations: 4.297 MB / 0.5245 GB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.661e-06/1.209, allocations: 0 / 0.5245 GB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007953/1.217, allocations: 4.395 MB / 0.5288 GB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.218, allocations: 0.4939 MB / 0.5292 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006065/1.219, allocations: 8.047 kB / 0.5293 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/1.221, allocations: 49.45 kB / 0.5293 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/1.221, allocations: 82.52 kB / 0.5294 GB, free: 468 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.221, allocations: 32.06 kB / 0.5294 GB, free: 436 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006378/1.228, allocations: 1.964 MB / 0.5313 GB, free: 14.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.383e-06/1.228, allocations: 0 / 0.5313 GB, free: 14.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006422/1.234, allocations: 0.6955 MB / 0.532 GB, free: 14.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005691/1.235, allocations: 155.6 kB / 0.5322 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008109/1.243, allocations: 3.749 MB / 0.5358 GB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.73e-06/1.243, allocations: 0 / 0.5358 GB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/1.245, allocations: 1.066 MB / 0.5369 GB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/1.247, allocations: 296.2 kB / 0.5371 GB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.263, allocations: 6.209 MB / 0.5432 GB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.202/1.465, allocations: 2.839 MB / 0.546 GB, free: 82.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.467, allocations: 237.1 kB / 0.5462 GB, free: 82.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.917e-06/1.467, allocations: 5.125 kB / 0.5462 GB, free: 82.62 MB / 362.7 MB Notification: Performance of Templates: time 0.09203/1.559, allocations: 58.99 MB / 0.6038 GB, free: 69.54 MB / 362.7 MB