Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",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.001495/0.001495, allocations: 113.2 kB / 16.92 MB, free: 5.855 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.001638/0.001638, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.39/1.39, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 51.91 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09847, allocations: 49.46 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004701/0.1032, allocations: 2.917 MB / 353.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1047, allocations: 0.7285 MB / 353.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.105, allocations: 4 kB / 353.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.1052, allocations: 51.5 kB / 353.9 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1055, allocations: 99.17 kB / 354 MB, free: 496 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1059, allocations: 119.8 kB / 354.1 MB, free: 376 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.1064, allocations: 414.4 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.1067, allocations: 127.2 kB / 354.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.107, allocations: 167.3 kB / 354.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.1072, allocations: 167.3 kB / 355 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.857e-05/0.1073, allocations: 40 kB / 355 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.1074, allocations: 40 kB / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.1075, allocations: 75.75 kB / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.1077, allocations: 179.1 kB / 355.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.1082, allocations: 450.7 kB / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1082, allocations: 0 / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1082, allocations: 0 / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.1082, allocations: 4 kB / 355.7 MB, free: 14.73 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001462/0.1097, allocations: 0.677 MB / 356.4 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1098, allocations: 8.031 kB / 356.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.609e-05/0.1098, allocations: 58.72 kB / 356.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.1099, allocations: 36.56 kB / 356.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.1103, allocations: 303.5 kB / 356.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1103, allocations: 16.94 kB / 356.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.1104, allocations: 24.38 kB / 356.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.1111, allocations: 327.8 kB / 357.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1112, allocations: 7.875 kB / 357.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.1112, allocations: 12 kB / 357.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1112, allocations: 4 kB / 357.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008338/0.1121, allocations: 290 kB / 357.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.114, allocations: 1.15 MB / 358.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008801/0.1149, allocations: 258.5 kB / 358.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.1152, allocations: 100.8 kB / 359 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1153, allocations: 7.984 kB / 359 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00058/0.1159, allocations: 177.2 kB / 359.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.1159, allocations: 0 / 359.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002587/0.1185, allocations: 0.6667 MB / 359.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.1186, allocations: 110.8 kB / 359.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.119, allocations: 282.6 kB / 360.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.119, allocations: 29.7 kB / 360.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1192, allocations: 207.5 kB / 360.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.1192, allocations: 39.45 kB / 360.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.1193, allocations: 57.84 kB / 360.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1195, allocations: 334.8 kB / 360.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.1199, allocations: 108.1 kB / 361 MB, free: 9.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.1203, allocations: 210.4 kB / 361.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008064/0.1211, allocations: 323.4 kB / 361.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1211, allocations: 0 / 361.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00138/0.1225, allocations: 483.6 kB / 362 MB, free: 8.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.1226, allocations: 33.7 kB / 362 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1226, allocations: 4 kB / 362 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004516/0.1231, allocations: 88.86 kB / 362.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.1233, allocations: 47.91 kB / 362.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.1264, allocations: 2.064 MB / 364.2 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.1268, allocations: 59.72 kB / 364.2 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.1269, allocations: 19.88 kB / 364.3 MB, free: 5.625 MB / 302.1 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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.1271, allocations: 157.7 kB / 364.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.1271, allocations: 19.81 kB / 364.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.1272, allocations: 25.83 kB / 364.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1272, allocations: 0 / 364.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1272, allocations: 0 / 364.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1272, allocations: 0 / 364.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.1276, allocations: 333.2 kB / 364.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1276, allocations: 4 kB / 364.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1277, allocations: 23.97 kB / 364.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.128, allocations: 88.73 kB / 364.9 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1281, allocations: 4.125 kB / 364.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.1307, allocations: 1.978 MB / 366.9 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1307, allocations: 3.938 kB / 366.9 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.1318, allocations: 369.5 kB / 367.3 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.132, allocations: 104.8 kB / 367.4 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.132, allocations: 7.938 kB / 367.4 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.1323, allocations: 39.95 kB / 367.4 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.1324, allocations: 15.98 kB / 367.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1324, allocations: 0 / 367.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002466/0.1327, allocations: 206 kB / 367.6 MB, free: 2.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1327, allocations: 0 / 367.6 MB, free: 2.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005185/0.1332, allocations: 75.84 kB / 367.7 MB, free: 1.961 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/0.1348, allocations: 0.9047 MB / 368.6 MB, free: 1.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.1363, allocations: 0.5016 MB / 369.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1363, allocations: 0 / 369.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.1368, allocations: 247.2 kB / 369.3 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1372, allocations: 47.73 kB / 369.4 MB, free: 204 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1382/0.2754, allocations: 3.592 MB / 373 MB, free: 23.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.2756, allocations: 0.7559 MB / 373.7 MB, free: 23.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.2757, allocations: 26.05 kB / 373.8 MB, free: 23.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2758, allocations: 84.64 kB / 373.8 MB, free: 23.23 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2758, allocations: 0 / 373.8 MB, free: 23.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.3031, allocations: 6.71 MB / 380.6 MB, free: 22.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.74, allocations: 2.219 kB / 380.6 MB, free: 22.12 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_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_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches