Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004473, allocations: 12 kB / 314.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.5228, allocations: 96.92 MB / 466.7 MB, free: 9.672 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.5231, allocations: 87.91 kB / 466.8 MB, free: 9.586 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6117/1.135, allocations: 64.65 MB / 0.519 GB, free: 53.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.038e-06/1.135, allocations: 0 / 0.519 GB, free: 53.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002472/1.135, allocations: 68 kB / 0.5191 GB, free: 53.92 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01888/1.154, allocations: 3.464 MB / 0.5225 GB, free: 50.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.154, allocations: 12.03 kB / 0.5225 GB, free: 50.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02065/1.175, allocations: 2.019 MB / 0.5244 GB, free: 48.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0064/1.181, allocations: 1.947 MB / 0.5263 GB, free: 46.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/1.182, allocations: 275.3 kB / 0.5266 GB, free: 46.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002078/1.184, allocations: 375.7 kB / 0.527 GB, free: 45.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03335/1.217, allocations: 10.48 MB / 0.5372 GB, free: 34.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002364/1.217, allocations: 47.61 kB / 0.5372 GB, free: 34.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001921/1.219, allocations: 175.9 kB / 0.5374 GB, free: 34.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002204/1.222, allocations: 0.9899 MB / 0.5384 GB, free: 33.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02923/1.251, allocations: 9.001 MB / 0.5472 GB, free: 24.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07116/1.322, allocations: 43.34 MB / 0.5895 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/1.341, allocations: 4.001 MB / 0.5934 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/1.354, allocations: 5.131 MB / 0.5984 GB, free: 2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/1.354, allocations: 59.48 kB / 0.5985 GB, free: 1.934 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 5.36e-06/1.354, allocations: 0 / 0.5985 GB, free: 1.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=204): time 0.1524/1.506, allocations: 27.21 MB / 0.625 GB, free: 6.457 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.506, allocations: 157.8 kB / 0.6252 GB, free: 6.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007601/1.514, allocations: 3.146 MB / 0.6283 GB, free: 3.109 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005885/1.515, allocations: 49.7 kB / 0.6283 GB, free: 3.055 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002724/1.517, allocations: 2.571 MB / 0.6308 GB, free: 460 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.519, allocations: 0.7633 MB / 0.6316 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007892/1.52, allocations: 116 kB / 0.6317 GB, free: 15.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005551/1.52, allocations: 0.5463 MB / 0.6322 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006858/1.527, allocations: 2.459 MB / 0.6346 GB, free: 12.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.537, allocations: 5.659 MB / 0.6401 GB, free: 5.289 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009338/1.547, allocations: 3.676 MB / 0.6437 GB, free: 1.617 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/1.547, allocations: 32 kB / 0.6437 GB, free: 1.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.3498/1.897, allocations: 8.626 MB / 0.6522 GB, free: 127 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-05/1.897, allocations: 59.53 kB / 0.6522 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/1.897, allocations: 114.1 kB / 0.6523 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004695/1.902, allocations: 1.037 MB / 0.6533 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00863/1.91, allocations: 1.32 MB / 0.6546 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008044/1.919, allocations: 5.462 MB / 0.66 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006246/1.925, allocations: 305.9 kB / 0.6603 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/1.926, allocations: 338 kB / 0.6606 GB, free: 124.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (686): * Single equations (assignments): 679 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005218/1.931, allocations: 1.835 MB / 0.6624 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008552/1.932, allocations: 296.2 kB / 0.6627 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/1.945, allocations: 4.354 MB / 0.6669 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.03e-05/1.945, allocations: 20.75 kB / 0.6669 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/1.945, allocations: 8.484 kB / 0.6669 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-05/1.945, allocations: 12.67 kB / 0.667 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02594/1.971, allocations: 9.348 MB / 0.6761 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/1.971, allocations: 0 / 0.6761 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003786/1.975, allocations: 353.7 kB / 0.6764 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004283/1.98, allocations: 0.8704 MB / 0.6773 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005759/1.98, allocations: 37.31 kB / 0.6773 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006727/1.987, allocations: 4.82 MB / 0.682 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.987, allocations: 3.406 kB / 0.682 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01809/2.005, allocations: 7.603 MB / 0.6894 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0024/2.008, allocations: 0.7235 MB / 0.6901 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/2.009, allocations: 31.91 kB / 0.6902 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003289/2.012, allocations: 116.3 kB / 0.6903 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007608/2.013, allocations: 117.2 kB / 0.6904 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/2.013, allocations: 52.56 kB / 0.6904 GB, free: 113.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004678/2.018, allocations: 1.941 MB / 0.6923 GB, free: 112.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.613e-06/2.018, allocations: 0 / 0.6923 GB, free: 112.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00643/2.024, allocations: 0.9442 MB / 0.6933 GB, free: 112.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (171): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009383/2.025, allocations: 172.3 kB / 0.6934 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01548/2.041, allocations: 6.398 MB / 0.6997 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/2.041, allocations: 0 / 0.6997 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007214/2.048, allocations: 2.688 MB / 0.7023 GB, free: 105.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/2.051, allocations: 286.6 kB / 0.7026 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/2.075, allocations: 10.84 MB / 0.7132 GB, free: 95.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006078/2.081, allocations: 2.939 MB / 0.716 GB, free: 93.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/2.083, allocations: 262.6 kB / 0.7163 GB, free: 92.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/2.083, allocations: 0 / 0.7163 GB, free: 92.9 MB / 474.7 MB Notification: Performance of Templates: time 0.5189/2.602, allocations: 112.3 MB / 0.8259 GB, free: 138.6 MB / 490.7 MB