Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01629/0.0163, allocations: 105.5 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001819/0.001819, allocations: 185.5 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.136/2.136, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2671/0.2671, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004849, allocations: 15.98 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 54.87 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.3708/0.4857, allocations: 41.5 MB / 457.5 MB, free: 30.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.5111, allocations: 10.08 MB / 467.6 MB, free: 29.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009079/0.5202, allocations: 203.8 kB / 467.8 MB, free: 29.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00785/0.5281, allocations: 2.087 MB / 469.9 MB, free: 29.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02284/0.551, allocations: 6.019 MB / 475.9 MB, free: 28.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.5555, allocations: 0.771 MB / 476.7 MB, free: 28.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007085/0.5626, allocations: 2.982 MB / 479.7 MB, free: 28.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008898/0.5716, allocations: 4.645 MB / 484.3 MB, free: 28.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.575, allocations: 1.236 MB / 485.5 MB, free: 28.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/0.5793, allocations: 1.731 MB / 487.3 MB, free: 27.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.5809, allocations: 168 kB / 487.4 MB, free: 27.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004523/0.5855, allocations: 0.9059 MB / 488.3 MB, free: 27.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004095/0.5896, allocations: 1.843 MB / 490.2 MB, free: 27.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.5928, allocations: 0.9282 MB / 491.1 MB, free: 27.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.6047, allocations: 5.987 MB / 497.1 MB, free: 25.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.6048, allocations: 0 / 497.1 MB, free: 25.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6048, allocations: 0.9062 kB / 497.1 MB, free: 25.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003347/0.6052, allocations: 0 / 497.1 MB, free: 25.32 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.01976/0.6249, allocations: 4.89 MB / 0.4902 GB, free: 22.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.625, allocations: 8.781 kB / 0.4902 GB, free: 22.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003456/0.6285, allocations: 0.802 MB / 0.491 GB, free: 21.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/0.6492, allocations: 2.671 MB / 0.4936 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.6608, allocations: 3.453 MB / 0.497 GB, free: 18.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004393/0.6612, allocations: 275.2 kB / 0.4973 GB, free: 18.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004266/0.6655, allocations: 0.5812 MB / 0.4978 GB, free: 18.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03621/0.7018, allocations: 11.86 MB / 0.5094 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002256/0.7021, allocations: 51.53 kB / 0.5095 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/0.7032, allocations: 173.3 kB / 0.5096 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005128/0.7084, allocations: 2.089 MB / 0.5117 GB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03476/0.7432, allocations: 10.56 MB / 0.522 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09704/0.8403, allocations: 46.98 MB / 0.5679 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02587/0.8662, allocations: 5.091 MB / 0.5728 GB, free: 8.414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0334/0.8997, allocations: 11.23 MB / 0.5838 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.16e-05/0.8998, allocations: 57.12 kB / 0.5839 GB, free: 12.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=198): time 6.402e-06/0.8998, allocations: 0 / 0.5839 GB, free: 12.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.1121/1.012, allocations: 24.69 MB / 0.608 GB, free: 3.758 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004519/1.017, allocations: 4.588 MB / 0.6124 GB, free: 14.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/1.028, allocations: 4.87 MB / 0.6172 GB, free: 9.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009357/1.029, allocations: 60.52 kB / 0.6173 GB, free: 9.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004198/1.033, allocations: 3.492 MB / 0.6207 GB, free: 6.277 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00213/1.035, allocations: 0.9536 MB / 0.6216 GB, free: 5.332 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/1.037, allocations: 142.6 kB / 0.6217 GB, free: 5.195 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006334/1.037, allocations: 0.6161 MB / 0.6223 GB, free: 4.574 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009749/1.047, allocations: 3.266 MB / 0.6255 GB, free: 1.305 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3174/1.365, allocations: 7.518 MB / 0.6329 GB, free: 149.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/1.376, allocations: 4.807 MB / 0.6376 GB, free: 149.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.376, allocations: 43.03 kB / 0.6376 GB, free: 149.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.07641/1.453, allocations: 16 MB / 0.6532 GB, free: 145.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/1.453, allocations: 69.38 kB / 0.6533 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05959/1.513, allocations: 9.345 MB / 0.6624 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05864/1.571, allocations: 6.655 MB / 0.6689 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009982/1.581, allocations: 1.673 MB / 0.6705 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0489/1.63, allocations: 21.93 MB / 0.692 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/1.641, allocations: 0.6631 MB / 0.6926 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001804/1.643, allocations: 455.9 kB / 0.693 GB, free: 124.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (888): * Single equations (assignments): 868 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006868/1.65, allocations: 2.306 MB / 0.6953 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.651, allocations: 409.2 kB / 0.6957 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02467/1.676, allocations: 7.013 MB / 0.7025 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02273/1.699, allocations: 6.364 MB / 0.7088 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.402e-05/1.699, allocations: 8 kB / 0.7088 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.401e-05/1.699, allocations: 15.95 kB / 0.7088 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04648/1.745, allocations: 15 MB / 0.7234 GB, free: 93.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.642e-05/1.745, allocations: 4 kB / 0.7234 GB, free: 93.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003938/1.749, allocations: 427.8 kB / 0.7238 GB, free: 92.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01825/1.767, allocations: 3.353 MB / 0.7271 GB, free: 89.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008474/1.768, allocations: 75.94 kB / 0.7272 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02898/1.797, allocations: 16.89 MB / 0.7437 GB, free: 71.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003366/1.801, allocations: 4.46 MB / 0.748 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0409/1.842, allocations: 10.89 MB / 0.7587 GB, free: 55.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.844, allocations: 491.5 kB / 0.7591 GB, free: 55.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002618/1.847, allocations: 63.97 kB / 0.7592 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008386/1.855, allocations: 295.5 kB / 0.7595 GB, free: 54.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001912/1.857, allocations: 185.6 kB / 0.7597 GB, free: 54.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006416/1.858, allocations: 75.39 kB / 0.7597 GB, free: 54.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01161/1.87, allocations: 3.081 MB / 0.7627 GB, free: 51.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.663e-06/1.87, allocations: 3.938 kB / 0.7627 GB, free: 51.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01647/1.886, allocations: 1.572 MB / 0.7643 GB, free: 49.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * 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 (178): * 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): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05088/1.937, allocations: 12.49 MB / 0.7765 GB, free: 37.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04062/1.978, allocations: 9.453 MB / 0.7857 GB, free: 27.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/1.978, allocations: 4 kB / 0.7857 GB, free: 27.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01991/1.998, allocations: 4.594 MB / 0.7902 GB, free: 22.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/2.002, allocations: 0.4991 MB / 0.7907 GB, free: 22.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5228/2.525, allocations: 155.3 MB / 0.9424 GB, free: 29.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009374/2.535, allocations: 3.73 MB / 0.946 GB, free: 28.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01058/2.545, allocations: 2.213 MB / 0.9482 GB, free: 27.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008125/2.553, allocations: 2.23 MB / 0.9503 GB, free: 26.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.784e-06/2.554, allocations: 0 / 0.9503 GB, free: 26.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5608/3.114, allocations: 113.1 MB / 1.061 GB, free: 105.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/3.115, allocations: 200.8 kB / 1.061 GB, free: 105 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/9.924, allocations: 3.938 kB / 1.061 GB, free: 105 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat