Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.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.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_SpringDamperParallel",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.01148/0.01148, allocations: 106.5 kB / 15.06 MB, free: 5.555 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.001322/0.001322, allocations: 179.3 kB / 15.95 MB, free: 5.52 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 1.967/1.967, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.2855/0.2855, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005053, allocations: 15.92 kB / 361.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1176, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperParallel): time 0.4185/0.5362, allocations: 70.37 MB / 486.4 MB, free: 23.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04088/0.5771, allocations: 15.14 MB / 0.4898 GB, free: 13.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01672/0.5939, allocations: 350.3 kB / 0.4901 GB, free: 13.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01276/0.6067, allocations: 3.601 MB / 0.4936 GB, free: 12.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03741/0.6442, allocations: 9.513 MB / 0.5029 GB, free: 7.484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006498/0.6507, allocations: 0.758 MB / 0.5037 GB, free: 7.102 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008062/0.6588, allocations: 2.861 MB / 0.5065 GB, free: 5.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01688/0.6758, allocations: 7.485 MB / 0.5138 GB, free: 2.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.68, allocations: 1.469 MB / 0.5152 GB, free: 1.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00471/0.6848, allocations: 1.912 MB / 0.5171 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.6866, allocations: 227.6 kB / 0.5173 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.6904, allocations: 0.8092 MB / 0.5181 GB, free: 412 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003982/0.6944, allocations: 2.18 MB / 0.5202 GB, free: 15.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002837/0.6973, allocations: 1.26 MB / 0.5214 GB, free: 14.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.7121, allocations: 7.999 MB / 0.5292 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7122, allocations: 0 / 0.5292 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.7122, allocations: 4.562 kB / 0.5292 GB, free: 7.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004651/0.7127, allocations: 0 / 0.5292 GB, free: 7.73 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02678/0.7395, allocations: 6.604 MB / 0.5357 GB, free: 1.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.7396, allocations: 12.03 kB / 0.5357 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004365/0.744, allocations: 1.132 MB / 0.5368 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/0.7614, allocations: 2.798 MB / 0.5395 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/0.7717, allocations: 2.997 MB / 0.5425 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005837/0.7723, allocations: 398.3 kB / 0.5429 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002984/0.7753, allocations: 0.5269 MB / 0.5434 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07095/0.8464, allocations: 19.56 MB / 0.5625 GB, free: 4.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000437/0.8469, allocations: 67.36 kB / 0.5625 GB, free: 4.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002568/0.8494, allocations: 245.5 kB / 0.5628 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00823/0.8577, allocations: 3.076 MB / 0.5658 GB, free: 1.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06875/0.9265, allocations: 17.46 MB / 0.5828 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4638/1.39, allocations: 65.48 MB / 0.6468 GB, free: 116.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08641/1.477, allocations: 16.23 MB / 0.6626 GB, free: 115.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03818/1.515, allocations: 17.26 MB / 0.6795 GB, free: 108.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/1.515, allocations: 72.62 kB / 0.6795 GB, free: 108.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=355): time 7.985e-06/1.515, allocations: 7.375 kB / 0.6796 GB, free: 108.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=464): time 0.5514/2.067, allocations: 83.24 MB / 0.7608 GB, free: 42.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/2.067, allocations: 175.3 kB / 0.761 GB, free: 42.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01356/2.08, allocations: 4.779 MB / 0.7657 GB, free: 37.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001677/2.082, allocations: 93.7 kB / 0.7658 GB, free: 37.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003586/2.086, allocations: 4.151 MB / 0.7698 GB, free: 33.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003025/2.089, allocations: 1.669 MB / 0.7714 GB, free: 31.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/2.091, allocations: 180 kB / 0.7716 GB, free: 31.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006444/2.091, allocations: 0.6904 MB / 0.7723 GB, free: 30.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01295/2.104, allocations: 5.085 MB / 0.7773 GB, free: 25.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01548/2.12, allocations: 9.538 MB / 0.7866 GB, free: 14.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/2.138, allocations: 6.85 MB / 0.7933 GB, free: 7.312 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002031/2.138, allocations: 44 kB / 0.7933 GB, free: 7.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.06069/2.199, allocations: 17.89 MB / 0.8108 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/2.199, allocations: 72 kB / 0.8108 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002816/2.199, allocations: 155 kB / 0.811 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02003/2.219, allocations: 4.142 MB / 0.815 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3326/2.552, allocations: 2.131 MB / 0.8171 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04991/2.602, allocations: 28.58 MB / 0.845 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.613, allocations: 0.5973 MB / 0.8456 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/2.616, allocations: 0.5121 MB / 0.8461 GB, free: 135.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 700 * Number of states: 0 () * Number of discrete variables: 51 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.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 (1095): * Single equations (assignments): 1082 * 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: 8 * 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: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009406/2.625, allocations: 3.034 MB / 0.8491 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00239/2.628, allocations: 0.5008 MB / 0.8496 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0424/2.67, allocations: 12.15 MB / 0.8614 GB, free: 129 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/2.67, allocations: 47.31 kB / 0.8615 GB, free: 129 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.629e-05/2.67, allocations: 12.34 kB / 0.8615 GB, free: 129 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001388/2.671, allocations: 23.8 kB / 0.8615 GB, free: 129 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0711/2.742, allocations: 23.58 MB / 0.8845 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.369e-05/2.742, allocations: 4.781 kB / 0.8845 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008424/2.75, allocations: 0.826 MB / 0.8853 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01619/2.766, allocations: 3.301 MB / 0.8886 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001453/2.768, allocations: 95.08 kB / 0.8887 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03144/2.799, allocations: 21.72 MB / 0.9099 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/2.8, allocations: 15.89 kB / 0.9099 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0501/2.85, allocations: 19.21 MB / 0.9286 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005521/2.855, allocations: 1.424 MB / 0.93 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002718/2.858, allocations: 81.92 kB / 0.9301 GB, free: 81.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007686/2.866, allocations: 401.4 kB / 0.9305 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002309/2.868, allocations: 319 kB / 0.9308 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001374/2.87, allocations: 123.9 kB / 0.9309 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007013/2.877, allocations: 2.95 MB / 0.9338 GB, free: 77.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.213e-06/2.877, allocations: 2 kB / 0.9338 GB, free: 77.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01161/2.888, allocations: 1.873 MB / 0.9356 GB, free: 75.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[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 (381): * Single equations (assignments): 363 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(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: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.05495/2.943, allocations: 20.82 MB / 0.956 GB, free: 54.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03309/2.976, allocations: 13.44 MB / 0.9691 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/2.976, allocations: 4 kB / 0.9691 GB, free: 41.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02055/2.997, allocations: 7.358 MB / 0.9763 GB, free: 33.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004841/3.002, allocations: 0.5108 MB / 0.9768 GB, free: 33.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4215/3.423, allocations: 141.2 MB / 1.115 GB, free: 51.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/3.434, allocations: 4.874 MB / 1.119 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01354/3.448, allocations: 2.822 MB / 1.122 GB, free: 50.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008542/3.456, allocations: 3.076 MB / 1.125 GB, free: 50.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.413e-06/3.457, allocations: 0 / 1.125 GB, free: 50.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6728/4.129, allocations: 141 MB / 1.263 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/4.13, allocations: 216.7 kB / 1.263 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/11.86, allocations: 0 / 1.263 GB, free: 145.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat