Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.198/2.198, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000551/0.0005509, allocations: 8 kB / 264.1 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.321, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.4739, allocations: 71.78 MB / 380.3 MB, free: 4.895 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.4742, allocations: 63.97 kB / 380.4 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02028/0.4945, allocations: 4.448 MB / 384.8 MB, free: 364 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4946, allocations: 0 / 384.8 MB, free: 364 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.4946, allocations: 4 kB / 384.9 MB, free: 360 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001054/0.4957, allocations: 0.5147 MB / 385.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4958, allocations: 12.03 kB / 385.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.4959, allocations: 66.47 kB / 385.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.496, allocations: 31.62 kB / 385.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.4963, allocations: 238.6 kB / 385.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.4964, allocations: 16.56 kB / 385.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.4965, allocations: 28 kB / 385.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.4971, allocations: 250.5 kB / 386 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.4972, allocations: 3.906 kB / 386 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.4972, allocations: 12 kB / 386 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.4973, allocations: 4 kB / 386 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.4978, allocations: 179.8 kB / 386.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.4995, allocations: 0.7537 MB / 386.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.5002, allocations: 277 kB / 387.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.5003, allocations: 4 kB / 387.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.5003, allocations: 39.12 kB / 387.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 3.607e-06/0.5003, allocations: 0 / 387.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.004499/0.5049, allocations: 1.705 MB / 389 MB, free: 11.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.505, allocations: 93.05 kB / 389.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.5053, allocations: 158.5 kB / 389.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.5053, allocations: 33.7 kB / 389.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.5055, allocations: 140.6 kB / 389.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.5057, allocations: 169.5 kB / 389.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.5057, allocations: 12 kB / 389.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5059, allocations: 342.8 kB / 389.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.5062, allocations: 101.1 kB / 390 MB, free: 10.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.5066, allocations: 157.5 kB / 390.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.507, allocations: 126.3 kB / 390.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.507, allocations: 3.938 kB / 390.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009119/0.5079, allocations: 366.3 kB / 390.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.508, allocations: 8.922 kB / 390.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.508, allocations: 0 / 390.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.508, allocations: 8.062 kB / 390.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.5088, allocations: 95.91 kB / 390.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.5088, allocations: 7.984 kB / 390.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.509, allocations: 12 kB / 390.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.5091, allocations: 8 kB / 390.8 MB, free: 10.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0002555/0.5094, allocations: 161.7 kB / 390.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.5095, allocations: 27.7 kB / 391 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.5096, allocations: 33.88 kB / 391 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.5096, allocations: 11.98 kB / 391 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5097, allocations: 4 kB / 391 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5097, allocations: 0 / 391 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.5119, allocations: 0.9593 MB / 392 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.5119, allocations: 0 / 392 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/0.5128, allocations: 95.89 kB / 392.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.5128, allocations: 4 kB / 392.1 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.5129, allocations: 12 kB / 392.1 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.5129, allocations: 3.938 kB / 392.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5129, allocations: 4 kB / 392.1 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5142, allocations: 0.6754 MB / 392.8 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.5143, allocations: 100.8 kB / 392.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.5144, allocations: 11.98 kB / 392.9 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.5147, allocations: 12 kB / 392.9 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.5148, allocations: 35.86 kB / 392.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.5149, allocations: 12 kB / 392.9 MB, free: 7.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.515, allocations: 131.4 kB / 393 MB, free: 7.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.515, allocations: 0 / 393 MB, free: 7.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005445/0.5156, allocations: 84 kB / 393.1 MB, free: 7.508 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_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 (48): * Single equations (assignments): 48 * 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.001796/0.5174, allocations: 1.423 MB / 394.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008459/0.5183, allocations: 295.1 kB / 394.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.5183, allocations: 0 / 394.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.5188, allocations: 163.6 kB / 395 MB, free: 5.594 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.5196, allocations: 43.97 kB / 395 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.5249, allocations: 2.627 MB / 397.7 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.5255, allocations: 0.7811 MB / 398.5 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002789/0.5258, allocations: 38.94 kB / 398.5 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.5261, allocations: 95.41 kB / 398.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5261, allocations: 0 / 398.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.5624, allocations: 5.498 MB / 404.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003428/0.5629, allocations: 191 kB / 404.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.395, allocations: 3.938 kB / 404.3 MB, free: 12.2 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat