Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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.01073/0.01073, allocations: 107 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.001198/0.001197, 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 1.947/1.947, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.2775/0.2775, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.000512, allocations: 12 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1225, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.04758/0.1701, allocations: 30.73 MB / 446.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3292/0.4994, allocations: 7.198 MB / 453.9 MB, free: 30.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007298/0.5068, allocations: 149.7 kB / 454.1 MB, free: 30.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005613/0.5125, allocations: 1.534 MB / 455.6 MB, free: 30.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01665/0.5292, allocations: 4.131 MB / 459.8 MB, free: 30.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.5323, allocations: 390 kB / 460.1 MB, free: 30.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004214/0.5366, allocations: 1.597 MB / 461.7 MB, free: 30.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007128/0.5437, allocations: 3.665 MB / 465.4 MB, free: 30.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.5455, allocations: 0.7763 MB / 466.2 MB, free: 30.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.5475, allocations: 1.021 MB / 467.2 MB, free: 30.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007163/0.5483, allocations: 119.9 kB / 467.3 MB, free: 30.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.5507, allocations: 0.7582 MB / 468.1 MB, free: 30.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.5525, allocations: 1.174 MB / 469.2 MB, free: 30.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009459/0.5534, allocations: 0.6961 MB / 469.9 MB, free: 29.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00687/0.5603, allocations: 4.501 MB / 474.4 MB, free: 29.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5604, allocations: 0 / 474.4 MB, free: 29.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.5604, allocations: 6.156 kB / 474.5 MB, free: 29.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002286/0.5606, allocations: 0 / 474.5 MB, free: 29.54 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: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01201/0.5727, allocations: 3.448 MB / 477.9 MB, free: 27.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5727, allocations: 13.56 kB / 477.9 MB, free: 27.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002623/0.5754, allocations: 0.6369 MB / 478.6 MB, free: 27.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/0.5889, allocations: 2.15 MB / 480.7 MB, free: 27.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005766/0.5947, allocations: 1.623 MB / 482.3 MB, free: 27.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.5951, allocations: 204.1 kB / 482.5 MB, free: 27.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.5969, allocations: 276 kB / 482.8 MB, free: 27.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03396/0.6309, allocations: 10.09 MB / 492.9 MB, free: 24.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/0.6312, allocations: 43.48 kB / 492.9 MB, free: 24.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.6324, allocations: 132.7 kB / 493.1 MB, free: 24.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004942/0.6374, allocations: 1.746 MB / 494.8 MB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03188/0.6693, allocations: 8.943 MB / 0.4919 GB, free: 22.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0649/0.7342, allocations: 35.98 MB / 0.5271 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03379/0.7681, allocations: 6.55 MB / 0.5335 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/0.7823, allocations: 5.756 MB / 0.5391 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.7825, allocations: 51.56 kB / 0.5391 GB, free: 8.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=161): time 6.232e-06/0.7825, allocations: 0 / 0.5391 GB, free: 8.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=190): time 0.1477/0.9302, allocations: 27.41 MB / 0.5659 GB, free: 13.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/0.9304, allocations: 145.8 kB / 0.5661 GB, free: 13.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007308/0.9377, allocations: 3.153 MB / 0.5691 GB, free: 9.996 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007753/0.9385, allocations: 53.7 kB / 0.5692 GB, free: 9.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002914/0.9415, allocations: 2.591 MB / 0.5717 GB, free: 7.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/0.9431, allocations: 0.7208 MB / 0.5724 GB, free: 6.645 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007794/0.9439, allocations: 104 kB / 0.5725 GB, free: 6.543 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005171/0.9444, allocations: 0.5374 MB / 0.573 GB, free: 6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006953/0.9514, allocations: 2.31 MB / 0.5753 GB, free: 3.684 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00969/0.9612, allocations: 5.509 MB / 0.5807 GB, free: 12.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009261/0.9705, allocations: 3.508 MB / 0.5841 GB, free: 9.062 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.9706, allocations: 32 kB / 0.5841 GB, free: 9.031 MB / 458.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.02638/0.997, allocations: 8.409 MB / 0.5924 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.9972, allocations: 53.25 kB / 0.5924 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/0.9974, allocations: 113.6 kB / 0.5925 GB, free: 456 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005236/1.003, allocations: 1.052 MB / 0.5935 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008967/1.012, allocations: 1.287 MB / 0.5948 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009535/1.021, allocations: 5.492 MB / 0.6002 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006586/1.028, allocations: 327.5 kB / 0.6005 GB, free: 8.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/1.03, allocations: 334.9 kB / 0.6008 GB, free: 7.691 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * 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 (675): * Single equations (assignments): 668 * 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.006093/1.036, allocations: 1.797 MB / 0.6025 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009555/1.037, allocations: 296.2 kB / 0.6028 GB, free: 5.586 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/1.05, allocations: 3.988 MB / 0.6067 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-05/1.05, allocations: 22.06 kB / 0.6067 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/1.05, allocations: 4 kB / 0.6067 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.752e-05/1.051, allocations: 11.97 kB / 0.6068 GB, free: 1.539 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02809/1.079, allocations: 8.689 MB / 0.6152 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/1.079, allocations: 0 / 0.6152 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00381/1.083, allocations: 343.5 kB / 0.6156 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004709/1.087, allocations: 0.8642 MB / 0.6164 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006447/1.088, allocations: 35.98 kB / 0.6164 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008062/1.096, allocations: 4.843 MB / 0.6212 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.096, allocations: 64 / 0.6212 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3528/1.449, allocations: 7.039 MB / 0.6281 GB, free: 154.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/1.452, allocations: 0.6731 MB / 0.6287 GB, free: 154.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.453, allocations: 38.03 kB / 0.6287 GB, free: 154.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003287/1.456, allocations: 129.4 kB / 0.6289 GB, free: 154.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00088/1.457, allocations: 114 kB / 0.629 GB, free: 154.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002541/1.457, allocations: 43.91 kB / 0.629 GB, free: 154.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006446/1.464, allocations: 1.943 MB / 0.6309 GB, free: 154.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.153e-06/1.464, allocations: 3 kB / 0.6309 GB, free: 154.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009483/1.474, allocations: 0.9035 MB / 0.6318 GB, free: 154.1 MB / 490.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 (157): * Single equations (assignments): 150 * 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.05431/1.528, allocations: 7.872 MB / 0.6395 GB, free: 150.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02505/1.553, allocations: 6.025 MB / 0.6454 GB, free: 148.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.553, allocations: 0 / 0.6454 GB, free: 148.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008098/1.561, allocations: 2.485 MB / 0.6478 GB, free: 147.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/1.564, allocations: 282.1 kB / 0.6481 GB, free: 147.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1056/1.67, allocations: 108 MB / 0.7535 GB, free: 50.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00642/1.676, allocations: 2.902 MB / 0.7564 GB, free: 49.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008152/1.684, allocations: 1.775 MB / 0.7581 GB, free: 49.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00437/1.689, allocations: 1.544 MB / 0.7596 GB, free: 48.08 MB / 490.7 MB Notification: Performance of SimCode: time 1.432e-06/1.689, allocations: 0 / 0.7596 GB, free: 48.08 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4841/2.173, allocations: 67.67 MB / 0.8257 GB, free: 149.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/2.173, allocations: 206.8 kB / 0.8259 GB, free: 148.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.212/7.386, allocations: 3 kB / 0.8259 GB, free: 148.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat