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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 55.92 kB / 365.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09891/0.1004, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004183/0.1045, allocations: 2.744 MB / 420.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1059, allocations: 0.6778 MB / 421.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.106, allocations: 7.938 kB / 421.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1062, allocations: 43.58 kB / 421.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.1064, allocations: 91.25 kB / 421.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1067, allocations: 99.8 kB / 421.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.1072, allocations: 346.6 kB / 421.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.1074, allocations: 61.41 kB / 421.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1076, allocations: 131.5 kB / 422 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1078, allocations: 151.3 kB / 422.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.1079, allocations: 35.98 kB / 422.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.855e-05/0.1079, allocations: 28 kB / 422.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.108, allocations: 59.77 kB / 422.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1082, allocations: 143.3 kB / 422.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.1085, allocations: 318.7 kB / 422.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1085, allocations: 0 / 422.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1086, allocations: 0 / 422.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1086, allocations: 0 / 422.7 MB, free: 7.637 MB / 350.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.001329/0.1099, allocations: 0.6532 MB / 423.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1099, allocations: 8.031 kB / 423.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.021e-05/0.11, allocations: 54.73 kB / 423.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.1101, allocations: 40.73 kB / 423.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.1105, allocations: 271.7 kB / 423.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1105, allocations: 16.81 kB / 423.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.1106, allocations: 16.38 kB / 423.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/0.1112, allocations: 281.9 kB / 424.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1113, allocations: 15.84 kB / 424.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.1113, allocations: 12 kB / 424.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1113, allocations: 4 kB / 424.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008295/0.1121, allocations: 241.6 kB / 424.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1137, allocations: 0.8987 MB / 425.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.1153, allocations: 439.4 kB / 425.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.1156, allocations: 88.78 kB / 425.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1157, allocations: 3.938 kB / 425.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.1161, allocations: 169.8 kB / 425.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1161, allocations: 0 / 425.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002121/0.1183, allocations: 0.5694 MB / 426.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/0.1183, allocations: 114.8 kB / 426.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.1186, allocations: 266.7 kB / 426.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1187, allocations: 33.7 kB / 426.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1188, allocations: 192 kB / 427.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1189, allocations: 31.73 kB / 427.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-05/0.119, allocations: 49.66 kB / 427.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1191, allocations: 330.8 kB / 427.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.1195, allocations: 99.91 kB / 427.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.1199, allocations: 206.2 kB / 427.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.1207, allocations: 293.5 kB / 428.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1207, allocations: 4 kB / 428.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001227/0.1219, allocations: 427.9 kB / 428.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.1219, allocations: 37.77 kB / 428.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.1219, allocations: 4 kB / 428.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.1223, allocations: 60.81 kB / 428.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1225, allocations: 55.83 kB / 428.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.1249, allocations: 1.613 MB / 430.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.1252, allocations: 51.81 kB / 430.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1252, allocations: 11.98 kB / 430.3 MB, free: 15.47 MB / 366.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.0001675/0.1254, allocations: 157.8 kB / 430.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.1254, allocations: 23.8 kB / 430.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1255, allocations: 25.7 kB / 430.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1255, allocations: 0 / 430.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1255, allocations: 0 / 430.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1255, allocations: 4 kB / 430.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.127, allocations: 0.6396 MB / 431.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.127, allocations: 4 kB / 431.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.1271, allocations: 31.91 kB / 431.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.1273, allocations: 56.81 kB / 431.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1273, allocations: 4 kB / 431.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.1294, allocations: 1.586 MB / 432.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1294, allocations: 0 / 432.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1305, allocations: 400 kB / 433.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.1306, allocations: 92.97 kB / 433.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1307, allocations: 8 kB / 433.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.1309, allocations: 31.95 kB / 433.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.131, allocations: 11.98 kB / 433.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.1311, allocations: 8 kB / 433.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.1313, allocations: 194 kB / 433.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1313, allocations: 4 kB / 433.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00036/0.1317, allocations: 59.89 kB / 433.6 MB, free: 11.9 MB / 366.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.001482/0.1332, allocations: 0.9356 MB / 434.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009879/0.1341, allocations: 385.8 kB / 434.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1341, allocations: 0 / 434.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.1346, allocations: 215.2 kB / 435.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.135, allocations: 44.52 kB / 435.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.1405, allocations: 2.996 MB / 438.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.1409, allocations: 0.7401 MB / 438.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.1411, allocations: 26.28 kB / 439 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1412, allocations: 75.7 kB / 439 MB, free: 6.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1412, allocations: 0 / 439 MB, free: 6.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.1761, allocations: 6.077 MB / 445.1 MB, free: 348 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.94, allocations: 7.984 kB / 445.1 MB, free: 340 kB / 366.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.69273876491934]