Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.633e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4898, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.6863, allocations: 81.54 MB / 439.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/0.6867, allocations: 71.95 kB / 439.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03862/0.7253, allocations: 8.341 MB / 448.1 MB, free: 4.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7254, allocations: 0 / 448.1 MB, free: 4.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.04e-05/0.7254, allocations: 8 kB / 448.1 MB, free: 4.812 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001526/0.727, allocations: 0.635 MB / 448.7 MB, free: 4.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.727, allocations: 12.03 kB / 448.7 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.7272, allocations: 59.34 kB / 448.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.7278, allocations: 289.4 kB / 449.1 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.7278, allocations: 16 kB / 449.1 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.7279, allocations: 35.86 kB / 449.1 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008029/0.7287, allocations: 278.5 kB / 449.4 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/0.7297, allocations: 355.7 kB / 449.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/0.7297, allocations: 11.91 kB / 449.7 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.7298, allocations: 3.984 kB / 449.8 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.7298, allocations: 12 kB / 449.8 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.7325, allocations: 1.069 MB / 450.8 MB, free: 1.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.7335, allocations: 444 kB / 451.3 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000438/0.734, allocations: 187 kB / 451.5 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.135e-05/0.7341, allocations: 8.438 kB / 451.5 MB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.7341, allocations: 39.03 kB / 451.5 MB, free: 1.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.306e-06/0.7341, allocations: 0 / 451.5 MB, free: 1.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004177/0.7383, allocations: 1.826 MB / 453.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.7384, allocations: 85.67 kB / 453.4 MB, free: 15.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.7387, allocations: 190.1 kB / 453.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.7388, allocations: 29.64 kB / 453.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.739, allocations: 271.3 kB / 453.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.7393, allocations: 256.1 kB / 454.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.7394, allocations: 0 / 454.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.7396, allocations: 342.8 kB / 454.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.7399, allocations: 137.6 kB / 454.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.7404, allocations: 237.3 kB / 454.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.7409, allocations: 184.5 kB / 455 MB, free: 13.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-06/0.741, allocations: 0 / 455 MB, free: 13.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001204/0.7422, allocations: 479.8 kB / 455.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.7422, allocations: 11.95 kB / 455.5 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7422, allocations: 0 / 455.5 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.7423, allocations: 8 kB / 455.5 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.7435, allocations: 183.7 kB / 455.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.7435, allocations: 8 kB / 455.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.744, allocations: 7.984 kB / 455.7 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.7441, allocations: 28.14 kB / 455.7 MB, free: 12.71 MB / 394.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 () * 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.0001906/0.7443, allocations: 122.9 kB / 455.8 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009803/0.7453, allocations: 382.6 kB / 456.2 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.7454, allocations: 51.48 kB / 456.3 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.7456, allocations: 43.92 kB / 456.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.7456, allocations: 8 kB / 456.3 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.7456, allocations: 4 kB / 456.3 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.7456, allocations: 3.984 kB / 456.3 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.7486, allocations: 1.315 MB / 457.6 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.7486, allocations: 8.094 kB / 457.7 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.7499, allocations: 155.8 kB / 457.8 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/0.75, allocations: 7.984 kB / 457.8 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.75, allocations: 12 kB / 457.8 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.7501, allocations: 4 kB / 457.8 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.7501, allocations: 4 kB / 457.8 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.7519, allocations: 0.9813 MB / 458.8 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.7521, allocations: 116.6 kB / 458.9 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.723e-05/0.7522, allocations: 7.984 kB / 458.9 MB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.7527, allocations: 7.938 kB / 458.9 MB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.7528, allocations: 60.27 kB / 459 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.7529, allocations: 20 kB / 459 MB, free: 9.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.7531, allocations: 150 kB / 459.2 MB, free: 9.012 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7531, allocations: 3.938 kB / 459.2 MB, free: 9.008 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007836/0.7539, allocations: 124.1 kB / 459.3 MB, free: 8.887 MB / 394.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 () * 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.002456/0.7564, allocations: 2.354 MB / 461.6 MB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.7575, allocations: 398.9 kB / 462 MB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7575, allocations: 0.5625 kB / 462 MB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.758, allocations: 213.8 kB / 462.2 MB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.7591, allocations: 91.83 kB / 462.3 MB, free: 5.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.7637, allocations: 1.638 MB / 464 MB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.7643, allocations: 0.8605 MB / 464.8 MB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.7648, allocations: 175.3 kB / 465 MB, free: 2.965 MB / 394.7 MB Notification: Performance of SimCode: time 3.767e-06/0.7648, allocations: 0 / 465 MB, free: 2.965 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.94/3.705, allocations: 7.742 MB / 472.7 MB, free: 96.38 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat