Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.666/1.666, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003583, allocations: 8 kB / 233.3 MB, free: 2.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08624, allocations: 38.77 MB / 272.1 MB, free: 12.1 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.4349, allocations: 79.87 MB / 352 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.4352, allocations: 72.91 kB / 352 MB, free: 10.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07793/0.5132, allocations: 16.89 MB / 368.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5132, allocations: 0 / 368.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.5133, allocations: 4 kB / 368.9 MB, free: 10.52 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001703/0.515, allocations: 0.5637 MB / 369.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5151, allocations: 8.031 kB / 369.5 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.012e-05/0.5151, allocations: 41.8 kB / 369.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.5152, allocations: 15.81 kB / 369.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.5157, allocations: 241.2 kB / 369.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.5157, allocations: 7.328 kB / 369.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.5157, allocations: 14.94 kB / 369.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.5161, allocations: 141.9 kB / 370 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5161, allocations: 0 / 370 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.5161, allocations: 3.5 kB / 370 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.5162, allocations: 0 / 370 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.5164, allocations: 61.45 kB / 370 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008098/0.5172, allocations: 393.1 kB / 370.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.5178, allocations: 123.4 kB / 370.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.5178, allocations: 0 / 370.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5179, allocations: 42.16 kB / 370.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.5179, allocations: 0 / 370.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.003294/0.5212, allocations: 1.222 MB / 371.8 MB, free: 7.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.5213, allocations: 141.7 kB / 371.9 MB, free: 7.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.5215, allocations: 160.5 kB / 372.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.5215, allocations: 25.7 kB / 372.1 MB, free: 7.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.5217, allocations: 177.9 kB / 372.3 MB, free: 7.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.5217, allocations: 54.39 kB / 372.3 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.5218, allocations: 3.75 kB / 372.3 MB, free: 7.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5219, allocations: 322.6 kB / 372.7 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.5222, allocations: 100.6 kB / 372.8 MB, free: 6.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.5225, allocations: 132.2 kB / 372.9 MB, free: 6.613 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.5228, allocations: 110 kB / 373 MB, free: 6.543 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5228, allocations: 0 / 373 MB, free: 6.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008064/0.5237, allocations: 308.8 kB / 373.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5237, allocations: 4 kB / 373.3 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.5237, allocations: 3.938 kB / 373.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.524, allocations: 44.12 kB / 373.3 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.5243, allocations: 31.98 kB / 373.4 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.5259, allocations: 1.419 MB / 374.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.526, allocations: 8.016 kB / 374.8 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.5261, allocations: 11.88 kB / 374.8 MB, free: 4.742 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001726/0.5263, allocations: 147.1 kB / 375 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.5263, allocations: 11.81 kB / 375 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.5264, allocations: 27.52 kB / 375 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5264, allocations: 0 / 375 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.5264, allocations: 8 kB / 375 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5265, allocations: 0 / 375 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.5268, allocations: 245.8 kB / 375.2 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5268, allocations: 0 / 375.2 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.5273, allocations: 59.39 kB / 375.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5274, allocations: 0 / 375.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.5274, allocations: 4 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.5274, allocations: 3.938 kB / 375.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5274, allocations: 0 / 375.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.5282, allocations: 418.5 kB / 375.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.5283, allocations: 88.92 kB / 375.8 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.5284, allocations: 7.562 kB / 375.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.5285, allocations: 8.031 kB / 375.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.5286, allocations: 7.984 kB / 375.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.5286, allocations: 7.5 kB / 375.8 MB, free: 3.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.5288, allocations: 123.3 kB / 376 MB, free: 3.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5288, allocations: 0 / 376 MB, free: 3.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002123/0.5309, allocations: 0.5344 MB / 376.5 MB, free: 3.152 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.002858/0.5338, allocations: 1.431 MB / 377.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.5348, allocations: 393.9 kB / 378.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5348, allocations: 0 / 378.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.535, allocations: 91.64 kB / 378.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.5354, allocations: 23.09 kB / 378.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.5371, allocations: 0.8379 MB / 379.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.5375, allocations: 0.7441 MB / 380 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.5377, allocations: 45.55 kB / 380 MB, free: 15.74 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5377, allocations: 0 / 380 MB, free: 15.74 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.85/3.388, allocations: 7.729 MB / 387.8 MB, free: 8.027 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat