Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003629, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 44.52 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.5978, allocations: 71.89 MB / 380.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5982, allocations: 64.12 kB / 380.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02181/0.62, allocations: 4.054 MB / 384.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6201, allocations: 1.375 kB / 384.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.6201, allocations: 7.953 kB / 384.6 MB, free: 14.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001132/0.6213, allocations: 0.4974 MB / 385.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.6214, allocations: 13.62 kB / 385.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.6215, allocations: 60.06 kB / 385.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.6216, allocations: 29.42 kB / 385.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.622, allocations: 227.4 kB / 385.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.622, allocations: 24.44 kB / 385.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.6222, allocations: 33.95 kB / 385.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.623, allocations: 236.2 kB / 385.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.623, allocations: 5.094 kB / 385.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.6231, allocations: 14.8 kB / 385.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.6231, allocations: 10.45 kB / 385.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.6237, allocations: 155.4 kB / 385.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.6257, allocations: 0.8072 MB / 386.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.6266, allocations: 287.4 kB / 386.9 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.6267, allocations: 6.781 kB / 386.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.6267, allocations: 39.12 kB / 387 MB, free: 12.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.699e-06/0.6268, allocations: 1.312 kB / 387 MB, free: 12.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.004931/0.6317, allocations: 1.95 MB / 388.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.6318, allocations: 110 kB / 389 MB, free: 11.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.6321, allocations: 166.6 kB / 389.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.6322, allocations: 33.61 kB / 389.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.6323, allocations: 196.8 kB / 389.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.6325, allocations: 165.3 kB / 389.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.6326, allocations: 8.594 kB / 389.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.6327, allocations: 330.4 kB / 389.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.633, allocations: 90.95 kB / 390 MB, free: 10.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.6335, allocations: 156.9 kB / 390.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.6339, allocations: 115.8 kB / 390.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6339, allocations: 0 / 390.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001107/0.6351, allocations: 329.1 kB / 390.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.6351, allocations: 6.344 kB / 390.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6351, allocations: 1.312 kB / 390.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.6352, allocations: 3.75 kB / 390.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.6361, allocations: 104.4 kB / 390.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.6361, allocations: 6.453 kB / 390.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.6364, allocations: 14.34 kB / 390.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.6365, allocations: 15.66 kB / 390.7 MB, free: 10.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0002719/0.6368, allocations: 150.5 kB / 390.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.637, allocations: 29.16 kB / 390.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.6371, allocations: 38.94 kB / 391 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6372, allocations: 5.219 kB / 391 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.6372, allocations: 5.234 kB / 391 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.6372, allocations: 2.766 kB / 391 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.6399, allocations: 1.051 MB / 392 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.64, allocations: 0 / 392 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009153/0.6409, allocations: 92.61 kB / 392.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.6409, allocations: 7.781 kB / 392.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.641, allocations: 10.62 kB / 392.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.641, allocations: 7.688 kB / 392.1 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.641, allocations: 9.406 kB / 392.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.6424, allocations: 0.8481 MB / 393 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6426, allocations: 103 kB / 393.1 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.6427, allocations: 11 kB / 393.1 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.6432, allocations: 11.31 kB / 393.1 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.6433, allocations: 40.78 kB / 393.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.6434, allocations: 14.97 kB / 393.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000187/0.6436, allocations: 136.3 kB / 393.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6436, allocations: 0 / 393.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001029/0.6446, allocations: 78.72 kB / 393.4 MB, free: 9.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.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 (45): * Single equations (assignments): 45 * 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.00185/0.6465, allocations: 2.149 MB / 395.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000922/0.6475, allocations: 261 kB / 395.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6475, allocations: 0 / 395.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.6479, allocations: 145.2 kB / 395.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.6491, allocations: 61.53 kB / 396 MB, free: 7.191 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005952/0.6551, allocations: 2.93 MB / 398.9 MB, free: 5.203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.6556, allocations: 0.7759 MB / 399.7 MB, free: 4.496 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6559, allocations: 93.89 kB / 399.8 MB, free: 4.488 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6559, allocations: 0 / 399.8 MB, free: 4.488 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.671/3.327, allocations: 4.508 MB / 404.3 MB, free: 4.121 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat