Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_InitializationConversion_SpringDamper",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.01188/0.01188, allocations: 106.2 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.001369/0.001369, allocations: 178.2 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.999/1.999, allocations: 194.5 MB / 211.3 MB, free: 10.95 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.3491/0.3491, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007453/0.0007455, allocations: 16 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1436, allocations: 54.88 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.006852/0.1505, allocations: 2.534 MB / 418.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.1538, allocations: 0.8312 MB / 419.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.1542, allocations: 11.94 kB / 419.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1544, allocations: 43.61 kB / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009182/0.1554, allocations: 207.4 kB / 419.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.1559, allocations: 71.92 kB / 419.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.1571, allocations: 422.9 kB / 420.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.1576, allocations: 144.9 kB / 420.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004775/0.1581, allocations: 183.3 kB / 420.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.1587, allocations: 207.1 kB / 420.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.1588, allocations: 24 kB / 420.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.159, allocations: 24 kB / 420.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.1592, allocations: 83.61 kB / 420.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.1594, allocations: 121.5 kB / 420.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.1603, allocations: 410.7 kB / 421.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1603, allocations: 3.938 kB / 421.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1603, allocations: 0 / 421.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1604, allocations: 0 / 421.3 MB, free: 13.23 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002123/0.1625, allocations: 0.682 MB / 422 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.1626, allocations: 8.031 kB / 422 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.1628, allocations: 86.52 kB / 422.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.163, allocations: 51.44 kB / 422.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.1637, allocations: 309.2 kB / 422.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.1638, allocations: 33 kB / 422.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.164, allocations: 67.84 kB / 422.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.1655, allocations: 418.6 kB / 422.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.454e-05/0.1656, allocations: 23.83 kB / 423 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.1657, allocations: 20 kB / 423 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.1657, allocations: 12 kB / 423 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.167, allocations: 308.5 kB / 423.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.1708, allocations: 1.157 MB / 424.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.1724, allocations: 485.1 kB / 424.9 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.1724, allocations: 4.438 kB / 424.9 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.1725, allocations: 39 kB / 425 MB, free: 9.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 4.999e-06/0.1725, allocations: 0 / 425 MB, free: 9.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.006791/0.1793, allocations: 2.127 MB / 427.1 MB, free: 7.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.1795, allocations: 89.67 kB / 427.2 MB, free: 6.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.18, allocations: 250.9 kB / 427.4 MB, free: 6.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/0.1801, allocations: 37.7 kB / 427.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.1804, allocations: 213 kB / 427.7 MB, free: 6.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.1808, allocations: 272 kB / 427.9 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.1809, allocations: 16 kB / 428 MB, free: 6.145 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.1811, allocations: 358.8 kB / 428.3 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.1818, allocations: 149.9 kB / 428.5 MB, free: 5.641 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.1826, allocations: 276.8 kB / 428.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.1834, allocations: 196.4 kB / 428.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1834, allocations: 0 / 428.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003149/0.1866, allocations: 0.5632 MB / 429.5 MB, free: 4.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.1867, allocations: 8 kB / 429.5 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.1867, allocations: 7.984 kB / 429.5 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.152e-05/0.1868, allocations: 8 kB / 429.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.1888, allocations: 179.7 kB / 429.7 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.1889, allocations: 4 kB / 429.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.1894, allocations: 27.98 kB / 429.7 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.1895, allocations: 24 kB / 429.7 MB, free: 4.316 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003309/0.1898, allocations: 185.6 kB / 429.9 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.19, allocations: 47.48 kB / 430 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.1902, allocations: 55.64 kB / 430 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.1902, allocations: 8 kB / 430 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.1902, allocations: 4 kB / 430 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.1902, allocations: 3.984 kB / 430 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.1934, allocations: 1.442 MB / 431.5 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.1935, allocations: 0 / 431.5 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.1949, allocations: 163.8 kB / 431.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/0.195, allocations: 8.344 kB / 431.6 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.195, allocations: 19.94 kB / 431.7 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.877e-05/0.1951, allocations: 11.98 kB / 431.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.1951, allocations: 4.062 kB / 431.7 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.1971, allocations: 1.045 MB / 432.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.1973, allocations: 124.5 kB / 432.8 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.1974, allocations: 20 kB / 432.9 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.1979, allocations: 16 kB / 432.9 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.198, allocations: 48.27 kB / 432.9 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.1981, allocations: 24 kB / 432.9 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002822/0.1984, allocations: 182 kB / 433.1 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1984, allocations: 0 / 433.1 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000795/0.1992, allocations: 144 kB / 433.3 MB, free: 0.5195 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002722/0.2019, allocations: 2.423 MB / 435.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.2034, allocations: 451.5 kB / 436.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.2034, allocations: 0 / 436.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.204, allocations: 243 kB / 436.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.206, allocations: 96.77 kB / 436.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.22, allocations: 5.12 MB / 441.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/0.2209, allocations: 0.8605 MB / 442.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005645/0.2215, allocations: 64.64 kB / 442.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/0.222, allocations: 163.4 kB / 442.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2221, allocations: 7.938 kB / 442.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3612/0.5833, allocations: 9.002 MB / 451.7 MB, free: 59.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.5835, allocations: 210.5 kB / 451.9 MB, free: 58.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/3.454, allocations: 3.969 kB / 451.9 MB, free: 58.81 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat