Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003593, allocations: 16 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09392, allocations: 44.51 MB / 308.6 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4839/0.5779, allocations: 74.54 MB / 383.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5782, allocations: 76.98 kB / 383.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02189/0.6001, allocations: 4.953 MB / 388.1 MB, free: 14.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6002, allocations: 0 / 388.1 MB, free: 14.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.705e-05/0.6002, allocations: 4.25 kB / 388.1 MB, free: 14.24 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001341/0.6015, allocations: 0.5746 MB / 388.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.6016, allocations: 13.22 kB / 388.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.6017, allocations: 54.72 kB / 388.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.6018, allocations: 24.66 kB / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.6022, allocations: 260.5 kB / 389 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.6022, allocations: 11.66 kB / 389.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.6023, allocations: 18.09 kB / 389.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/0.6031, allocations: 226.1 kB / 389.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.6031, allocations: 0 / 389.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.6031, allocations: 6.625 kB / 389.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.6032, allocations: 7.719 kB / 389.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009273/0.6041, allocations: 223.8 kB / 389.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.606, allocations: 0.8397 MB / 390.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.6071, allocations: 208.2 kB / 390.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.6071, allocations: 7.391 kB / 390.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006017/0.6077, allocations: 165.9 kB / 390.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.206e-06/0.6078, allocations: 0 / 390.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001331/0.6091, allocations: 285.8 kB / 391 MB, free: 12.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.6092, allocations: 83.78 kB / 391.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.6094, allocations: 208.6 kB / 391.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.6095, allocations: 29.64 kB / 391.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.6096, allocations: 217.1 kB / 391.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.6097, allocations: 41.06 kB / 391.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.6097, allocations: 11.47 kB / 391.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.6098, allocations: 316.7 kB / 391.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.6102, allocations: 89.42 kB / 392 MB, free: 12.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.6107, allocations: 142.2 kB / 392.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.6111, allocations: 123 kB / 392.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6111, allocations: 4 kB / 392.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001039/0.6122, allocations: 295 kB / 392.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.6123, allocations: 37.41 kB / 392.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6123, allocations: 6.859 kB / 392.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.6123, allocations: 0 / 392.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.6127, allocations: 58.83 kB / 392.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.6127, allocations: 3.938 kB / 392.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/0.6132, allocations: 42.08 kB / 392.7 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.6133, allocations: 14.66 kB / 392.7 MB, free: 11.83 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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.0001696/0.6134, allocations: 130.1 kB / 392.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.6135, allocations: 19.59 kB / 392.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/0.6136, allocations: 27.16 kB / 392.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6136, allocations: 0 / 392.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6136, allocations: 0 / 392.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6136, allocations: 6.703 kB / 392.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.6139, allocations: 284.2 kB / 393.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6139, allocations: 0 / 393.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.6143, allocations: 44.14 kB / 393.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.6143, allocations: 4 kB / 393.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.6143, allocations: 3.812 kB / 393.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6144, allocations: 7.641 kB / 393.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6144, allocations: 0 / 393.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.6157, allocations: 335.2 kB / 393.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.6158, allocations: 95.52 kB / 393.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.6159, allocations: 3.875 kB / 393.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.6163, allocations: 30.86 kB / 393.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.6164, allocations: 16.81 kB / 393.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.6164, allocations: 10.47 kB / 393.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002052/0.6166, allocations: 170.3 kB / 393.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6166, allocations: 0 / 393.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.617, allocations: 57.59 kB / 393.9 MB, free: 11.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001558/0.6186, allocations: 0.882 MB / 394.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.6196, allocations: 266.1 kB / 395.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6197, allocations: 384 / 395.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.6201, allocations: 95.2 kB / 395.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.6205, allocations: 39.48 kB / 395.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.6243, allocations: 2.379 MB / 397.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.6246, allocations: 0.7426 MB / 398.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.6247, allocations: 67.61 kB / 398.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6248, allocations: 0 / 398.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.416/3.04, allocations: 3.719 MB / 402.1 MB, free: 7.945 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat