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.VoltageFollower.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.VoltageFollower,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 194.8 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003522, allocations: 12 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.301, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4374, allocations: 74.41 MB / 383 MB, free: 2.148 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.4378, allocations: 79.95 kB / 383.1 MB, free: 2.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0261/0.4639, allocations: 5.131 MB / 388.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.464, allocations: 0 / 388.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.464, allocations: 4 kB / 388.2 MB, free: 12.92 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001514/0.4655, allocations: 0.5798 MB / 388.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.4656, allocations: 8.031 kB / 388.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.4657, allocations: 54.55 kB / 388.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.4658, allocations: 31.72 kB / 388.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.4663, allocations: 255.6 kB / 389.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.4663, allocations: 16.44 kB / 389.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.4664, allocations: 19.98 kB / 389.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.4673, allocations: 235.2 kB / 389.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4673, allocations: 7.938 kB / 389.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.4673, allocations: 8 kB / 389.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4674, allocations: 11.94 kB / 389.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4684, allocations: 225.6 kB / 389.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.4708, allocations: 0.8504 MB / 390.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.4726, allocations: 331.6 kB / 390.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.4726, allocations: 0 / 390.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006987/0.4733, allocations: 161.9 kB / 391 MB, free: 9.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.4734, allocations: 0 / 391 MB, free: 9.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.002785/0.4761, allocations: 495.2 kB / 391.4 MB, free: 9.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.4763, allocations: 106.8 kB / 391.6 MB, free: 9.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.4767, allocations: 229.7 kB / 391.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.4768, allocations: 33.7 kB / 391.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.477, allocations: 183.7 kB / 392 MB, free: 8.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.4771, allocations: 35.48 kB / 392 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.4771, allocations: 4 kB / 392 MB, free: 8.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4773, allocations: 334.8 kB / 392.4 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.4777, allocations: 95.8 kB / 392.4 MB, free: 8.355 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.4783, allocations: 180.8 kB / 392.6 MB, free: 8.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.4788, allocations: 125.6 kB / 392.7 MB, free: 8.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.4789, allocations: 4 kB / 392.8 MB, free: 8 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001836/0.4807, allocations: 399.8 kB / 393.1 MB, free: 7.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.4808, allocations: 33.7 kB / 393.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4809, allocations: 4 kB / 393.2 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007596/0.4816, allocations: 80.8 kB / 393.3 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.4821, allocations: 55.89 kB / 393.3 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.4854, allocations: 1.513 MB / 394.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.4861, allocations: 55.86 kB / 394.9 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.4861, allocations: 8 kB / 394.9 MB, free: 5.695 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002114/0.4863, allocations: 141.7 kB / 395 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.4864, allocations: 23.72 kB / 395 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.4865, allocations: 21.7 kB / 395.1 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4865, allocations: 8 kB / 395.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4865, allocations: 0 / 395.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4865, allocations: 0 / 395.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.4884, allocations: 0.6122 MB / 395.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4884, allocations: 0 / 395.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.4887, allocations: 31.97 kB / 395.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006229/0.4893, allocations: 76.73 kB / 395.8 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.4894, allocations: 7.953 kB / 395.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.4922, allocations: 1.497 MB / 397.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4923, allocations: 0 / 397.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.4939, allocations: 364 kB / 397.7 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.494, allocations: 112.7 kB / 397.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.4941, allocations: 4 kB / 397.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.4945, allocations: 27.97 kB / 397.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.4946, allocations: 19.97 kB / 397.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.4947, allocations: 8 kB / 397.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002997/0.495, allocations: 186 kB / 398 MB, free: 2.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.495, allocations: 4 kB / 398 MB, free: 2.316 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005099/0.4955, allocations: 59.91 kB / 398.1 MB, free: 2.258 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001949/0.4975, allocations: 0.9044 MB / 399 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.4988, allocations: 378.3 kB / 399.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4989, allocations: 8.25 kB / 399.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000595/0.4995, allocations: 206.5 kB / 399.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.4999, allocations: 36.55 kB / 399.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.5051, allocations: 3.304 MB / 402.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.5055, allocations: 0.7482 MB / 403.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.5057, allocations: 26.28 kB / 403.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.5059, allocations: 63.7 kB / 403.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of SimCode: time 3.436e-06/0.5059, allocations: 0 / 403.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.5405, allocations: 5.086 MB / 408.8 MB, free: 7.359 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/0.5409, allocations: 215.1 kB / 409 MB, free: 7.121 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/3.457, allocations: 0 / 409 MB, free: 7.121 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat