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.NonInvertingAmp.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.NonInvertingAmp,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004188, allocations: 16 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.08963, allocations: 44.5 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3853/0.475, allocations: 74.41 MB / 383 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.4753, allocations: 83.84 kB / 383 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02345/0.4988, allocations: 5.154 MB / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4989, allocations: 0 / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.4989, allocations: 3.875 kB / 388.2 MB, free: 14.25 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001301/0.5002, allocations: 0.5871 MB / 388.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.5003, allocations: 11.69 kB / 388.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.177e-05/0.5003, allocations: 48.39 kB / 388.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.5004, allocations: 26.44 kB / 388.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.5008, allocations: 259.8 kB / 389.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.5008, allocations: 18.28 kB / 389.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.5009, allocations: 18.69 kB / 389.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.5017, allocations: 238.7 kB / 389.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.5017, allocations: 0 / 389.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.5018, allocations: 9.75 kB / 389.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5018, allocations: 7.719 kB / 389.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009651/0.5028, allocations: 226.8 kB / 389.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.5049, allocations: 0.8916 MB / 390.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/0.5059, allocations: 223.5 kB / 390.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.506, allocations: 3.672 kB / 390.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006052/0.5066, allocations: 164.2 kB / 390.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.235e-06/0.5066, allocations: 224 / 390.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.002915/0.5095, allocations: 0.5546 MB / 391.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5096, allocations: 110.8 kB / 391.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.51, allocations: 227.7 kB / 391.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.51, allocations: 29.52 kB / 391.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.5101, allocations: 230.8 kB / 392 MB, free: 12.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.5102, allocations: 40.72 kB / 392.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.5102, allocations: 7.375 kB / 392.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.5103, allocations: 325.9 kB / 392.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.5108, allocations: 94.05 kB / 392.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.5112, allocations: 167.7 kB / 392.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.5117, allocations: 129 kB / 392.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5117, allocations: 0 / 392.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001581/0.5133, allocations: 398.5 kB / 393.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.5134, allocations: 40.72 kB / 393.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5134, allocations: 7.062 kB / 393.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000755/0.5142, allocations: 92.28 kB / 393.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.5146, allocations: 48.52 kB / 393.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.5177, allocations: 1.777 MB / 395.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/0.5183, allocations: 50.8 kB / 395.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.5184, allocations: 13.23 kB / 395.2 MB, free: 10.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.5186, allocations: 135.7 kB / 395.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.5186, allocations: 23.22 kB / 395.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.5187, allocations: 25.5 kB / 395.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5187, allocations: 4 kB / 395.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5187, allocations: 0 / 395.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.5187, allocations: 2.859 kB / 395.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.5191, allocations: 296.6 kB / 395.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5191, allocations: 0 / 395.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.5193, allocations: 27.14 kB / 395.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006726/0.52, allocations: 98.38 kB / 395.8 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.5201, allocations: 11.56 kB / 395.8 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/0.523, allocations: 1.749 MB / 397.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5231, allocations: 8 kB / 397.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.5245, allocations: 335.6 kB / 397.9 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5247, allocations: 102.8 kB / 398 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.5247, allocations: 11.77 kB / 398 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.5251, allocations: 28.38 kB / 398 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.5253, allocations: 30.42 kB / 398.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.5253, allocations: 0 / 398.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002389/0.5256, allocations: 183.2 kB / 398.2 MB, free: 8.148 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5256, allocations: 0 / 398.2 MB, free: 8.148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005653/0.5261, allocations: 68.03 kB / 398.3 MB, free: 8.145 MB / 314.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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001708/0.5279, allocations: 0.8716 MB / 399.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.5292, allocations: 407.3 kB / 399.6 MB, free: 7.324 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5292, allocations: 0 / 399.6 MB, free: 7.324 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.5298, allocations: 227.8 kB / 399.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.5303, allocations: 36.97 kB / 399.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.5366, allocations: 2.965 MB / 402.8 MB, free: 5.324 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.537, allocations: 0.7515 MB / 403.6 MB, free: 20.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.5372, allocations: 74.47 kB / 403.6 MB, free: 20.61 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5372, allocations: 4 kB / 403.6 MB, free: 20.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.589/3.127, allocations: 4.889 MB / 408.5 MB, free: 19.93 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat