Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 107.3 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001023, allocations: 47.91 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.1001, allocations: 49.45 MB / 350.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003834/0.104, allocations: 2.726 MB / 352.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1052, allocations: 0.6778 MB / 353.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1053, allocations: 4 kB / 353.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.1055, allocations: 47.56 kB / 353.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.1057, allocations: 87.25 kB / 353.7 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.106, allocations: 95.81 kB / 353.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.1064, allocations: 354.6 kB / 354.2 MB, free: 304 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1065, allocations: 84.55 kB / 354.2 MB, free: 216 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1067, allocations: 127.6 kB / 354.4 MB, free: 88 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.1069, allocations: 147.3 kB / 354.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.107, allocations: 28 kB / 354.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.076e-05/0.107, allocations: 28 kB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.1071, allocations: 71.69 kB / 354.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1072, allocations: 143.3 kB / 354.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.1076, allocations: 319.2 kB / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1076, allocations: 0 / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1076, allocations: 0 / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1076, allocations: 0 / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001222/0.1088, allocations: 0.6417 MB / 355.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1089, allocations: 12.03 kB / 355.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.1089, allocations: 50.73 kB / 355.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.109, allocations: 32.56 kB / 355.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.1093, allocations: 267.8 kB / 356.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1093, allocations: 12.81 kB / 356.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.1094, allocations: 20.38 kB / 356.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.11, allocations: 281.9 kB / 356.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.11, allocations: 0 / 356.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.11, allocations: 11.94 kB / 356.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1101, allocations: 4 kB / 356.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.1108, allocations: 245.6 kB / 356.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.1123, allocations: 0.9063 MB / 357.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.1138, allocations: 447.3 kB / 358 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.1141, allocations: 92.78 kB / 358.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1142, allocations: 0 / 358.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005023/0.1147, allocations: 169.8 kB / 358.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1147, allocations: 0 / 358.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002116/0.1168, allocations: 0.5731 MB / 358.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.1169, allocations: 110.8 kB / 358.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.1172, allocations: 266.7 kB / 359.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1172, allocations: 33.7 kB / 359.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1174, allocations: 187.6 kB / 359.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1174, allocations: 35.55 kB / 359.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.1175, allocations: 49.61 kB / 359.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1177, allocations: 339.1 kB / 359.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.118, allocations: 95.92 kB / 359.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.1185, allocations: 197.6 kB / 360.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007314/0.1192, allocations: 301.4 kB / 360.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1192, allocations: 7.938 kB / 360.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001234/0.1205, allocations: 427.9 kB / 360.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.1205, allocations: 37.69 kB / 360.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1205, allocations: 4 kB / 360.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.1209, allocations: 60.81 kB / 360.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.1211, allocations: 51.97 kB / 361 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.1234, allocations: 1.613 MB / 362.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.1237, allocations: 55.78 kB / 362.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1238, allocations: 12 kB / 362.7 MB, free: 7.211 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.1239, allocations: 141.7 kB / 362.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.124, allocations: 27.66 kB / 362.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.124, allocations: 21.7 kB / 362.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.124, allocations: 4 kB / 362.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1241, allocations: 0 / 362.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1241, allocations: 3.984 kB / 362.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.1254, allocations: 0.6357 MB / 363.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1254, allocations: 3.984 kB / 363.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1256, allocations: 27.97 kB / 363.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.1258, allocations: 60.8 kB / 363.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1258, allocations: 0 / 363.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.1278, allocations: 1.601 MB / 365.2 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1278, allocations: 4.094 kB / 365.2 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.1289, allocations: 391.9 kB / 365.6 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.129, allocations: 104.8 kB / 365.7 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.1291, allocations: 4 kB / 365.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1294, allocations: 31.97 kB / 365.7 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.1294, allocations: 19.97 kB / 365.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1295, allocations: 4 kB / 365.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.1297, allocations: 194 kB / 365.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.1297, allocations: 0 / 365.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.13, allocations: 59.94 kB / 366 MB, free: 3.645 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001415/0.1315, allocations: 0.9275 MB / 366.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.1325, allocations: 394.4 kB / 367.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1326, allocations: 4.25 kB / 367.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.133, allocations: 210.5 kB / 367.5 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.1335, allocations: 53.02 kB / 367.5 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1573/0.2908, allocations: 2.989 MB / 370.5 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.291, allocations: 0.7428 MB / 371.3 MB, free: 23.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.2912, allocations: 25.38 kB / 371.3 MB, free: 23.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.2913, allocations: 74.56 kB / 371.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2913, allocations: 0 / 371.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.3282, allocations: 5.935 MB / 377.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.71, allocations: 5.938 kB / 377.3 MB, free: 23.48 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches