Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.213/2.213, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004911, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3206, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.4951, allocations: 74.54 MB / 383.1 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004258/0.4956, allocations: 79.95 kB / 383.2 MB, free: 1.934 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03652/0.5322, allocations: 4.963 MB / 388.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.476e-06/0.5322, allocations: 0 / 388.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.68e-05/0.5323, allocations: 7.938 kB / 388.2 MB, free: 12.95 MB / 330.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.00216/0.5345, allocations: 0.568 MB / 388.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/0.5346, allocations: 12.03 kB / 388.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.5348, allocations: 50.55 kB / 388.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.5349, allocations: 27.72 kB / 388.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.5356, allocations: 254.5 kB / 389.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.5357, allocations: 12.38 kB / 389.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.5358, allocations: 20 kB / 389.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.5371, allocations: 220.3 kB / 389.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5372, allocations: 0 / 389.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.5373, allocations: 8 kB / 389.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.5373, allocations: 4 kB / 389.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.5389, allocations: 227.5 kB / 389.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/0.5432, allocations: 0.8395 MB / 390.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.5444, allocations: 210.6 kB / 390.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.5445, allocations: 7.953 kB / 390.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006621/0.5452, allocations: 165.1 kB / 390.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.5452, allocations: 0 / 390.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.001527/0.5467, allocations: 285.6 kB / 391 MB, free: 9.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.5468, allocations: 85.11 kB / 391.1 MB, free: 9.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.5472, allocations: 206.6 kB / 391.3 MB, free: 9.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.5473, allocations: 29.7 kB / 391.4 MB, free: 9.508 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.5474, allocations: 164 kB / 391.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.5475, allocations: 47.38 kB / 391.6 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.5476, allocations: 4 kB / 391.6 MB, free: 9.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5477, allocations: 326.8 kB / 391.9 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.5482, allocations: 96.25 kB / 392 MB, free: 8.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.5488, allocations: 143.5 kB / 392.1 MB, free: 8.699 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.5493, allocations: 117.7 kB / 392.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5493, allocations: 0 / 392.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001242/0.5506, allocations: 310.5 kB / 392.5 MB, free: 8.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.5506, allocations: 39.69 kB / 392.6 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5507, allocations: 0 / 392.6 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.5507, allocations: 4 kB / 392.6 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.5511, allocations: 60.02 kB / 392.6 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.5512, allocations: 7.938 kB / 392.7 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.5516, allocations: 39.81 kB / 392.7 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.5517, allocations: 8 kB / 392.7 MB, free: 8.105 MB / 330.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.0002184/0.5519, allocations: 137.8 kB / 392.8 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.552, allocations: 23.72 kB / 392.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.962e-05/0.5521, allocations: 29.34 kB / 392.9 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.5521, allocations: 4 kB / 392.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5521, allocations: 0 / 392.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5521, allocations: 0 / 392.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.5525, allocations: 273.5 kB / 393.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5525, allocations: 0 / 393.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.5529, allocations: 47.91 kB / 393.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.5529, allocations: 0 / 393.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.553, allocations: 7.984 kB / 393.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.553, allocations: 3.953 kB / 393.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.553, allocations: 0 / 393.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.5545, allocations: 344.7 kB / 393.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.5547, allocations: 92.94 kB / 393.6 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.5547, allocations: 4 kB / 393.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.5551, allocations: 27.97 kB / 393.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5552, allocations: 27.98 kB / 393.7 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.5553, allocations: 7.938 kB / 393.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000265/0.5555, allocations: 172.4 kB / 393.9 MB, free: 6.824 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5555, allocations: 0 / 393.9 MB, free: 6.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003997/0.556, allocations: 55.84 kB / 393.9 MB, free: 6.77 MB / 330.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.001862/0.5578, allocations: 0.8738 MB / 394.8 MB, free: 5.867 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.559, allocations: 259.5 kB / 395.1 MB, free: 5.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.559, allocations: 8 kB / 395.1 MB, free: 5.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00048/0.5595, allocations: 95.86 kB / 395.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.5599, allocations: 40.61 kB / 395.2 MB, free: 5.457 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.5644, allocations: 2.345 MB / 397.5 MB, free: 3.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.5649, allocations: 0.7404 MB / 398.3 MB, free: 2.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.5651, allocations: 25.94 kB / 398.3 MB, free: 2.242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.5653, allocations: 67.41 kB / 398.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5653, allocations: 0 / 398.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.5977, allocations: 4.233 MB / 402.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003488/0.5981, allocations: 189.3 kB / 402.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.275, allocations: 4 kB / 402.8 MB, free: 13.74 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat